Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
process from
'node:process'
;
2
import
Benchmark, {
type
Deferred,
type
Event} from
'benchmark'
;
3
import
PQueue from
'./source/index.js'
;
4
import
PriorityQueue from
'./source/priority-queue.js'
;
Callers
nothing calls this directly
Calls
9
addBenchmark
Function · 0.85
add
Method · 0.80
onEmpty
Method · 0.80
start
Method · 0.80
onIdle
Method · 0.80
enqueue
Method · 0.80
dequeue
Method · 0.80
run
Method · 0.80
filter
Method · 0.80
Tested by
no test coverage detected