cloud-profiler-nodejs
cloud-profiler-nodejs copied to clipboard
This lib seems to block event loop
Environment details
- OS: alpine linux
- Node.js version: 14
-
@google-cloud/profiler
version: 4.0.2
Steps to reproduce
- start an app with blocked-at and @google-cloud profiler wired up
- watch logs and you'll see frequent blocking operations logged between 2-8 seconds example:
Blocked for 7586.2085ms, operation started here: [
' at Profiler.collectProfile (/src/backend/node_modules/@google-cloud/profiler/src/profiler.ts:393:25)',
' at Profiler.runLoop (/src/backend/node_modules/@google-cloud/profiler/src/profiler.ts:379:36)',
' at listOnTimeout (internal/timers.js:551:17)',
' at processTimers (internal/timers.js:494:7)'
]