mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
fix(ext/node): add back perf_hooks.markResourceTiming (#29562)
Adding back a sham for "perf_hooks.markResourceTiming" that was removed by accident in https://github.com/denoland/deno/pull/29323; a test was added too, to ensure it doesn't regress in the future. Closes https://github.com/denoland/deno/issues/29539
This commit is contained in:
parent
fb723098a5
commit
02404333f1
2 changed files with 5 additions and 1 deletions
|
@ -31,7 +31,7 @@ performance.nodeTiming = {};
|
|||
performance.timerify = () => notImplemented("timerify from performance");
|
||||
|
||||
// TODO(bartlomieju):
|
||||
performance.timerify = () => {};
|
||||
performance.markResourceTiming = () => {};
|
||||
|
||||
function monitorEventLoopDelay(options = {}) {
|
||||
const { resolution = 10 } = options;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue