Heap Snapshot Generator
This commit is contained in:
6
src/pages/heap-snapshot.astro
Normal file
6
src/pages/heap-snapshot.astro
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
import { writeHeapSnapshot } from "v8";
|
||||
|
||||
// Create a named heap snapshot
|
||||
writeHeapSnapshot(".heapsnapshot");
|
||||
---
|
||||
Reference in New Issue
Block a user