Open springmeyer opened 6 years ago
For the ability to profile our code with perf (and to generate the most readable flamegraphs) it is important to:
perf
-fno-omit-frame-pointer
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
For the ability to profile our code with
perf
(and to generate the most readable flamegraphs) it is important to:-fno-omit-frame-pointer
(unless the compiler already defaults to using this flag?)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