Skip to content

Instantly share code, notes, and snippets.

@kostya
kostya / result
Last active November 7, 2016 22:12 — forked from c910335/result
some sort benchmarks
======== random 2097152 =============
(0.185) 2097152 elements with original quick sort
(0.135) 2097152 elements with intro sort
(0.142) 2097152 elements with std::sort in cpp
(0.267) 2097152 elements with qsort in c
======== seq 2097152 =============
(0.047) 2097152 elements with original quick sort
(0.021) 2097152 elements with intro sort
(0.025) 2097152 elements with std::sort in cpp
(0.076) 2097152 elements with qsort in c