Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions scripts/performance/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ class TimingHandler(logging.Handler):
transformations. It collects these records, extracts the timing
information and adds it to the test data recorder.
Attributes:
_testRecord (OrderedDict): Current test's timing data collection
enabled (bool): Flag to enable/disable timing collection
Example timing data structure:
{
'ConstructionTimer': {
'build_variables': 0.123,
'build_constraints': [0.456, 0.789] # Multiple entries for repeated operations
}
}
"""

def __init__(self):
Expand Down