Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Double Array enque 123.3 Ops/sec
Linked List enque 63.7 Ops/sec
Queue enqeue 25.1 Ops/sec
Array deque 84.2 Ops/sec
LinkedList deque 43.4 Ops/sec
Queue deque 31.8 Ops/sec
Script Preparation code:
Tests:
  • Double Array enque

  • Linked List enque

  • Queue enqeue

  • Array deque

  • LinkedList deque

  • Queue deque


;