diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-03-23 15:33:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 15:33:06 +0100 |
commit | 876f075ddebfaa69e8b80c5556a5da3c47a98764 (patch) | |
tree | 3fae034db15eeed8ca45b4db3d8f898df18a8e76 /cli/tests/integration_tests.rs | |
parent | 26f7a3f185881c12081eb6d3cedbf9e637376d86 (diff) |
feat(core): Deno.core.heapStats() (#9659)
This commit implements "Deno.core.heapStats()" function
that allows to programatically measure isolate heap-usage.
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index e7fc7797b..96223c438 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -3217,6 +3217,11 @@ console.log("finish"); output: "exit_error42.ts.out", }); + itest!(heapstats { + args: "run --quiet --v8-flags=--expose-gc heapstats.js", + output: "heapstats.js.out", + }); + itest!(https_import { args: "run --quiet --reload --cert tls/RootCA.pem https_import.ts", output: "https_import.ts.out", |