Add comment on how to enable `pyqtgraph` profiling

mkts_backup
Tyler Goodlet 2022-03-09 11:08:49 -05:00
parent d7d824030d
commit 75d7314493
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ Profiling wrappers for internal libs.
import time import time
from functools import wraps from functools import wraps
_pg_profile: bool = True # NOTE: you can pass a flag to enable this:
# ``piker chart <args> --profile``.
_pg_profile: bool = False
def pg_profile_enabled() -> bool: def pg_profile_enabled() -> bool: