diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-02-08 19:56:08 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-02-18 17:37:33 +0800 |
commit | 2ae45d3b17f9c51fccffc4041e195e04b4b18c15 (patch) | |
tree | a2ce198ab594bc50ba510dcd3be8037ab0dc6eb3 /src/node_perf.cc | |
parent | 584dc4893c8c5be0a3c39c0179809e60b774cb95 (diff) | |
download | android-node-v8-2ae45d3b17f9c51fccffc4041e195e04b4b18c15.tar.gz android-node-v8-2ae45d3b17f9c51fccffc4041e195e04b4b18c15.tar.bz2 android-node-v8-2ae45d3b17f9c51fccffc4041e195e04b4b18c15.zip |
process: start coverage collection before bootstrap
This patch moves the dispatch of `Profiler.takePreciseCoverage`
to a point before the bootstrap scripts are run to ensure that
we can collect coverage data for all the scripts run after
the inspector agent is ready.
Before this patch `lib/internal/bootstrap/primordials.js` was not
covered by `make coverage`, after this patch it is.
PR-URL: https://github.com/nodejs/node/pull/26006
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_perf.cc')
0 files changed, 0 insertions, 0 deletions