Add comment on how to enable `pyqtgraph` profiling

marketstore_backup
Tyler Goodlet 2022-03-09 11:08:49 -05:00
parent 0b9d5cb018
commit 1ba9569ca8
1 changed files with 3 additions and 1 deletions

View File

@ -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 <args> --profile``.
_pg_profile: bool = False
def pg_profile_enabled() -> bool: