MCPcopy Create free account
hub / github.com/douchuan/algorithm / eq_data_quick

Function eq_data_quick

benches/sort.rs:187–193  ·  view source on GitHub ↗
(b: &mut Bencher)

Source from the content-addressed store, hash-verified

185
186#[bench]
187fn eq_data_quick(b: &mut Bencher) {
188 let data = gen_eq_data(DATA_LEN);
189 b.iter(|| {
190 let mut numbs = data.clone();
191 sort::quick::sort(&mut numbs);
192 });
193}
194
195#[bench]
196fn small_selection_sort(b: &mut Bencher) {

Callers

nothing calls this directly

Calls 4

gen_eq_dataFunction · 0.85
cloneMethod · 0.80
sortFunction · 0.50
iterMethod · 0.45

Tested by

no test coverage detected