From 876f075ddebfaa69e8b80c5556a5da3c47a98764 Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Tue, 23 Mar 2021 15:33:06 +0100 Subject: feat(core): Deno.core.heapStats() (#9659) This commit implements "Deno.core.heapStats()" function that allows to programatically measure isolate heap-usage. --- cli/tests/integration_tests.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cli/tests/integration_tests.rs') 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", -- cgit v1.2.3