Fitbit / developer-bridge

TypeScript implementations of the Fitbit Developer Bridge
https://dev.fitbit.com
20 stars 17 forks source link

TEST, DO NOT MERGE: memory-profiler: Convert to V8 Heap Dump #195

Closed Hexxeh closed 2 years ago

Hexxeh commented 2 years ago

This replaces the old output format in favor of a V8 Heap Snapshot which is usable in Chrome Dev Tools.

This will hopefully be useful in debugging heap usage even though it is not quite as full of metadata compared to the heap snapshots taken from a normal V8 app.

This also adds the ability to export the heap snapshot to GEXF for use in graphing tools like Gephi.

Also included is the ability to launch a REPL to manually explore the heap graph.

Signed-off-by: Ben Keith keitwb@gmail.com

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 94.314% when pulling d3e921790618e18cf62dfda9a22ca09eaae15649 on lmcloughlin/profiler-v8 into a4ee9795e57bdc8161b5272ce07abf68815fc0b6 on master.