From 85be6641077b5defa3dbd55ab53c495b4a279261 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Sat, 1 Jul 2023 13:52:59 -0500 Subject: [PATCH] remove pyinstrument --- learn_sql_model/game/game.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/learn_sql_model/game/game.py b/learn_sql_model/game/game.py index 3d822cb..579c6da 100644 --- a/learn_sql_model/game/game.py +++ b/learn_sql_model/game/game.py @@ -62,10 +62,10 @@ class Client: return self._ws def run(self): - from pyinstrument import Profiler + # from pyinstrument import Profiler - profiler = Profiler() - profiler.start() + # profiler = Profiler() + # profiler.start() while self.running: console.print("running") console.print("handle_events") @@ -80,8 +80,8 @@ class Client: Console().print(self.clock.get_fps()) console.print(f"time: {time}") console.print(f"ticks: {self.ticks}") - profiler.stop() - print(profiler.output_text()) + # profiler.stop() + # print(profiler.output_text()) self.quit() def quit(self):