From 7c4e55ed2c6c6027eff3173e0014dc8ea4692554 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 9 Mar 2022 11:08:49 -0500 Subject: [PATCH] Add comment on how to enable `pyqtgraph` profiling --- piker/_profile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/piker/_profile.py b/piker/_profile.py index 06abc09a..ca1fc188 100644 --- a/piker/_profile.py +++ b/piker/_profile.py @@ -21,7 +21,9 @@ Profiling wrappers for internal libs. import time from functools import wraps -_pg_profile: bool = True +# NOTE: you can pass a flag to enable this: +# ``piker chart --profile``. +_pg_profile: bool = False def pg_profile_enabled() -> bool: