Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/7.0.14(0x17000e2e) NetType/WIFI Language/zh_CN
Mobile Safari 12
iOS 12.4.5
Mobile
3 years ago
Test name Executions per second
Built-in Sort 6684.4 Ops/sec
Naive Quicksort 975.4 Ops/sec
Inplace Quicksort 8686.1 Ops/sec
Heap Sort 5883.5 Ops/sec
Merge Sort 2062.8 Ops/sec
Shell Sort 6996.8 Ops/sec
Comb Sort 2050.1 Ops/sec
Insertion Sort 1544.2 Ops/sec
Fast QuickSort 10029.7 Ops/sec
mSort 2785.4 Ops/sec
Radix Bucket Sort 447.9 Ops/sec
Bubble Sort 369.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Built-in Sort

  • Naive Quicksort

  • Inplace Quicksort

  • Heap Sort

  • Merge Sort

  • Shell Sort

  • Comb Sort

  • Insertion Sort

  • Fast QuickSort

  • mSort

  • Radix Bucket Sort

  • Bubble Sort