mapbox / node-cpp-skel

Skeleton for bindings to C++ libraries for Node.js using node-addon-api
Creative Commons Zero v1.0 Universal
72 stars 10 forks source link

Make default release mode build a "profiling" build #117

Open springmeyer opened 6 years ago

springmeyer commented 6 years ago

For the ability to profile our code with perf (and to generate the most readable flamegraphs) it is important to:

Doing this would move node-cpp-skel to doing a "profiling" build by default: https://github.com/mapbox/cpp/blob/master/glossary.md#profiling-build.

We can accomplish this by applying something like https://github.com/mapnik/node-mapnik/pull/804 to node-cpp-skel.

refs https://twitter.com/brendangregg/status/472869470675795968