feat: Add Deno.memoryUsage() (#9986)

This commit is contained in:
Aaron O'Mullan 2021-04-12 10:47:44 +02:00 committed by GitHub
parent fefe93c91b
commit bf99039ea9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 38 deletions

View file

@ -433,6 +433,7 @@ delete Object.prototype.__proto__;
[internalSymbol]: internals,
resources: core.resources,
close: core.close,
memoryUsage: core.memoryUsage,
...denoNs,
};
Object.defineProperties(finalDenoNs, {