MCPcopy Create free account
hub / github.com/adobe/react-spectrum / window

Function window

perf/test/trace.test.mjs:21–24  ·  view source on GitHub ↗
(start, end)

Source from the content-addressed store, hash-verified

19 dur: (end - start) * 1000
20});
21const window = (start, end) => [
22 {name: 'bench:window', ph: 'b', pid: 1, tid: 1, id2: {local: '0x1'}, ts: start * 1000},
23 {name: 'bench:window', ph: 'e', pid: 1, tid: 1, id2: {local: '0x1'}, ts: end * 1000}
24];
25
26test('main-thread time is split by the innermost event within the window', () => {
27 let summary = summarizeTrace({

Callers 1

trace.test.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected