about summary refs log tree commit diff
path: root/src/libcore/benches/lib.rs
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-17/+0
2020-06-18Disable core benches on wasm (benches not supported).Eric Huss-0/+2
2019-12-16Add benchmarks for `start_with` and `ends_with`Andrea Canciani-0/+1
2019-12-06Format libcore with rustfmt (including tests and benches)David Tolnay-1/+1
2019-04-18libcore => 2018Taiki Endo-1/+0
2019-03-18Rename src/libcore/benches/ascii_case.rs to ascii.rsSimon Sapin-1/+1
2019-03-18Add benchmarks for [u8]::make_ascii_uppercaseSimon Sapin-0/+1
2019-01-12Add fmt benchmarksShotaro Yamada-0/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-13core/benches: Add `char::to_digit()` benchmarksTobias Bieniek-0/+1
2018-04-08Move deny(warnings) into rustbuildMark Simulacrum-2/+0
This permits easier iteration without having to worry about warnings being denied. Fixes #49517
2018-03-20Stabilize slice patterns without `..`Vadim Petrochenkov-1/+0
Merge `feature(advanced_slice_patterns)` into `feature(slice_patterns)`
2017-11-11Improve the performance of binary_search by reducing the number ofAlkis Evlogimenos-1/+1
unpredictable conditional branches in the loop. In addition improve the benchmarks to test performance in l1, l2 and l3 caches on sorted arrays with or without dups. Before: ``` test slice::binary_search_l1 ... bench: 48 ns/iter (+/- 1) test slice::binary_search_l2 ... bench: 63 ns/iter (+/- 0) test slice::binary_search_l3 ... bench: 152 ns/iter (+/- 12) test slice::binary_search_l1_with_dups ... bench: 36 ns/iter (+/- 0) test slice::binary_search_l2_with_dups ... bench: 64 ns/iter (+/- 1) test slice::binary_search_l3_with_dups ... bench: 153 ns/iter (+/- 6) ``` After: ``` test slice::binary_search_l1 ... bench: 15 ns/iter (+/- 0) test slice::binary_search_l2 ... bench: 23 ns/iter (+/- 0) test slice::binary_search_l3 ... bench: 100 ns/iter (+/- 17) test slice::binary_search_l1_with_dups ... bench: 15 ns/iter (+/- 0) test slice::binary_search_l2_with_dups ... bench: 23 ns/iter (+/- 0) test slice::binary_search_l3_with_dups ... bench: 98 ns/iter (+/- 14) ```
2017-02-06Extract collections benchmarks to libcollections/benchesSon-0/+25
And libcore/benches