mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-06 18:21:39 +08:00

The "#[bench]" attribute is not allowed in stable Rust, so keep it behind a new feature flag. Run on nightly Rust with $ cargo bench --features=bechmark test tests::encoding::bench::bench_convert_ascii ... bench: 125,988 ns/iter (+/- 1,128) = 1040 MB/s