BlogDocs

FindSubstring<&[u8]>: make use of `memchr::memmem`(#1375)

Comparing
homersimpsons:feature/memmem
(
8a9579a
) with
main
(
83cfb17
)
-12%
IMPROVEMENTS
0
REGRESSIONS
1
UNTOUCHED
23
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failed

numberRegression
benchmarks/benches/number.rs::benches::number::number
-12%
215 ns
244.2 ns

Passed

recognize float str streaming
benchmarks/benches/json_streaming.rs::benches::recognize_float_str::recognize float str streaming
+2%
1.4 µs
1.4 µs
std_float bytes
benchmarks/benches/json.rs::benches::std_float_bytes::std_float bytes
+2%
1.9 µs
1.9 µs
float bytes
benchmarks/benches/json.rs::benches::float_bytes::float bytes
+1%
2 µs
2 µs
json canada verbose
benchmarks/benches/json.rs::benches::verbose_canada_json::json canada verbose
+1%
97 ms
95.9 ms
parse_streaming[291]
benchmarks/benches/http_streaming.rs::http_streaming::one_test::http::parse_streaming[291]
+1%
9.1 µs
9.1 µs
parse[110]
benchmarks/benches/ini.rs::benches::bench_ini::ini::parse[110]
0%
7.3 µs
7.2 µs
json streaming
benchmarks/benches/json_streaming.rs::benches::json_bench::json streaming
0%
22.5 µs
22.4 µs
json
benchmarks/benches/json.rs::benches::json_bench::json
0%
24.1 µs
24 µs
json canada
benchmarks/benches/json.rs::benches::canada_json::json canada
0%
79.8 ms
79.6 ms
json verbose
benchmarks/benches/json.rs::benches::verbose_json::json verbose
0%
28.2 µs
28.2 µs
parse[18]
benchmarks/benches/ini.rs::benches::bench_ini_key_value::ini key value::parse[18]
0%
1.2 µs
1.2 µs
parse[45]
benchmarks/benches/ini.rs::benches::bench_ini_keys_and_values::ini keys and values::parse[45]
0%
2.6 µs
2.6 µs
parse[109]
benchmarks/benches/ini_str.rs::benches::bench_ini_str::ini str::parse[109]
0%
8.5 µs
8.5 µs
float str
benchmarks/benches/json.rs::benches::float_str::float str
0%
1.8 µs
1.8 µs
json
benchmarks/benches/json.rs::benches::json_bench_error_check::json
0%
21.9 µs
21.9 µs
recognize float bytes
benchmarks/benches/json.rs::benches::recognize_float_bytes::recognize float bytes
0%
699.4 ns
699.4 ns
recognize float str
benchmarks/benches/json.rs::benches::recognize_float_str::recognize float str
0%
683.1 ns
683.1 ns
float str streaming
benchmarks/benches/json_streaming.rs::benches::float_str::float str streaming
0%
2.3 µs
2.3 µs
recognize float bytes streaming
benchmarks/benches/json_streaming.rs::benches::recognize_float_bytes::recognize float bytes streaming
0%
627.2 ns
627.2 ns
parse[291]
benchmarks/benches/http.rs::http::one_test::http::parse[291]
0%
8.8 µs
8.8 µs
arithmetic
benchmarks/benches/arithmetic.rs::benches::arithmetic::arithmetic
-1%
4.3 µs
4.3 µs
std_float bytes streaming
benchmarks/benches/json_streaming.rs::benches::std_float_bytes::std_float bytes streaming
-2%
1.9 µs
1.9 µs
float bytes streaming
benchmarks/benches/json_streaming.rs::benches::float_bytes::float bytes streaming
-4%
661.7 ns
690.8 ns

Commits

Click on a commit to change the comparison range
base
main
83cfb17
-12%
Merge branch 'main' into feature/memmem
8a9579a
6 months ago
by Geal
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.