Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Whale/3.5.4.2 Safari/537.36
Chrome 120
Linux
Desktop
2 months ago
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
HTML Preparation code:
Script Preparation code:
Tests:
  • Array

  • Queue with 2 Stacks

  • Ring Buffer

  • Ring Buffer (Int32Array)

  • (FYI) Rust + wasm


;