Add comment on how to enable `pyqtgraph` profiling

m4_corrections
Tyler Goodlet 2022-03-09 11:08:49 -05:00
parent 93d2c715e7
commit 78c8a843e4
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: