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

Function large_sorted_desc_quick

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

Source from the content-addressed store, hash-verified

176
177#[bench]
178fn large_sorted_desc_quick(b: &mut Bencher) {
179 let data = gen_desc_data(DATA_LEN);
180 b.iter(|| {
181 let mut numbs = data.clone();
182 sort::quick::sort(&mut numbs);
183 });
184}
185
186#[bench]
187fn eq_data_quick(b: &mut Bencher) {

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected