Questions tagged [v8-profiler]
5 questions
8
votes
2 answers
How to trigger profiling in NodeJS at runtime?
We have a very stateful NodeJS based web server (Meteor) that occasionally, randomly becomes slow in production. The problem is not reproducible in any of our tests, and we don't know what's triggering it.
To diagnose this, we are using the…

Thomas
- 174,939
- 50
- 355
- 478
3
votes
0 answers
Can I profile a running method through v8-profiler
I'm using v8-profiler to investigate a CPU 100% issue on my production site. In order to figure out which API causes my CPU issue I started the profiler when the application detect CPU > 90%. But unfortunately when I opened the profile file I cannot…

Shaun Xu
- 4,476
- 2
- 27
- 41
2
votes
0 answers
Profile NestJS functions on local/dev environment
I have a NestJS project with a bunch of functions that get called from the UI developed in Angular 11. I am trying to run the profiler on my local and dev environment but I can't figure out how to do that - V8 profiler/flame graphs. Any insight…

saz
- 291
- 4
- 16
1
vote
0 answers
Capture heap snapshot (Chrome dev tools) while running Protractor tests
I want to create an automated Protractor test that creates a heap snapshot after opening the application in Chrome and after performing a series of actions via protractor.
Then to upload in Chrome dev tools in the memory tab both snapshots and…

DDana
- 117
- 8
1
vote
1 answer
Why would a function called from another not show in the profile output of a node app?
I have a NodeJS program. This is a trimmed down version of a much larger program with a lot of complexity that's irrelevant to this question removed. It goes through lists looking for matching objects:
/**
* Checks that the given attributes are…

Richard Wheeldon
- 973
- 10
- 25