v8: add v8.getCppHeapStatistics() method · nodejs/node@673a424 · GitHub
Skip to content

Commit 673a424

Browse files
Aditi-1400RafaelGSS
authored andcommitted
v8: add v8.getCppHeapStatistics() method
Expose `CppHeap` data via `cppgc::CppHeap::CollectStatistics()` in the v8 module. PR-URL: #57146 Fixes: #56533 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 3960dd8 commit 673a424

4 files changed

Lines changed: 440 additions & 1 deletion

File tree

doc/api/v8.md

Lines changed: 90 additions & 0 deletions

lib/v8.js

Lines changed: 21 additions & 1 deletion

0 commit comments

Comments
 (0)