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 4757.0 Ops/sec
Naive Quicksort 937.1 Ops/sec
Inplace Quicksort 8573.4 Ops/sec
Heap Sort 5901.1 Ops/sec
Merge Sort 2046.1 Ops/sec
Shell Sort 6904.7 Ops/sec
Comb Sort 2101.3 Ops/sec
Insertion Sort 1978.0 Ops/sec
Fast QuickSort 11829.0 Ops/sec
mSort 3065.7 Ops/sec
Radix Bucket Sort 714.0 Ops/sec
Bubble Sort 446.1 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