Tweak benchmark output
This commit is contained in:
parent
2509b7e15e
commit
d85a6f9e03
@ -55,7 +55,7 @@ def manmade_relight():
|
||||
count += 1
|
||||
t = time.time() - start
|
||||
|
||||
print "Relight manmade building: %d chunk-sections in %.02f seconds (%f sections per second; %dms per section)" % (count, t, count / t, 1000 * t / count)
|
||||
print "Relight manmade building: %d (out of %d) chunk-sections in %.02f seconds (%f sections per second; %dms per section)" % (count, len(positions), t, count / t, 1000 * t / count)
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) > 1:
|
||||
|
@ -40,7 +40,7 @@ def natural_relight():
|
||||
count += 1
|
||||
t = time.time() - start
|
||||
|
||||
print "Relight natural terrain: %d chunk-sections in %.02f seconds (%f sections per second; %dms per section)" % (count, t, count / t, 1000 * t / count)
|
||||
print "Relight natural terrain: %d/%d chunk-sections in %.02f seconds (%f sections per second; %dms per section)" % (count, len(positions), t, count / t, 1000 * t / count)
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) > 1:
|
||||
|
Reference in New Issue
Block a user