Bubble sort
O(n²) ready- compares
- 0
- writes
- 0
- total ops
- 0
Insertion sort
O(n²) ready- compares
- 0
- writes
- 0
- total ops
- 0
Merge sort
O(n log n) ready- compares
- 0
- writes
- 0
- total ops
- 0
Quick sort
O(n log n) ready- compares
- 0
- writes
- 0
- total ops
- 0
Starting array
Key
comparing two values
writing a value
finished, checked sorted
Every lane starts from the same array. Total ops counts each comparison plus each element written — a swap is two writes.