From dc75859d95e3da7ca5147df94cd4d5bfc9419657 Mon Sep 17 00:00:00 2001 From: Roz K Date: Fri, 30 Dec 2022 12:38:27 +0100 Subject: [PATCH] Update timings. --- game/game.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/game/game.py b/game/game.py index 86dc2af..b79ae50 100644 --- a/game/game.py +++ b/game/game.py @@ -266,14 +266,16 @@ def main(): ", avg =", round((frame_avg / perf_count) * 1000.0, 2), "ms") # seed 666 + # for _ in range(10000): + # current_time = 0 # time.monotonic() - start_time - # Draw * 9999 : min = 0.2 , max = 1.32 , avg = 0.27 ms - # Draw * 9999 : min = 0.2 , max = 1.34 , avg = 0.27 ms - # Draw * 9999 : min = 0.2 , max = 1.42 , avg = 0.27 ms + # Draw * 9999 : min = 0.16 , max = 1.86 , avg = 0.23 ms + # Draw * 9999 : min = 0.16 , max = 2.07 , avg = 0.23 ms + # Draw * 9999 : min = 0.15 , max = 2.12 , avg = 0.23 ms - # Frame * 9999 : min = 0.26 , max = 1.39 , avg = 0.37 ms - # Frame * 9999 : min = 0.26 , max = 1.45 , avg = 0.36 ms - # Frame * 9999 : min = 0.26 , max = 1.56 , avg = 0.36 ms + # Frame * 9999 : min = 0.23 , max = 2.05 , avg = 0.37 ms + # Frame * 9999 : min = 0.23 , max = 2.20 , avg = 0.36 ms + # Frame * 9999 : min = 0.22 , max = 2.33 , avg = 0.36 ms print("Quitting...") del tests_batch