Skip to content

Instantly share code, notes, and snippets.

@zamazan4ik
Created March 17, 2024 00:21
Show Gist options
  • Save zamazan4ik/445260656ae67dafce7c2c4e06f83154 to your computer and use it in GitHub Desktop.
Save zamazan4ik/445260656ae67dafce7c2c4e06f83154 to your computer and use it in GitHub Desktop.
ada-url Rust: Release (compared to previous Release run for checking consistency across runs)
taskset -c 0 cargo bench
Finished bench [optimized] target(s) in 0.03s
Running unittests src/lib.rs (target/release/deps/ada_url-13c121488d2e795f)
running 11 tests
test idna::tests::ascii_should_work ... ignored
test idna::tests::unicode_should_work ... ignored
test test::can_parse_simple_url ... ignored
test test::scheme_types ... ignored
test test::should_clone ... ignored
test test::should_compare_urls ... ignored
test test::should_display_serialization ... ignored
test test::should_order_alphabetically ... ignored
test test::should_parse_simple_url ... ignored
test test::try_from_err ... ignored
test test::try_from_ok ... ignored
test result: ok. 0 passed; 0 failed; 11 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running bench/parse.rs (target/release/deps/parse-6e5372020c676632)
parse/ada_url time: [2.0526 µs 2.0533 µs 2.0539 µs]
thrpt: [375.17 MiB/s 375.29 MiB/s 375.41 MiB/s]
change:
time: [-2.5571% -2.5174% -2.4790%] (p = 0.00 < 0.05)
thrpt: [+2.5420% +2.5824% +2.6242%]
Performance has improved.
Found 3 outliers among 100 measurements (3.00%)
2 (2.00%) low mild
1 (1.00%) high mild
parse/url time: [9.3265 µs 9.3289 µs 9.3316 µs]
thrpt: [82.577 MiB/s 82.600 MiB/s 82.622 MiB/s]
change:
time: [+0.1945% +0.2383% +0.2829%] (p = 0.00 < 0.05)
thrpt: [-0.2821% -0.2377% -0.1941%]
Change within noise threshold.
Found 9 outliers among 100 measurements (9.00%)
1 (1.00%) low severe
6 (6.00%) high mild
2 (2.00%) high severe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment