Skip to content

About

Benchmark result for numpy sorting algorithms

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

numpy-sort-benchmark

Benchmark result for numpy sorting algorithms. Includes Quicksort, Mergesort, Heapsort and Timsort. Focused on nearly sorted data.

Benchmark output

sort_type distribution For detailed numbers, see the *.txt Files.

Comments

  • For shapes of the arrays involved in this benchmark, see the jupyter-notebook.
  • Timsort shows minimal overhead on random array while performs well at nearly sorted array.
  • For swapped pair arrays timsort seems not fast enough, however this is because quicksort is so good at this kind of array.

About

Benchmark result for numpy sorting algorithms

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages