abi
abi2y ago

Is there any simple way to keep track of the heap/stack usage of a running Deno application?

I have made a Deno application and I'm curious to know if there's heap/stack issues that I should fix. I use a lot of promises with some recursion.
1 Reply
bartlomieju
bartlomieju2y ago
Currently there are no APIs that provide heap statistics, that might change with https://github.com/denoland/deno/pull/17522
GitHub
feat(ext/node): add node:v8 module by littledivy · Pull Request #...
POC ✨ Open questions: Permissions? setFlagsFromString seems scary to be left unguarded. The JS glue is not part of the snapshot, maybe we should do ES module snapshotting for node:module, node:v...