-
-
Notifications
You must be signed in to change notification settings - Fork 513
Experimental support for multi-threaded profiling using Vernier #2372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2372 +/- ##
==========================================
- Coverage 98.68% 98.66% -0.03%
==========================================
Files 211 218 +7
Lines 13987 14337 +350
==========================================
+ Hits 13803 14145 +342
- Misses 184 192 +8
|
3d995d8
to
b45c7f3
Compare
5220e97
to
bd687cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
amazing work @solnic
did a first pass, some questions and comments
will do a detailed test round later in the week
579dfef
to
babc6ed
Compare
@sl0thentr0py @st0012 thanks for the comments! There are a couple of things that need be fixed. I'll ping you once it's done next week. |
6cc823c
to
3a9367b
Compare
4d2785b
to
dd7fdf9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left another comment wrt the defined?
check. But otherwise looks good to me 👍
b22bd63
to
97e21ac
Compare
we need to generalize this logic to have different limits according to different envelope |
Seems like StackProf.results is leaking between specs when it's stubbed via `allow`, so we gotta restub it in the profiler spec too.
- Introduce `Sentry::Vernier::Profiler` - Introduce `Sentry.config.profiler` that can be set to a class that should be used for profiling. By default it's set to `Sentry::Profiler`
282c3c2
to
0e1fde8
Compare
@sl0thentr0py alright this is now using the increased envelope profile item limit |
omg the profiles look perfect <3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
incredible work!!! so happy to ship this
@sl0thentr0py yessssss! Thanks for the reviews and testing! Let's 🚢 it 😄 |
Experimental support for Vernier.
Screenshots