Test case name | Result |
---|---|
Array | |
Queue with 2 Stacks | |
Ring Buffer | |
Ring Buffer (Int32Array) | |
(FYI) Rust + wasm |
Test name | Executions per second |
---|---|
Array | 5.1 Ops/sec |
Queue with 2 Stacks | 232.0 Ops/sec |
Ring Buffer | 310.9 Ops/sec |
Ring Buffer (Int32Array) | 416.9 Ops/sec |
(FYI) Rust + wasm | 1590.5 Ops/sec |