google / google/pprof-nodejs

How to test the sourcemapper?

Open
#295 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
291
Forks
37
PR merge metrics
No merged PRs in 30d

Description

I'm using this to send CPU profiles for a transcoded Typescript code file which has inline sourcemaps in the generated JS. The resulting profiles do not have the right line numbers.

How do I test the sourcemapper? For example, I have an input JS file, and I'd like to see the result after sourcemap parsing completes. Is there a unit test, or CLI approach, to do so?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.