diff --git a/src/pages/heap-snapshot.astro b/src/pages/heap-snapshot.astro new file mode 100644 index 00000000..f539168b --- /dev/null +++ b/src/pages/heap-snapshot.astro @@ -0,0 +1,6 @@ +--- +import { writeHeapSnapshot } from "v8"; + +// Create a named heap snapshot +writeHeapSnapshot(".heapsnapshot"); +--- \ No newline at end of file