1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/cli/js
Nayeem Rahman 02865cb5a2
feat(bench): add BenchContext::start() and BenchContext::end() (#18734)
Closes #17589.
```ts
Deno.bench("foo", async (t) => {
  const resource = setup(); // not included in measurement
  t.start();
  measuredOperation(resource);
  t.end();
  resource.close(); // not included in measurement
});
```
2023-07-31 12:02:59 +02:00
..
40_testing.js feat(bench): add BenchContext::start() and BenchContext::end() (#18734) 2023-07-31 12:02:59 +02:00
99_main.js fix(core): let V8 drive extension ESM loads (#18997) 2023-05-09 12:37:13 +02:00