Add comment on how to enable `pyqtgraph` profiling

big_data_lines
Tyler Goodlet 2022-03-09 11:08:49 -05:00
parent 7811508307
commit 7c4e55ed2c
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: