| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
| class JSONOutputStream : public v8::OutputStream { | |
| class JSONOutputStream final : public v8::OutputStream { |
Sorry, something went wrong.
There was a problem hiding this comment.
Btw – we may want to use HeapSnapshotStream here? I know it requires a bit more setup, but it integrates nicely with existing stream primitives in Node.js
Sorry, something went wrong.
There was a problem hiding this comment.
I think these are two issues in HeapSnapshotStream:
const worker = require('worker_threads');
const w = new worker.Worker("setInterval(() => {}, 100)", { eval: true})
w.on('online', async () => {
const stream = await w.getHeapSnapshot()
stream.on('data', () => {});
// Crash
w.terminate();
});
Sorry, something went wrong.
There was a problem hiding this comment.
Advocating for using CpuProfiler::Start and thus eliminating the need for users to invent names for the profiler sessions in order to use the API.
Sorry, something went wrong.
Codecov Report❌ Patch coverage is 86.15385% with 9 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #59429 +/- ##
==========================================
+ Coverage 89.93% 89.95% +0.01%
==========================================
Files 667 667
Lines 196775 196841 +66
Branches 38409 38422 +13
==========================================
+ Hits 176977 177069 +92
+ Misses 12247 12200 -47
- Partials 7551 7572 +21
... and 51 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add CPU profile APIs.