-
-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: profile concurrent transactions (#2105)
* ref: move test cases from SentryHubTests.swift dealing with profiling into new //Tests/SentryTests/Profiling/SentryProfilerTests.swift; remove redundant tests for profiling in tracer tests * clamp relative start/end transaction times to profile; add more logging * stop profiler after a 30s timeout * refactor profiling code to extract from SentryTracer to SentryProfiler and move as much state into ivars as possible * moved the call to stop the profiler to after another early return in - [SentryTracer finishInternal:] * moved the call to capture the profiling envelope there until after the early return that drops transactions due to pre-warm durations
- Loading branch information
1 parent
4a66f00
commit e43ce74
Showing
14 changed files
with
724 additions
and
428 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
Oops, something went wrong.