Tweak benchmark output

This commit is contained in:
David Vierra 2015-06-30 19:34:27 -10:00
parent 2509b7e15e
commit d85a6f9e03
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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: