Skip to content

Conversation

@bashbaug
Copy link
Contributor

@bashbaug bashbaug commented Nov 7, 2025

Description of Changes

Adds the ability to collect HostPerformanceTiming, DevicePerformanceTiming, and ChromePerformanceTiming conditionally, only when an environment variable is set. This enables developers to profile specific sections of an application and ignore other sections of code that are less important.

Testing Done

Tested with llama.cpp, slightly modified to only collect results for a certain section of the application. Verified that performance timing was collected for the region of interest and was ignored for other regions.

@bashbaug bashbaug merged commit 128272a into intel:main Nov 14, 2025
8 checks passed
@bashbaug bashbaug deleted the conditional-timing branch November 14, 2025 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant