Test case name | Result |
---|---|
Double Array enque | |
Linked List enque | |
Queue enqeue | |
Array deque | |
LinkedList deque | |
Queue deque | |
Array deque from Tails | |
Linked from Tail | |
Queue from tail |
Test name | Executions per second |
---|---|
Double Array enque | 64.6 Ops/sec |
Linked List enque | 28.2 Ops/sec |
Queue enqeue | 20.0 Ops/sec |
Array deque | 66.1 Ops/sec |
LinkedList deque | 30.3 Ops/sec |
Queue deque | 34.8 Ops/sec |
Array deque from Tails | 60.6 Ops/sec |
Linked from Tail | 31.8 Ops/sec |
Queue from tail | 68.9 Ops/sec |