forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1915169 - Record WebIDL calls when tracing r=profiler-reviewers,aabh
Fairly straightforward - this patch adds instrumentation into the profiling RAII helper which is inserted into all WebIDL calls in order to include them when running with JS Execution Tracing enabled. Locally times on the attribute.specified getter microbenchmark were at ~5.6ns without this patch and ~5.9 with the patch. Assuming that is real, is that an acceptable perf hit here? The feature seems to be quite useful. Differential Revision: https://phabricator.services.mozilla.com/D221690
- Loading branch information
1 parent
68a589c
commit 2d8e7a5
Showing
3 changed files
with
39 additions
and
0 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
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