Revert "Optimize SourceLocation::Capture"
This reverts commit b818b458. Reason for revert: My measurement was wrong. The call to v8::Isolate isn't nearly as slow as previously though. Reverting the optimization as it just adds unnecessary complexity. Original change's description: > Optimize SourceLocation::Capture > > Determining the v8::Isolate can take ~25% of the time > required to capture the top of the stack. This CL gets the Isolate > from the ExecutionContext when it's available to speed things up. > > Bug: 851531 > Change-Id: Ia823fbb0643c62f1a4da3cc289b23ca6fb43da2b > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2122568 > Commit-Queue: Josh Karlin <jkarlin@chromium.org> > Reviewed-by: Nate Chapin <japhet@chromium.org> > Cr-Commit-Position: refs/heads/master@{#754054} TBR=japhet@chromium.org,jkarlin@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 851531 Change-Id: I36e9be81b06598ed29484df2997c22cbd4dc170f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2128090Reviewed-by:Josh Karlin <jkarlin@chromium.org> Commit-Queue: Josh Karlin <jkarlin@chromium.org> Cr-Commit-Position: refs/heads/master@{#754678}
Showing
Please register or sign in to comment