Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zamazan4ik/2c1caae4675577766b745c7436c62697 to your computer and use it in GitHub Desktop.
Save zamazan4ik/2c1caae4675577766b745c7436c62697 to your computer and use it in GitHub Desktop.
html5ever: PGO instrumented compared to Release
taskset -c 0 cargo pgo bench -- --workspace --all-features
Running benches/html5ever.rs (x86_64-unknown-linux-gnu/release/deps/html5ever-12e473d0184d56e7)
Benchmarking html tokenizing lipsum.html
Benchmarking html tokenizing lipsum.html: Warming up for 3.0000 s
Benchmarking html tokenizing lipsum.html: Collecting 100 samples in estimated 5.0015 s (343k iterations)
Benchmarking html tokenizing lipsum.html: Analyzing
html tokenizing lipsum.html
time: [14.419 µs 14.436 µs 14.452 µs]
change: [+65.374% +66.308% +67.018%] (p = 0.00 < 0.05)
Performance has regressed.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severe
Benchmarking html tokenizing lipsum-zh.html
Benchmarking html tokenizing lipsum-zh.html: Warming up for 3.0000 s
Benchmarking html tokenizing lipsum-zh.html: Collecting 100 samples in estimated 5.0499 s (454k iterations)
Benchmarking html tokenizing lipsum-zh.html: Analyzing
html tokenizing lipsum-zh.html
time: [11.161 µs 11.167 µs 11.172 µs]
change: [+71.432% +71.845% +72.228%] (p = 0.00 < 0.05)
Performance has regressed.
Found 4 outliers among 100 measurements (4.00%)
3 (3.00%) high mild
1 (1.00%) high severe
Benchmarking html tokenizing medium-fragment.html
Benchmarking html tokenizing medium-fragment.html: Warming up for 3.0000 s
Benchmarking html tokenizing medium-fragment.html: Collecting 100 samples in estimated 5.0694 s (86k iterations)
Benchmarking html tokenizing medium-fragment.html: Analyzing
html tokenizing medium-fragment.html
time: [59.155 µs 59.273 µs 59.470 µs]
change: [+47.166% +47.347% +47.556%] (p = 0.00 < 0.05)
Performance has regressed.
Found 15 outliers among 100 measurements (15.00%)
5 (5.00%) high mild
10 (10.00%) high severe
Benchmarking html tokenizing small-fragment.html
Benchmarking html tokenizing small-fragment.html: Warming up for 3.0000 s
Benchmarking html tokenizing small-fragment.html: Collecting 100 samples in estimated 5.0064 s (884k iterations)
Benchmarking html tokenizing small-fragment.html: Analyzing
html tokenizing small-fragment.html
time: [5.6949 µs 5.6986 µs 5.7023 µs]
change: [+50.182% +50.323% +50.463%] (p = 0.00 < 0.05)
Performance has regressed.
Found 10 outliers among 100 measurements (10.00%)
6 (6.00%) high mild
4 (4.00%) high severe
Benchmarking html tokenizing tiny-fragment.html
Benchmarking html tokenizing tiny-fragment.html: Warming up for 3.0000 s
Benchmarking html tokenizing tiny-fragment.html: Collecting 100 samples in estimated 5.0026 s (8.5M iterations)
Benchmarking html tokenizing tiny-fragment.html: Analyzing
html tokenizing tiny-fragment.html
time: [590.01 ns 590.34 ns 590.71 ns]
change: [+51.976% +52.117% +52.260%] (p = 0.00 < 0.05)
Performance has regressed.
Found 5 outliers among 100 measurements (5.00%)
4 (4.00%) high mild
1 (1.00%) high severe
Benchmarking html tokenizing strong.html
Benchmarking html tokenizing strong.html: Warming up for 3.0000 s
Benchmarking html tokenizing strong.html: Collecting 100 samples in estimated 5.1144 s (126k iterations)
Benchmarking html tokenizing strong.html: Analyzing
html tokenizing strong.html
time: [40.739 µs 40.766 µs 40.797 µs]
change: [+48.941% +49.079% +49.214%] (p = 0.00 < 0.05)
Performance has regressed.
Found 11 outliers among 100 measurements (11.00%)
8 (8.00%) high mild
3 (3.00%) high severe
Running unittests lib.rs (x86_64-unknown-linux-gnu/release/deps/markup5ever-ac843730594aaa0c)
running 6 tests
test interface::tests::ns_macro ... ignored
test util::buffer_queue::test::can_eat ... ignored
test util::buffer_queue::test::can_pop_except_set ... ignored
test util::buffer_queue::test::can_unconsume ... ignored
test util::buffer_queue::test::smoke_test ... ignored
test util::smallcharset::test::nonmember_prefix ... ignored
test result: ok. 0 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests lib.rs (x86_64-unknown-linux-gnu/release/deps/markup5ever_rcdom-232871f93bb23f48)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (x86_64-unknown-linux-gnu/release/deps/xml5ever-ac2136d9271b5ebe)
running 2 tests
test tokenizer::test::simple_namespace ... ignored
test tokenizer::test::wrong_namespaces ... ignored
test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running benches/xml5ever.rs (x86_64-unknown-linux-gnu/release/deps/xml5ever-8ef3f8beda31ad7b)
Benchmarking xml tokenizing strong.xml
Benchmarking xml tokenizing strong.xml: Warming up for 3.0000 s
Benchmarking xml tokenizing strong.xml: Collecting 100 samples in estimated 5.0629 s (116k iterations)
Benchmarking xml tokenizing strong.xml: Analyzing
xml tokenizing strong.xml
time: [43.409 µs 43.439 µs 43.473 µs]
change: [+49.537% +49.665% +49.782%] (p = 0.00 < 0.05)
Performance has regressed.
Found 4 outliers among 100 measurements (4.00%)
2 (2.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