MCPcopy Create free account
hub / github.com/nodejs/node / test

Function test

benchmark/perf_hooks/resourcetiming.js:51–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49});
50
51function test() {
52 const timingInfo = createTimingInfo({ finalConnectionTimingInfo: {} });
53 performance.markResourceTiming(
54 timingInfo,
55 'http://localhost:8080',
56 'fetch',
57 {},
58 '',
59 );
60}
61
62function main({ n, observe }) {
63 const obs = new PerformanceObserver(() => {

Callers 1

mainFunction · 0.70

Calls 1

createTimingInfoFunction · 0.70

Tested by

no test coverage detected