Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reimplement
str::Lines
with memchr crate for optimizing chunk calcu…
…lation ``` chunk::large_file_per_10_lines time: [126.23 µs 126.82 µs 127.48 µs] change: [-33.516% -33.149% -32.796%] (p = 0.00 < 0.05) Performance has improved. Found 6 outliers among 100 measurements (6.00%) 6 (6.00%) high mild chunk::large_file_per_100_lines time: [84.162 µs 84.404 µs 84.710 µs] change: [-41.216% -40.959% -40.715%] (p = 0.00 < 0.05) Performance has improved. Found 4 outliers among 100 measurements (4.00%) 3 (3.00%) high mild 1 (1.00%) high severe chunk::large_file_per_1000_lines time: [76.495 µs 76.687 µs 76.870 µs] change: [-40.212% -40.011% -39.812%] (p = 0.00 < 0.05) Performance has improved. Found 4 outliers among 100 measurements (4.00%) 3 (3.00%) high mild 1 (1.00%) high severe chunk::large_file_per_3000_lines time: [64.525 µs 64.757 µs 64.997 µs] change: [-37.579% -37.230% -36.869%] (p = 0.00 < 0.05) Performance has improved. Found 11 outliers among 100 measurements (11.00%) 8 (8.00%) high mild 3 (3.00%) high severe Benchmarking syntect::ripgrep-small: Warming up for 3.0000 s syntect::ripgrep-small time: [73.191 ms 73.384 ms 73.614 ms] change: [-2.3840% -2.0182% -1.6277%] (p = 0.00 < 0.05) Performance has improved. Found 7 outliers among 100 measurements (7.00%) 4 (4.00%) high mild 3 (3.00%) high severe Benchmarking syntect::ripgrep-no-wrap: Warming up for 3.0000 s syntect::ripgrep-no-wrap time: [73.091 ms 73.244 ms 73.423 ms] change: [-2.8202% -2.4655% -2.1307%] (p = 0.00 < 0.05) Performance has improved. Found 6 outliers among 100 measurements (6.00%) 5 (5.00%) high mild 1 (1.00%) high severe Benchmarking syntect::ripgrep-background: Warming up for 3.0000 s syntect::ripgrep-background time: [73.195 ms 73.388 ms 73.615 ms] change: [-2.8219% -2.4260% -2.0027%] (p = 0.00 < 0.05) Performance has improved. Found 7 outliers among 100 measurements (7.00%) 5 (5.00%) high mild 2 (2.00%) high severe ```
- Loading branch information