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

Function large_selection_tree_selection

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

Source from the content-addressed store, hash-verified

219
220#[bench]
221fn large_selection_tree_selection(b: &mut Bencher) {
222 let data = gen_random_data(DATA_LEN);
223 b.iter(|| {
224 let numbs = data.clone();
225 sort::tree_selection::sort_desc(&numbs);
226 });
227}
228
229// utils
230

Callers

nothing calls this directly

Calls 4

gen_random_dataFunction · 0.85
sort_descFunction · 0.85
cloneMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected