Repository navigation
diagnostics_channel: add threadpool work event - #65982
Conversation
|
Review requested:
|
b6fb403 to
946f372
Compare
|
@mcollina You mean separate channels named |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #65982 +/- ##
==========================================
+ Coverage 90.66% 90.68% +0.02%
==========================================
Files 799 799
Lines 280252 280319 +67
Branches 54121 54136 +15
==========================================
+ Hits 254088 254215 +127
+ Misses 16285 16218 -67
- Partials 9879 9886 +7
🚀 New features to boost your workflow:
|
|
yes |
3e589e0 to
ff193a0
Compare
|
I think you are missing the documentation |
|
I added some doc to https://github.com/nodejs/node/pull/65982/changes#diff-d9c2d2d884d1dea00c82e7f00176441f9524573b6429fd83bf3835cd09a5b029R2029 could you point me to the missing doc? |
|
@mcollina could you please have a look? |
ff193a0 to
a1c60b9
Compare
a1c60b9 to
8b8372f
Compare
|
@mcollina could you please check? |
Signed-off-by: ishabi <ilyasshabi94@gmail.com>
8b8372f to
0e550b7
Compare
|
Landed in 6a536f9 |
Signed-off-by: ishabi <ilyasshabi94@gmail.com> PR-URL: #65982 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Bryan English <bryan@bryanenglish.com>
|
@aduh95 Is it possible to backport this to v26? |
This PR aims to add support for experimental
threadpool.work.<type>diagnostics channel.type: kind of threadpool workThe event exposes:
enqueued: submission timestampstarted: execution start timestampended: execution end timestampThese timestamps allow diagnostics tools to distinguish queue time from native execution time. Cancelled work reports
startedandendedasnull.The channel and subscriber state are cached per
Environmentso the unsubscribed path remains minimal.Benchmark
Unsubscribed configurations showed no significant regressions. Most subscribed configurations were also within noise;
zlibatn=10000measured a 3.48% regression on local machine (will share the onces from CI)