Skip to content

Added time comparison for ASD ON vs OFF#2

Merged
jenatali merged 3 commits intojenatali:masterfrom
alecardoso-tech:master
Mar 18, 2026
Merged

Added time comparison for ASD ON vs OFF#2
jenatali merged 3 commits intojenatali:masterfrom
alecardoso-tech:master

Conversation

@alecardoso-tech
Copy link
Copy Markdown
Collaborator

When running D3D12CacheListener for both ASD OFF and ON sessions, it will automatically gather the time it takes to create all PSOs, State Objects and State Object additions and automatically compare the times based on the application name.

Here's an output example when running Deep Rock Galactic. This is not an actual working example of ASD ON.

Listening for D3D12 ETW events. Press Ctrl+C to exit.
ASDInit event seen for PID 20292, HasDefaultPsdb: false, Step: ReadApplicationRegistration
ASDInit event seen for PID 20292, HasDefaultPsdb: false, Step: ReadApplicationRegistration
PID 20292 [PSOs]: Total events: 2036, Hits: 0, Hit rate: 0.00%, Total time: 3043.42 ms
PID 20292 [PSOs]: Total events: 2040, Hits: 0, Hit rate: 0.00%, Total time: 3323.57 ms
PID 20292 [PSOs]: Total events: 2041, Hits: 0, Hit rate: 0.00%, Total time: 3509.19 ms

=== PID 20292 (FSD-WinGDK-Shipping.exe, ASD OFF) exited ===
  [PSOs] Total time: 3567.86 ms
  [state objects] Total time: 5.59 ms
  [state object additions] Total time: 0.00 ms

ASDInit event seen for PID 6788, HasDefaultPsdb: true, Step: Success
PID 6788 [PSOs]: Total events: 2036, Hits: 0, Hit rate: 0.00%, Total time: 3067.79 ms

=== PID 6788 (FSD-WinGDK-Shipping.exe, ASD ON) exited ===
  [PSOs] Total time: 3083.35 ms
  [state objects] Total time: 3.66 ms
  [state object additions] Total time: 0.00 ms

--- Comparison for FSD-WinGDK-Shipping.exe (ASD ON vs ASD OFF) ---
  [PSOs] ASD ON: 3083.35 ms, ASD OFF: 3567.86 ms, faster by 13.58%
  [state objects] ASD ON: 3.66 ms, ASD OFF: 5.59 ms, faster by 34.46%
  [state object additions] ASD OFF time is 0, cannot compare

@jenatali jenatali merged commit dbe09c8 into jenatali:master Mar 18, 2026
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.

2 participants