MCPcopy
hub / github.com/sindresorhus/p-queue / bench.ts

File bench.ts

bench.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import process from 'node:process';
2import Benchmark, {type Deferred, type Event} from 'benchmark';
3import PQueue from './source/index.js';
4import PriorityQueue from './source/priority-queue.js';

Callers

nothing calls this directly

Calls 9

addBenchmarkFunction · 0.85
addMethod · 0.80
onEmptyMethod · 0.80
startMethod · 0.80
onIdleMethod · 0.80
enqueueMethod · 0.80
dequeueMethod · 0.80
runMethod · 0.80
filterMethod · 0.80

Tested by

no test coverage detected