Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaBrowser/23.7.0.2564 Yowser/2.5 Safari/537.36
Yandex Browser 23
Mac OS X 10.13.6
Desktop
one year ago
Test name Executions per second
Double Array enque 5952.3 Ops/sec
Linked List enque 2640.0 Ops/sec
Queue enqeue 2036.1 Ops/sec
Array deque 3725.6 Ops/sec
LinkedList deque 1898.3 Ops/sec
Queue deque 3530.6 Ops/sec
Script Preparation code:
Tests:
  • Double Array enque

  • Linked List enque

  • Queue enqeue

  • Array deque

  • LinkedList deque

  • Queue deque


;