Avatar for the rust-bakery user
rust-bakery
nom
BlogDocsChangelog

Add missing tests for number parsing

#1769Merged
Comparing
CXWorks:main
(
4a107b8
) with
main
(
fcc9f16
)
CodSpeed Performance Gauge
+14%
Improvements
1
Regressions
0
Untouched
23
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

number
benchmarks/benches/number.rs::benches::number::number
CodSpeed Performance Gauge
+14%
244.2 ns
215 ns

Passed

recognize float str streaming
benchmarks/benches/json_streaming.rs::benches::recognize_float_str::recognize float str streaming
CodSpeed Performance Gauge
+2%
1.4 µs
1.3 µs
json
benchmarks/benches/json.rs::benches::json_bench::json
CodSpeed Performance Gauge
0%
23.9 µs
23.9 µs
arithmetic
benchmarks/benches/arithmetic.rs::benches::arithmetic::arithmetic
CodSpeed Performance Gauge
0%
4.3 µs
4.3 µs
parse[291]
benchmarks/benches/http.rs::http::one_test::http::parse[291]
CodSpeed Performance Gauge
0%
8.7 µs
8.7 µs
parse[110]
benchmarks/benches/ini.rs::benches::bench_ini::ini::parse[110]
CodSpeed Performance Gauge
0%
7.5 µs
7.5 µs
parse[18]
benchmarks/benches/ini.rs::benches::bench_ini_key_value::ini key value::parse[18]
CodSpeed Performance Gauge
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]
CodSpeed Performance Gauge
0%
2.6 µs
2.6 µs
float bytes
benchmarks/benches/json.rs::benches::float_bytes::float bytes
CodSpeed Performance Gauge
0%
2.1 µs
2.1 µs
float str
benchmarks/benches/json.rs::benches::float_str::float str
CodSpeed Performance Gauge
0%
2 µs
2 µs
json
benchmarks/benches/json.rs::benches::json_bench_error_check::json
CodSpeed Performance Gauge
0%
21.7 µs
21.7 µs
recognize float bytes
benchmarks/benches/json.rs::benches::recognize_float_bytes::recognize float bytes
CodSpeed Performance Gauge
0%
728.6 ns
728.6 ns
std_float bytes
benchmarks/benches/json.rs::benches::std_float_bytes::std_float bytes
CodSpeed Performance Gauge
0%
2 µs
2 µs
recognize float bytes streaming
benchmarks/benches/json_streaming.rs::benches::recognize_float_bytes::recognize float bytes streaming
CodSpeed Performance Gauge
0%
659.4 ns
659.4 ns
json canada
benchmarks/benches/json.rs::benches::canada_json::json canada
CodSpeed Performance Gauge
0%
80.4 ms
80.4 ms
json verbose
benchmarks/benches/json.rs::benches::verbose_json::json verbose
CodSpeed Performance Gauge
0%
28.3 µs
28.3 µs
json streaming
benchmarks/benches/json_streaming.rs::benches::json_bench::json streaming
CodSpeed Performance Gauge
0%
23.4 µs
23.4 µs
parse[109]
benchmarks/benches/ini_str.rs::benches::bench_ini_str::ini str::parse[109]
CodSpeed Performance Gauge
0%
8.4 µs
8.5 µs
parse_streaming[291]
benchmarks/benches/http_streaming.rs::http_streaming::one_test::http::parse_streaming[291]
CodSpeed Performance Gauge
-1%
8.9 µs
9 µs
json canada verbose
benchmarks/benches/json.rs::benches::verbose_canada_json::json canada verbose
CodSpeed Performance Gauge
-1%
96.9 ms
97.7 ms
float str streaming
benchmarks/benches/json_streaming.rs::benches::float_str::float str streaming
CodSpeed Performance Gauge
-1%
2.3 µs
2.4 µs
std_float bytes streaming
benchmarks/benches/json_streaming.rs::benches::std_float_bytes::std_float bytes streaming
CodSpeed Performance Gauge
-1%
1.9 µs
2 µs
float bytes streaming
benchmarks/benches/json_streaming.rs::benches::float_bytes::float bytes streaming
CodSpeed Performance Gauge
-4%
719.4 ns
748.6 ns
recognize float str
benchmarks/benches/json.rs::benches::recognize_float_str::recognize float str
CodSpeed Performance Gauge
-4%
713.3 ns
742.5 ns

Commits

Click on a commit to change the comparison range
Base
main
fcc9f16
+100%
Add missing tests for number parsing
03c9fbe
5 months ago
by JustForMaven
-120%
Merge branch 'main' into main
d0e2173
5 months ago
by CXWorks
+33%
Merge branch 'main' into main
4a107b8
19 days ago
by Geal
Home Terms PrivacyDocs