diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-29 19:45:33 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-05-02 19:48:45 +0800 |
commit | 58ba9527dc5fd3343f719b11a4cef73d23215253 (patch) | |
tree | ad489539e25dcf91586346f1b81deb3b7db7dba5 /.gitignore | |
parent | 30cceaeccbe6a8c6a58a44ea760188f96951c13e (diff) | |
download | android-node-v8-58ba9527dc5fd3343f719b11a4cef73d23215253.tar.gz android-node-v8-58ba9527dc5fd3343f719b11a4cef73d23215253.tar.bz2 android-node-v8-58ba9527dc5fd3343f719b11a4cef73d23215253.zip |
src: refactor V8ProfilerConnection to be more reusable
Now the subclasses only need to override methods to
- Get the profile node from the profiler response message object
- Return the directory and file path
And the V8ProfilerConnection() would handle the rest of profile
serialization and message parsing. This makes it easier to
add other types of profiles in the future.
PR-URL: https://github.com/nodejs/node/pull/27475
Refs: https://github.com/nodejs/node/issues/27421
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions