-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: Specialize
fgFindJumpTargets
(#103761)
This specializes `fgFindJumpTargets` based on whether we are making inline observations or not. This function has a lot of conditional logic based on this property, but it is always going to be false in MinOpts, so this allows the native compiler to optimize the function much better (and avoids all the conditionals). Using the VS profiler shows that the relative CPU time spent in the function goes from 0.98% to 0.47% for the MinOpts contexts in benchmarks.run_pgo.windows.x64.
- Loading branch information
1 parent
032b317
commit b0f3c19
Showing
2 changed files
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters