Vendor things

This commit is contained in:
John Doty 2024-03-08 11:03:01 -08:00
parent 5deceec006
commit 977e3c17e5
19434 changed files with 10682014 additions and 0 deletions

View file

@ -0,0 +1,4 @@
This directory contains various recordings of results. These are committed to
the repository so that they can be compared over time. (At the time of writing,
there is no tooling for facilitating this comparison. It has to be done
manually.)

View file

@ -0,0 +1,11 @@
name,crate,revision,profile,duration,size,relative-size
regex__dev__std_perf_unicode,regex,9582040009,dev,1.824209152s,3434992,3113064
regex__dev__std,regex,9582040009,dev,1.206314935s,1362392,1040464
regex__dev__std_perf,regex,9582040009,dev,1.543583435s,2726384,2404456
regex__dev__std_unicode,regex,9582040009,dev,1.490095643s,2066904,1744976
regex__dev__std_unicode-case_unicode-perl,regex,9582040009,dev,1.292011694s,1812952,1491024
regex__release__std_perf_unicode,regex,9582040009,release,2.398133563s,1616216,1294368
regex__release__std,regex,9582040009,release,1.413680252s,694592,372744
regex__release__std_perf,regex,9582040009,release,2.341496191s,1124696,802848
regex__release__std_unicode,regex,9582040009,release,1.671407822s,1190208,868360
regex__release__std_unicode-case_unicode-perl,regex,9582040009,release,1.441712198s,932160,610312
1 name crate revision profile duration size relative-size
2 regex__dev__std_perf_unicode regex 9582040009 dev 1.824209152s 3434992 3113064
3 regex__dev__std regex 9582040009 dev 1.206314935s 1362392 1040464
4 regex__dev__std_perf regex 9582040009 dev 1.543583435s 2726384 2404456
5 regex__dev__std_unicode regex 9582040009 dev 1.490095643s 2066904 1744976
6 regex__dev__std_unicode-case_unicode-perl regex 9582040009 dev 1.292011694s 1812952 1491024
7 regex__release__std_perf_unicode regex 9582040009 release 2.398133563s 1616216 1294368
8 regex__release__std regex 9582040009 release 1.413680252s 694592 372744
9 regex__release__std_perf regex 9582040009 release 2.341496191s 1124696 802848
10 regex__release__std_unicode regex 9582040009 release 1.671407822s 1190208 868360
11 regex__release__std_unicode-case_unicode-perl regex 9582040009 release 1.441712198s 932160 610312

View file

@ -0,0 +1,11 @@
name,crate,revision,profile,duration,size,relative-size
regex__dev__std_perf_unicode,regex,f1f99af2bc,dev,1.834267609s,3799536,3477608
regex__dev__std,regex,f1f99af2bc,dev,1.263958602s,1427928,1106000
regex__dev__std_perf,regex,f1f99af2bc,dev,1.631302845s,3234288,2912360
regex__dev__std_unicode,regex,f1f99af2bc,dev,1.550536696s,1997272,1675344
regex__dev__std_unicode-case_unicode-perl,regex,f1f99af2bc,dev,1.341622852s,1739224,1417296
regex__release__std_perf_unicode,regex,f1f99af2bc,release,2.475080323s,1755480,1433632
regex__release__std,regex,f1f99af2bc,release,1.45990031s,731456,409608
regex__release__std_perf,regex,f1f99af2bc,release,2.421787211s,1259864,938016
regex__release__std_unicode,regex,f1f99af2bc,release,1.693972619s,1227072,905224
regex__release__std_unicode-case_unicode-perl,regex,f1f99af2bc,release,1.528003306s,969024,647176
1 name crate revision profile duration size relative-size
2 regex__dev__std_perf_unicode regex f1f99af2bc dev 1.834267609s 3799536 3477608
3 regex__dev__std regex f1f99af2bc dev 1.263958602s 1427928 1106000
4 regex__dev__std_perf regex f1f99af2bc dev 1.631302845s 3234288 2912360
5 regex__dev__std_unicode regex f1f99af2bc dev 1.550536696s 1997272 1675344
6 regex__dev__std_unicode-case_unicode-perl regex f1f99af2bc dev 1.341622852s 1739224 1417296
7 regex__release__std_perf_unicode regex f1f99af2bc release 2.475080323s 1755480 1433632
8 regex__release__std regex f1f99af2bc release 1.45990031s 731456 409608
9 regex__release__std_perf regex f1f99af2bc release 2.421787211s 1259864 938016
10 regex__release__std_unicode regex f1f99af2bc release 1.693972619s 1227072 905224
11 regex__release__std_unicode-case_unicode-perl regex f1f99af2bc release 1.528003306s 969024 647176

View file

@ -0,0 +1,37 @@
name,crate,revision,profile,duration,size,relative-size
regex__dev__std_perf_unicode,regex,53786ce797,dev,2.414172223s,4143600,3764328
regex__dev__std_perf_unicode_perf-dfa-full,regex,53786ce797,dev,2.900927164s,4815368,4436096
regex__dev__std,regex,53786ce797,dev,1.662626059s,2062808,1683536
regex__dev__std_perf,regex,53786ce797,dev,2.136755026s,3574256,3194984
regex__dev__std_unicode,regex,53786ce797,dev,1.943953132s,2623960,2244688
regex__dev__std_unicode-case_unicode-perl,regex,53786ce797,dev,1.753222606s,2374104,1994832
regex-lite__dev__std_string,regex,53786ce797,dev,498.158769ms,727504,348232
regex-automata__dev__std_syntax_perf_unicode_meta_nfa_dfa_hybrid,regex-automata,53786ce797,dev,2.900832296s,4872712,4493440
regex-automata__dev__std_syntax_nfa-pikevm,regex-automata,53786ce797,dev,1.413429089s,1501648,1122376
regex-automata__dev__std_syntax_nfa-backtrack,regex-automata,53786ce797,dev,1.412429191s,1505744,1126472
regex-automata__dev__std_syntax_hybrid,regex-automata,53786ce797,dev,1.678331978s,1632720,1253448
regex-automata__dev__std_syntax_dfa-onepass,regex-automata,53786ce797,dev,1.594526299s,1526224,1146952
regex-automata__dev__std_syntax_unicode_meta_nfa_dfa_hybrid,regex-automata,53786ce797,dev,2.992024402s,3500504,3121232
regex-automata__dev__std_syntax_perf_unicode_meta_nfa_hybrid_dfa-onepass,regex-automata,53786ce797,dev,2.378489598s,4119024,3739752
regex-automata__dev__std_syntax_perf_meta_nfa_dfa_hybrid,regex-automata,53786ce797,dev,2.695475914s,4299272,3920000
regex-automata__dev__std_syntax_perf_meta_nfa_hybrid_dfa-onepass,regex-automata,53786ce797,dev,2.120929251s,3549680,3170408
regex-automata__dev__std_unicode_meta,regex-automata,53786ce797,dev,1.89728585s,2492888,2113616
regex-automata__dev__std_meta,regex-automata,53786ce797,dev,1.604628942s,1927640,1548368
regex__release__std_perf_unicode,regex,53786ce797,release,3.333636908s,2025816,1650720
regex__release__std_perf_unicode_perf-dfa-full,regex,53786ce797,release,3.805434309s,2210160,1835064
regex__release__std,regex,53786ce797,release,1.789749444s,932160,557064
regex__release__std_perf,regex,53786ce797,release,2.734249431s,1505624,1130528
regex__release__std_unicode,regex,53786ce797,release,2.04945845s,1431872,1056776
regex__release__std_unicode-case_unicode-perl,regex,53786ce797,release,1.893829903s,1173824,798728
regex-lite__release__std_string,regex,53786ce797,release,648.517079ms,473400,98304
regex-automata__release__std_syntax_perf_unicode_meta_nfa_dfa_hybrid,regex-automata,53786ce797,release,3.893237683s,2242928,1867832
regex-automata__release__std_syntax_nfa-pikevm,regex-automata,53786ce797,release,1.556952008s,780600,405504
regex-automata__release__std_syntax_nfa-backtrack,regex-automata,53786ce797,release,1.576471926s,768312,393216
regex-automata__release__std_syntax_hybrid,regex-automata,53786ce797,release,1.819539266s,813368,438272
regex-automata__release__std_syntax_dfa-onepass,regex-automata,53786ce797,release,1.672511482s,776504,401408
regex-automata__release__std_syntax_unicode_meta_nfa_dfa_hybrid,regex-automata,53786ce797,release,3.227157436s,1767744,1392648
regex-automata__release__std_syntax_perf_unicode_meta_nfa_hybrid_dfa-onepass,regex-automata,53786ce797,release,3.340235296s,2005336,1630240
regex-automata__release__std_syntax_perf_meta_nfa_dfa_hybrid,regex-automata,53786ce797,release,3.640335773s,1718640,1343544
regex-automata__release__std_syntax_perf_meta_nfa_hybrid_dfa-onepass,regex-automata,53786ce797,release,2.876306297s,1489240,1114144
regex-automata__release__std_unicode_meta,regex-automata,53786ce797,release,1.945654415s,1362240,987144
regex-automata__release__std_meta,regex-automata,53786ce797,release,1.740500411s,862528,487432
1 name crate revision profile duration size relative-size
2 regex__dev__std_perf_unicode regex 53786ce797 dev 2.414172223s 4143600 3764328
3 regex__dev__std_perf_unicode_perf-dfa-full regex 53786ce797 dev 2.900927164s 4815368 4436096
4 regex__dev__std regex 53786ce797 dev 1.662626059s 2062808 1683536
5 regex__dev__std_perf regex 53786ce797 dev 2.136755026s 3574256 3194984
6 regex__dev__std_unicode regex 53786ce797 dev 1.943953132s 2623960 2244688
7 regex__dev__std_unicode-case_unicode-perl regex 53786ce797 dev 1.753222606s 2374104 1994832
8 regex-lite__dev__std_string regex 53786ce797 dev 498.158769ms 727504 348232
9 regex-automata__dev__std_syntax_perf_unicode_meta_nfa_dfa_hybrid regex-automata 53786ce797 dev 2.900832296s 4872712 4493440
10 regex-automata__dev__std_syntax_nfa-pikevm regex-automata 53786ce797 dev 1.413429089s 1501648 1122376
11 regex-automata__dev__std_syntax_nfa-backtrack regex-automata 53786ce797 dev 1.412429191s 1505744 1126472
12 regex-automata__dev__std_syntax_hybrid regex-automata 53786ce797 dev 1.678331978s 1632720 1253448
13 regex-automata__dev__std_syntax_dfa-onepass regex-automata 53786ce797 dev 1.594526299s 1526224 1146952
14 regex-automata__dev__std_syntax_unicode_meta_nfa_dfa_hybrid regex-automata 53786ce797 dev 2.992024402s 3500504 3121232
15 regex-automata__dev__std_syntax_perf_unicode_meta_nfa_hybrid_dfa-onepass regex-automata 53786ce797 dev 2.378489598s 4119024 3739752
16 regex-automata__dev__std_syntax_perf_meta_nfa_dfa_hybrid regex-automata 53786ce797 dev 2.695475914s 4299272 3920000
17 regex-automata__dev__std_syntax_perf_meta_nfa_hybrid_dfa-onepass regex-automata 53786ce797 dev 2.120929251s 3549680 3170408
18 regex-automata__dev__std_unicode_meta regex-automata 53786ce797 dev 1.89728585s 2492888 2113616
19 regex-automata__dev__std_meta regex-automata 53786ce797 dev 1.604628942s 1927640 1548368
20 regex__release__std_perf_unicode regex 53786ce797 release 3.333636908s 2025816 1650720
21 regex__release__std_perf_unicode_perf-dfa-full regex 53786ce797 release 3.805434309s 2210160 1835064
22 regex__release__std regex 53786ce797 release 1.789749444s 932160 557064
23 regex__release__std_perf regex 53786ce797 release 2.734249431s 1505624 1130528
24 regex__release__std_unicode regex 53786ce797 release 2.04945845s 1431872 1056776
25 regex__release__std_unicode-case_unicode-perl regex 53786ce797 release 1.893829903s 1173824 798728
26 regex-lite__release__std_string regex 53786ce797 release 648.517079ms 473400 98304
27 regex-automata__release__std_syntax_perf_unicode_meta_nfa_dfa_hybrid regex-automata 53786ce797 release 3.893237683s 2242928 1867832
28 regex-automata__release__std_syntax_nfa-pikevm regex-automata 53786ce797 release 1.556952008s 780600 405504
29 regex-automata__release__std_syntax_nfa-backtrack regex-automata 53786ce797 release 1.576471926s 768312 393216
30 regex-automata__release__std_syntax_hybrid regex-automata 53786ce797 release 1.819539266s 813368 438272
31 regex-automata__release__std_syntax_dfa-onepass regex-automata 53786ce797 release 1.672511482s 776504 401408
32 regex-automata__release__std_syntax_unicode_meta_nfa_dfa_hybrid regex-automata 53786ce797 release 3.227157436s 1767744 1392648
33 regex-automata__release__std_syntax_perf_unicode_meta_nfa_hybrid_dfa-onepass regex-automata 53786ce797 release 3.340235296s 2005336 1630240
34 regex-automata__release__std_syntax_perf_meta_nfa_dfa_hybrid regex-automata 53786ce797 release 3.640335773s 1718640 1343544
35 regex-automata__release__std_syntax_perf_meta_nfa_hybrid_dfa-onepass regex-automata 53786ce797 release 2.876306297s 1489240 1114144
36 regex-automata__release__std_unicode_meta regex-automata 53786ce797 release 1.945654415s 1362240 987144
37 regex-automata__release__std_meta regex-automata 53786ce797 release 1.740500411s 862528 487432

View file

@ -0,0 +1,27 @@
This directory contains the results of compilation tests. Specifically,
the results are from testing both the from scratch compilation time and
relative binary size increases of various features for both the `regex` and
`regex-automata` crates.
Here's an example of how to run these tests for just the `regex` crate. You'll
need the `regex-cli` command installed, which can be found in the `regex-cli`
directory in the root of this repository.
This must be run in the root of a checkout of this repository.
```
$ mkdir /tmp/regex-compile-test
$ regex-cli compile-test ./ /tmp/regex-compile-test | tee record/compile-test/2023-04-19_1.7.3.csv
```
You can then look at the results using a tool like [`xsv`][xsv]:
```
$ xsv table record/compile-test/2023-04-19_1.7.3.csv
```
Note that the relative binary size is computed by building a "baseline" hello
world program, and then subtracting that from the size of a binary that uses
the regex crate.
[xsv]: https://github.com/BurntSushi/xsv

View file

@ -0,0 +1,73 @@
Running target/release/dynamic-e87a67d7ea67f0eb
running 67 tests
test bench::anchored_literal_long_match ... bench: 75 ns/iter (+/- 3) = 5200 MB/s
test bench::anchored_literal_long_non_match ... bench: 61 ns/iter (+/- 2) = 6393 MB/s
test bench::anchored_literal_short_match ... bench: 75 ns/iter (+/- 3) = 346 MB/s
test bench::anchored_literal_short_non_match ... bench: 61 ns/iter (+/- 1) = 426 MB/s
test bench::easy0_1K ... bench: 196 ns/iter (+/- 8) = 5224 MB/s
test bench::easy0_1MB ... bench: 255,138 ns/iter (+/- 4,820) = 4109 MB/s
test bench::easy0_32 ... bench: 71 ns/iter (+/- 2) = 450 MB/s
test bench::easy0_32K ... bench: 5,392 ns/iter (+/- 108) = 6077 MB/s
test bench::easy1_1K ... bench: 241 ns/iter (+/- 37) = 4248 MB/s
test bench::easy1_1MB ... bench: 334,872 ns/iter (+/- 3,433) = 3131 MB/s
test bench::easy1_32 ... bench: 65 ns/iter (+/- 2) = 492 MB/s
test bench::easy1_32K ... bench: 6,139 ns/iter (+/- 703) = 5337 MB/s
test bench::hard_1K ... bench: 4,654 ns/iter (+/- 63) = 220 MB/s
test bench::hard_1MB ... bench: 4,719,487 ns/iter (+/- 71,818) = 222 MB/s
test bench::hard_32 ... bench: 199 ns/iter (+/- 8) = 160 MB/s
test bench::hard_32K ... bench: 147,389 ns/iter (+/- 4,391) = 222 MB/s
test bench::literal ... bench: 20 ns/iter (+/- 4) = 2550 MB/s
test bench::match_class ... bench: 85 ns/iter (+/- 4) = 952 MB/s
test bench::match_class_in_range ... bench: 32 ns/iter (+/- 3) = 2531 MB/s
test bench::match_class_unicode ... bench: 783 ns/iter (+/- 13) = 205 MB/s
test bench::medium_1K ... bench: 1,334 ns/iter (+/- 154) = 767 MB/s
test bench::medium_1MB ... bench: 2,044,757 ns/iter (+/- 72,936) = 512 MB/s
test bench::medium_32 ... bench: 99 ns/iter (+/- 18) = 323 MB/s
test bench::medium_32K ... bench: 59,603 ns/iter (+/- 13,750) = 549 MB/s
test bench::no_exponential ... bench: 553 ns/iter (+/- 150) = 180 MB/s
test bench::not_literal ... bench: 293 ns/iter (+/- 59) = 174 MB/s
test bench::one_pass_long_prefix ... bench: 177 ns/iter (+/- 35) = 146 MB/s
test bench::one_pass_long_prefix_not ... bench: 175 ns/iter (+/- 47) = 148 MB/s
test bench::one_pass_short ... bench: 134 ns/iter (+/- 34) = 126 MB/s
test bench::one_pass_short_not ... bench: 136 ns/iter (+/- 39) = 125 MB/s
test bench::replace_all ... bench: 153 ns/iter (+/- 17)
test bench_dynamic_compile::compile_huge ... bench: 165,209 ns/iter (+/- 4,396)
test bench_dynamic_compile::compile_huge_bytes ... bench: 18,795,770 ns/iter (+/- 2,674,909)
test bench_dynamic_compile::compile_simple ... bench: 6,883 ns/iter (+/- 391)
test bench_dynamic_compile::compile_simple_bytes ... bench: 7,281 ns/iter (+/- 751)
test bench_dynamic_compile::compile_small ... bench: 9,091 ns/iter (+/- 1,125)
test bench_dynamic_compile::compile_small_bytes ... bench: 182,815 ns/iter (+/- 3,814)
test bench_dynamic_parse::parse_huge ... bench: 1,233 ns/iter (+/- 123)
test bench_dynamic_parse::parse_simple ... bench: 2,015 ns/iter (+/- 108)
test bench_dynamic_parse::parse_small ... bench: 2,500 ns/iter (+/- 76)
test bench_sherlock::before_holmes ... bench: 2,741,811 ns/iter (+/- 58,389) = 216 MB/s
test bench_sherlock::everything_greedy ... bench: 7,807,696 ns/iter (+/- 328,585) = 76 MB/s
test bench_sherlock::everything_greedy_nl ... bench: 5,424,922 ns/iter (+/- 78,937) = 109 MB/s
test bench_sherlock::holmes_cochar_watson ... bench: 266,557 ns/iter (+/- 3,832) = 2231 MB/s
test bench_sherlock::holmes_coword_watson ... bench: 1,327,967 ns/iter (+/- 12,773) = 448 MB/s
test bench_sherlock::line_boundary_sherlock_holmes ... bench: 2,690,485 ns/iter (+/- 17,393) = 221 MB/s
test bench_sherlock::name_alt1 ... bench: 77,206 ns/iter (+/- 951) = 7705 MB/s
test bench_sherlock::name_alt2 ... bench: 303,775 ns/iter (+/- 5,030) = 1958 MB/s
test bench_sherlock::name_alt3 ... bench: 1,385,153 ns/iter (+/- 15,871) = 429 MB/s
test bench_sherlock::name_alt3_nocase ... bench: 1,473,833 ns/iter (+/- 9,825) = 403 MB/s
test bench_sherlock::name_alt4 ... bench: 300,912 ns/iter (+/- 3,896) = 1977 MB/s
test bench_sherlock::name_alt4_nocase ... bench: 1,421,519 ns/iter (+/- 16,246) = 418 MB/s
test bench_sherlock::name_holmes ... bench: 52,027 ns/iter (+/- 785) = 11435 MB/s
test bench_sherlock::name_holmes_nocase ... bench: 1,241,204 ns/iter (+/- 16,862) = 479 MB/s
test bench_sherlock::name_sherlock ... bench: 34,378 ns/iter (+/- 677) = 17305 MB/s
test bench_sherlock::name_sherlock_holmes ... bench: 34,463 ns/iter (+/- 580) = 17262 MB/s
test bench_sherlock::name_sherlock_holmes_nocase ... bench: 1,281,540 ns/iter (+/- 11,054) = 464 MB/s
test bench_sherlock::name_sherlock_nocase ... bench: 1,281,293 ns/iter (+/- 13,129) = 464 MB/s
test bench_sherlock::name_whitespace ... bench: 60,463 ns/iter (+/- 815) = 9839 MB/s
test bench_sherlock::no_match_common ... bench: 568,357 ns/iter (+/- 11,237) = 1046 MB/s
test bench_sherlock::no_match_uncommon ... bench: 23,656 ns/iter (+/- 340) = 25149 MB/s
test bench_sherlock::quotes ... bench: 977,907 ns/iter (+/- 13,926) = 608 MB/s
test bench_sherlock::the_lower ... bench: 794,285 ns/iter (+/- 8,513) = 749 MB/s
test bench_sherlock::the_nocase ... bench: 1,837,240 ns/iter (+/- 22,738) = 323 MB/s
test bench_sherlock::the_upper ... bench: 54,083 ns/iter (+/- 1,153) = 11000 MB/s
test bench_sherlock::the_whitespace ... bench: 1,986,579 ns/iter (+/- 9,292) = 299 MB/s
test bench_sherlock::word_ending_n ... bench: 55,205,101 ns/iter (+/- 93,542) = 10 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 67 measured

View file

@ -0,0 +1,85 @@
Compiling regex v0.1.48 (file:///home/andrew/data/projects/rust/regex)
src/dfa.rs:73:1: 94:2 warning: function is never used: `can_exec`, #[warn(dead_code)] on by default
src/dfa.rs:73 pub fn can_exec(insts: &Insts) -> bool {
src/dfa.rs:74 use inst::EmptyLook::*;
src/dfa.rs:75 // If for some reason we manage to allocate a regex program with more
src/dfa.rs:76 // than 2^32-1 instructions, then we can't execute the DFA because we
src/dfa.rs:77 // use 32 bit pointers.
src/dfa.rs:78 if insts.len() > ::std::u32::MAX as usize {
...
src/exec.rs:12:11: 12:15 warning: unused import, #[warn(unused_imports)] on by default
src/exec.rs:12 use dfa::{self, Dfa, DfaResult};
^~~~
Running target/release/dynamic-e87a67d7ea67f0eb
running 67 tests
test bench::anchored_literal_long_match ... bench: 169 ns/iter (+/- 1) = 2307 MB/s
test bench::anchored_literal_long_non_match ... bench: 85 ns/iter (+/- 0) = 4588 MB/s
test bench::anchored_literal_short_match ... bench: 158 ns/iter (+/- 3) = 164 MB/s
test bench::anchored_literal_short_non_match ... bench: 84 ns/iter (+/- 2) = 309 MB/s
test bench::easy0_1K ... bench: 318 ns/iter (+/- 2) = 3220 MB/s
test bench::easy0_1MB ... bench: 257,205 ns/iter (+/- 2,448) = 4076 MB/s
test bench::easy0_32 ... bench: 82 ns/iter (+/- 1) = 390 MB/s
test bench::easy0_32K ... bench: 8,666 ns/iter (+/- 104) = 3781 MB/s
test bench::easy1_1K ... bench: 293 ns/iter (+/- 2) = 3494 MB/s
test bench::easy1_1MB ... bench: 329,774 ns/iter (+/- 6,296) = 3179 MB/s
test bench::easy1_32 ... bench: 77 ns/iter (+/- 0) = 415 MB/s
test bench::easy1_32K ... bench: 8,856 ns/iter (+/- 93) = 3700 MB/s
test bench::hard_1K ... bench: 31,888 ns/iter (+/- 83) = 32 MB/s
test bench::hard_1MB ... bench: 58,435,108 ns/iter (+/- 64,537) = 17 MB/s
test bench::hard_32 ... bench: 1,048 ns/iter (+/- 12) = 30 MB/s
test bench::hard_32K ... bench: 1,033,930 ns/iter (+/- 4,224) = 31 MB/s
test bench::literal ... bench: 20 ns/iter (+/- 0) = 2550 MB/s
test bench::match_class ... bench: 84 ns/iter (+/- 0) = 964 MB/s
test bench::match_class_in_range ... bench: 33 ns/iter (+/- 0) = 2454 MB/s
test bench::match_class_unicode ... bench: 2,218 ns/iter (+/- 8) = 72 MB/s
test bench::medium_1K ... bench: 1,368 ns/iter (+/- 9) = 748 MB/s
test bench::medium_1MB ... bench: 2,034,481 ns/iter (+/- 3,608) = 515 MB/s
test bench::medium_32 ... bench: 141 ns/iter (+/- 0) = 226 MB/s
test bench::medium_32K ... bench: 59,949 ns/iter (+/- 421) = 546 MB/s
test bench::no_exponential ... bench: 336,653 ns/iter (+/- 1,757)
test bench::not_literal ... bench: 1,247 ns/iter (+/- 5) = 40 MB/s
test bench::one_pass_long_prefix ... bench: 264 ns/iter (+/- 2) = 98 MB/s
test bench::one_pass_long_prefix_not ... bench: 267 ns/iter (+/- 1) = 97 MB/s
test bench::one_pass_short ... bench: 768 ns/iter (+/- 5) = 22 MB/s
test bench::one_pass_short_not ... bench: 797 ns/iter (+/- 20) = 21 MB/s
test bench::replace_all ... bench: 149 ns/iter (+/- 0)
test bench_dynamic_compile::compile_huge ... bench: 161,349 ns/iter (+/- 1,462)
test bench_dynamic_compile::compile_huge_bytes ... bench: 18,050,519 ns/iter (+/- 105,846)
test bench_dynamic_compile::compile_simple ... bench: 6,664 ns/iter (+/- 390)
test bench_dynamic_compile::compile_simple_bytes ... bench: 7,035 ns/iter (+/- 370)
test bench_dynamic_compile::compile_small ... bench: 8,914 ns/iter (+/- 347)
test bench_dynamic_compile::compile_small_bytes ... bench: 186,970 ns/iter (+/- 2,134)
test bench_dynamic_parse::parse_huge ... bench: 1,238 ns/iter (+/- 11)
test bench_dynamic_parse::parse_simple ... bench: 2,005 ns/iter (+/- 19)
test bench_dynamic_parse::parse_small ... bench: 2,494 ns/iter (+/- 11)
test bench_sherlock::before_holmes ... bench: 42,005,594 ns/iter (+/- 57,752) = 14 MB/s
test bench_sherlock::everything_greedy ... bench: 38,431,063 ns/iter (+/- 28,840) = 15 MB/s
test bench_sherlock::everything_greedy_nl ... bench: 32,003,966 ns/iter (+/- 50,270) = 18 MB/s
test bench_sherlock::holmes_cochar_watson ... bench: 1,457,068 ns/iter (+/- 3,202) = 408 MB/s
test bench_sherlock::holmes_coword_watson ... bench: 136,035,549 ns/iter (+/- 75,381) = 4 MB/s
test bench_sherlock::line_boundary_sherlock_holmes ... bench: 33,024,291 ns/iter (+/- 67,902) = 18 MB/s
test bench_sherlock::name_alt1 ... bench: 157,989 ns/iter (+/- 917) = 3765 MB/s
test bench_sherlock::name_alt2 ... bench: 545,254 ns/iter (+/- 1,908) = 1091 MB/s
test bench_sherlock::name_alt3 ... bench: 2,245,964 ns/iter (+/- 2,478) = 264 MB/s
test bench_sherlock::name_alt3_nocase ... bench: 4,792,290 ns/iter (+/- 31,760) = 124 MB/s
test bench_sherlock::name_alt4 ... bench: 584,204 ns/iter (+/- 2,084) = 1018 MB/s
test bench_sherlock::name_alt4_nocase ... bench: 2,318,020 ns/iter (+/- 8,493) = 256 MB/s
test bench_sherlock::name_holmes ... bench: 51,880 ns/iter (+/- 299) = 11467 MB/s
test bench_sherlock::name_holmes_nocase ... bench: 1,414,500 ns/iter (+/- 2,497) = 420 MB/s
test bench_sherlock::name_sherlock ... bench: 34,294 ns/iter (+/- 349) = 17348 MB/s
test bench_sherlock::name_sherlock_holmes ... bench: 34,531 ns/iter (+/- 199) = 17228 MB/s
test bench_sherlock::name_sherlock_holmes_nocase ... bench: 1,692,651 ns/iter (+/- 8,846) = 351 MB/s
test bench_sherlock::name_sherlock_nocase ... bench: 1,657,413 ns/iter (+/- 5,534) = 358 MB/s
test bench_sherlock::name_whitespace ... bench: 131,372 ns/iter (+/- 605) = 4528 MB/s
test bench_sherlock::no_match_common ... bench: 567,065 ns/iter (+/- 2,763) = 1049 MB/s
test bench_sherlock::no_match_uncommon ... bench: 23,782 ns/iter (+/- 85) = 25016 MB/s
test bench_sherlock::quotes ... bench: 11,251,366 ns/iter (+/- 24,960) = 52 MB/s
test bench_sherlock::the_lower ... bench: 789,781 ns/iter (+/- 2,072) = 753 MB/s
test bench_sherlock::the_nocase ... bench: 1,807,509 ns/iter (+/- 4,685) = 329 MB/s
test bench_sherlock::the_upper ... bench: 53,542 ns/iter (+/- 198) = 11111 MB/s
test bench_sherlock::the_whitespace ... bench: 5,410,444 ns/iter (+/- 14,766) = 109 MB/s
test bench_sherlock::word_ending_n ... bench: 56,017,874 ns/iter (+/- 60,047) = 10 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 67 measured

View file

@ -0,0 +1,65 @@
Compiling regex_macros v0.1.28 (file:///home/andrew/data/projects/rust/regex/regex_macros)
Running regex_macros/target/release/native-f2ffefeeda527264
running 58 tests
test bench::anchored_literal_long_match ... bench: 189 ns/iter (+/- 16) = 2063 MB/s
test bench::anchored_literal_long_non_match ... bench: 47 ns/iter (+/- 1) = 8297 MB/s
test bench::anchored_literal_short_match ... bench: 177 ns/iter (+/- 5) = 146 MB/s
test bench::anchored_literal_short_non_match ... bench: 46 ns/iter (+/- 1) = 565 MB/s
test bench::easy0_1K ... bench: 26,578 ns/iter (+/- 1,140) = 38 MB/s
test bench::easy0_1MB ... bench: 27,229,730 ns/iter (+/- 261,126) = 38 MB/s
test bench::easy0_32 ... bench: 867 ns/iter (+/- 45) = 36 MB/s
test bench::easy0_32K ... bench: 847,113 ns/iter (+/- 276,910) = 38 MB/s
test bench::easy1_1K ... bench: 23,525 ns/iter (+/- 278) = 43 MB/s
test bench::easy1_1MB ... bench: 24,075,047 ns/iter (+/- 40,396) = 43 MB/s
test bench::easy1_32 ... bench: 767 ns/iter (+/- 14) = 41 MB/s
test bench::easy1_32K ... bench: 752,730 ns/iter (+/- 9,284) = 43 MB/s
test bench::hard_1K ... bench: 44,053 ns/iter (+/- 513) = 23 MB/s
test bench::hard_1MB ... bench: 44,982,170 ns/iter (+/- 76,683) = 23 MB/s
test bench::hard_32 ... bench: 1,418 ns/iter (+/- 26) = 22 MB/s
test bench::hard_32K ... bench: 1,407,013 ns/iter (+/- 13,426) = 23 MB/s
test bench::literal ... bench: 1,202 ns/iter (+/- 16) = 42 MB/s
test bench::match_class ... bench: 2,057 ns/iter (+/- 29) = 39 MB/s
test bench::match_class_in_range ... bench: 2,060 ns/iter (+/- 34) = 39 MB/s
test bench::match_class_unicode ... bench: 12,945 ns/iter (+/- 156) = 12 MB/s
test bench::medium_1K ... bench: 27,874 ns/iter (+/- 315) = 36 MB/s
test bench::medium_1MB ... bench: 28,614,500 ns/iter (+/- 544,256) = 36 MB/s
test bench::medium_32 ... bench: 896 ns/iter (+/- 85) = 35 MB/s
test bench::medium_32K ... bench: 892,349 ns/iter (+/- 35,511) = 36 MB/s
test bench::no_exponential ... bench: 319,270 ns/iter (+/- 19,837)
test bench::not_literal ... bench: 1,477 ns/iter (+/- 104) = 34 MB/s
test bench::one_pass_long_prefix ... bench: 653 ns/iter (+/- 10) = 39 MB/s
test bench::one_pass_long_prefix_not ... bench: 651 ns/iter (+/- 6) = 39 MB/s
test bench::one_pass_short ... bench: 1,016 ns/iter (+/- 24) = 16 MB/s
test bench::one_pass_short_not ... bench: 1,588 ns/iter (+/- 28) = 10 MB/s
test bench::replace_all ... bench: 1,078 ns/iter (+/- 55)
test bench_sherlock::before_holmes ... bench: 54,264,124 ns/iter (+/- 564,692) = 10 MB/s
test bench_sherlock::everything_greedy ... bench: 22,724,158 ns/iter (+/- 44,361) = 26 MB/s
test bench_sherlock::everything_greedy_nl ... bench: 22,168,804 ns/iter (+/- 66,296) = 26 MB/s
test bench_sherlock::holmes_cochar_watson ... bench: 24,791,824 ns/iter (+/- 37,522) = 23 MB/s
test bench_sherlock::holmes_coword_watson ... bench: 885,999,793 ns/iter (+/- 39,704,278)
test bench_sherlock::line_boundary_sherlock_holmes ... bench: 25,113,805 ns/iter (+/- 672,050) = 23 MB/s
test bench_sherlock::name_alt1 ... bench: 23,382,716 ns/iter (+/- 3,696,517) = 25 MB/s
test bench_sherlock::name_alt2 ... bench: 23,585,220 ns/iter (+/- 3,724,922) = 25 MB/s
test bench_sherlock::name_alt3 ... bench: 80,283,635 ns/iter (+/- 3,165,029) = 7 MB/s
test bench_sherlock::name_alt3_nocase ... bench: 77,357,394 ns/iter (+/- 268,133) = 7 MB/s
test bench_sherlock::name_alt4 ... bench: 22,736,520 ns/iter (+/- 43,231) = 26 MB/s
test bench_sherlock::name_alt4_nocase ... bench: 26,921,524 ns/iter (+/- 140,162) = 22 MB/s
test bench_sherlock::name_holmes ... bench: 15,145,735 ns/iter (+/- 65,980) = 39 MB/s
test bench_sherlock::name_holmes_nocase ... bench: 16,285,042 ns/iter (+/- 71,956) = 36 MB/s
test bench_sherlock::name_sherlock ... bench: 16,189,653 ns/iter (+/- 99,929) = 36 MB/s
test bench_sherlock::name_sherlock_holmes ... bench: 14,975,742 ns/iter (+/- 118,052) = 39 MB/s
test bench_sherlock::name_sherlock_holmes_nocase ... bench: 16,904,928 ns/iter (+/- 201,104) = 35 MB/s
test bench_sherlock::name_sherlock_nocase ... bench: 16,335,907 ns/iter (+/- 118,725) = 36 MB/s
test bench_sherlock::name_whitespace ... bench: 14,837,905 ns/iter (+/- 52,201) = 40 MB/s
test bench_sherlock::no_match_common ... bench: 16,036,625 ns/iter (+/- 108,268) = 37 MB/s
test bench_sherlock::no_match_uncommon ... bench: 15,278,356 ns/iter (+/- 81,123) = 38 MB/s
test bench_sherlock::quotes ... bench: 21,580,801 ns/iter (+/- 198,772) = 27 MB/s
test bench_sherlock::the_lower ... bench: 16,059,120 ns/iter (+/- 160,640) = 37 MB/s
test bench_sherlock::the_nocase ... bench: 17,376,836 ns/iter (+/- 103,371) = 34 MB/s
test bench_sherlock::the_upper ... bench: 15,259,087 ns/iter (+/- 93,807) = 38 MB/s
test bench_sherlock::the_whitespace ... bench: 18,835,951 ns/iter (+/- 160,674) = 31 MB/s
test bench_sherlock::word_ending_n ... bench: 59,832,390 ns/iter (+/- 4,478,911) = 9 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 58 measured

View file

@ -0,0 +1,74 @@
Compiling regex v0.1.48 (file:///home/andrew/data/projects/rust/regex)
Running target/release/dynamic_nfa-1e40ce11bcb7c666
running 67 tests
test bench::anchored_literal_long_match ... bench: 306 ns/iter (+/- 6) = 1274 MB/s
test bench::anchored_literal_long_non_match ... bench: 95 ns/iter (+/- 1) = 4105 MB/s
test bench::anchored_literal_short_match ... bench: 315 ns/iter (+/- 2) = 82 MB/s
test bench::anchored_literal_short_non_match ... bench: 96 ns/iter (+/- 2) = 270 MB/s
test bench::easy0_1K ... bench: 206 ns/iter (+/- 1) = 4970 MB/s
test bench::easy0_1MB ... bench: 255,834 ns/iter (+/- 1,273) = 4098 MB/s
test bench::easy0_32 ... bench: 72 ns/iter (+/- 2) = 444 MB/s
test bench::easy0_32K ... bench: 5,315 ns/iter (+/- 25) = 6165 MB/s
test bench::easy1_1K ... bench: 274 ns/iter (+/- 0) = 3737 MB/s
test bench::easy1_1MB ... bench: 337,047 ns/iter (+/- 1,972) = 3111 MB/s
test bench::easy1_32 ... bench: 76 ns/iter (+/- 2) = 421 MB/s
test bench::easy1_32K ... bench: 6,111 ns/iter (+/- 39) = 5362 MB/s
test bench::hard_1K ... bench: 59,596 ns/iter (+/- 264) = 17 MB/s
test bench::hard_1MB ... bench: 58,947,188 ns/iter (+/- 205,874) = 17 MB/s
test bench::hard_32 ... bench: 1,978 ns/iter (+/- 22) = 16 MB/s
test bench::hard_32K ... bench: 1,846,347 ns/iter (+/- 14,253) = 17 MB/s
test bench::literal ... bench: 172 ns/iter (+/- 1) = 296 MB/s
test bench::match_class ... bench: 240 ns/iter (+/- 1) = 337 MB/s
test bench::match_class_in_range ... bench: 190 ns/iter (+/- 2) = 426 MB/s
test bench::match_class_unicode ... bench: 4,145 ns/iter (+/- 24) = 38 MB/s
test bench::medium_1K ... bench: 1,195 ns/iter (+/- 8) = 856 MB/s
test bench::medium_1MB ... bench: 2,028,649 ns/iter (+/- 11,235) = 516 MB/s
test bench::medium_32 ... bench: 84 ns/iter (+/- 0) = 380 MB/s
test bench::medium_32K ... bench: 56,134 ns/iter (+/- 369) = 583 MB/s
test bench::no_exponential ... bench: 536 ns/iter (+/- 4) = 186 MB/s
test bench::not_literal ... bench: 2,428 ns/iter (+/- 31) = 21 MB/s
test bench::one_pass_long_prefix ... bench: 756 ns/iter (+/- 2) = 34 MB/s
test bench::one_pass_long_prefix_not ... bench: 756 ns/iter (+/- 12) = 34 MB/s
test bench::one_pass_short ... bench: 1,813 ns/iter (+/- 5) = 9 MB/s
test bench::one_pass_short_not ... bench: 2,588 ns/iter (+/- 8) = 6 MB/s
test bench::replace_all ... bench: 905 ns/iter (+/- 7)
test bench_dynamic_compile::compile_huge ... bench: 161,517 ns/iter (+/- 1,287)
test bench_dynamic_compile::compile_huge_bytes ... bench: 18,395,715 ns/iter (+/- 98,986)
test bench_dynamic_compile::compile_simple ... bench: 6,623 ns/iter (+/- 296)
test bench_dynamic_compile::compile_simple_bytes ... bench: 7,047 ns/iter (+/- 232)
test bench_dynamic_compile::compile_small ... bench: 8,948 ns/iter (+/- 526)
test bench_dynamic_compile::compile_small_bytes ... bench: 186,796 ns/iter (+/- 817)
test bench_dynamic_parse::parse_huge ... bench: 1,238 ns/iter (+/- 6)
test bench_dynamic_parse::parse_simple ... bench: 1,977 ns/iter (+/- 12)
test bench_dynamic_parse::parse_small ... bench: 2,502 ns/iter (+/- 18)
test bench_sherlock::before_holmes ... bench: 45,045,123 ns/iter (+/- 261,188) = 13 MB/s
test bench_sherlock::everything_greedy ... bench: 38,685,654 ns/iter (+/- 107,136) = 15 MB/s
test bench_sherlock::everything_greedy_nl ... bench: 36,407,787 ns/iter (+/- 160,253) = 16 MB/s
test bench_sherlock::holmes_cochar_watson ... bench: 1,417,371 ns/iter (+/- 6,533) = 419 MB/s
test bench_sherlock::holmes_coword_watson ... bench: 139,298,695 ns/iter (+/- 154,012) = 4 MB/s
test bench_sherlock::line_boundary_sherlock_holmes ... bench: 32,734,005 ns/iter (+/- 98,729) = 18 MB/s
test bench_sherlock::name_alt1 ... bench: 153,016 ns/iter (+/- 739) = 3888 MB/s
test bench_sherlock::name_alt2 ... bench: 534,038 ns/iter (+/- 1,909) = 1114 MB/s
test bench_sherlock::name_alt3 ... bench: 2,220,778 ns/iter (+/- 6,374) = 267 MB/s
test bench_sherlock::name_alt3_nocase ... bench: 4,744,134 ns/iter (+/- 11,703) = 125 MB/s
test bench_sherlock::name_alt4 ... bench: 569,971 ns/iter (+/- 2,256) = 1043 MB/s
test bench_sherlock::name_alt4_nocase ... bench: 2,324,966 ns/iter (+/- 3,082) = 255 MB/s
test bench_sherlock::name_holmes ... bench: 268,146 ns/iter (+/- 1,238) = 2218 MB/s
test bench_sherlock::name_holmes_nocase ... bench: 1,409,583 ns/iter (+/- 2,808) = 422 MB/s
test bench_sherlock::name_sherlock ... bench: 95,280 ns/iter (+/- 316) = 6244 MB/s
test bench_sherlock::name_sherlock_holmes ... bench: 116,097 ns/iter (+/- 461) = 5124 MB/s
test bench_sherlock::name_sherlock_holmes_nocase ... bench: 1,691,210 ns/iter (+/- 3,712) = 351 MB/s
test bench_sherlock::name_sherlock_nocase ... bench: 1,651,722 ns/iter (+/- 7,070) = 360 MB/s
test bench_sherlock::name_whitespace ... bench: 130,960 ns/iter (+/- 923) = 4542 MB/s
test bench_sherlock::no_match_common ... bench: 568,008 ns/iter (+/- 1,723) = 1047 MB/s
test bench_sherlock::no_match_uncommon ... bench: 23,669 ns/iter (+/- 84) = 25135 MB/s
test bench_sherlock::quotes ... bench: 11,055,260 ns/iter (+/- 24,883) = 53 MB/s
test bench_sherlock::the_lower ... bench: 2,934,498 ns/iter (+/- 4,553) = 202 MB/s
test bench_sherlock::the_nocase ... bench: 4,268,193 ns/iter (+/- 8,164) = 139 MB/s
test bench_sherlock::the_upper ... bench: 272,832 ns/iter (+/- 1,436) = 2180 MB/s
test bench_sherlock::the_whitespace ... bench: 5,409,934 ns/iter (+/- 7,678) = 109 MB/s
test bench_sherlock::word_ending_n ... bench: 55,252,656 ns/iter (+/- 68,442) = 10 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 67 measured

View file

@ -0,0 +1,60 @@
Compiling regex v0.1.48 (file:///home/andrew/data/projects/rust/regex)
Running target/release/pcre-781840b9a3e9c199
running 53 tests
test anchored_literal_long_match ... bench: 90 ns/iter (+/- 7) = 4333 MB/s
test anchored_literal_long_non_match ... bench: 60 ns/iter (+/- 2) = 6500 MB/s
test anchored_literal_short_match ... bench: 87 ns/iter (+/- 6) = 298 MB/s
test anchored_literal_short_non_match ... bench: 58 ns/iter (+/- 4) = 448 MB/s
test easy0_1K ... bench: 258 ns/iter (+/- 14) = 3968 MB/s
test easy0_1MB ... bench: 226,139 ns/iter (+/- 1,637) = 4636 MB/s
test easy0_32 ... bench: 60 ns/iter (+/- 7) = 533 MB/s
test easy0_32K ... bench: 7,028 ns/iter (+/- 120) = 4662 MB/s
test easy1_1K ... bench: 794 ns/iter (+/- 20) = 1289 MB/s
test easy1_1MB ... bench: 751,438 ns/iter (+/- 11,372) = 1395 MB/s
test easy1_32 ... bench: 71 ns/iter (+/- 3) = 450 MB/s
test easy1_32K ... bench: 23,042 ns/iter (+/- 1,453) = 1422 MB/s
test hard_1K ... bench: 30,841 ns/iter (+/- 1,287) = 33 MB/s
test hard_1MB ... bench: 35,239,100 ns/iter (+/- 632,179) = 29 MB/s
test hard_32 ... bench: 86 ns/iter (+/- 11) = 372 MB/s
test hard_32K ... bench: 993,011 ns/iter (+/- 63,648) = 32 MB/s
test literal ... bench: 130 ns/iter (+/- 11) = 392 MB/s
test match_class ... bench: 183 ns/iter (+/- 33) = 442 MB/s
test match_class_in_range ... bench: 175 ns/iter (+/- 18) = 462 MB/s
test match_class_unicode ... bench: 513 ns/iter (+/- 8) = 313 MB/s
test medium_1K ... bench: 278 ns/iter (+/- 6) = 3683 MB/s
test medium_1MB ... bench: 240,699 ns/iter (+/- 17,344) = 4356 MB/s
test medium_32 ... bench: 61 ns/iter (+/- 13) = 524 MB/s
test medium_32K ... bench: 7,369 ns/iter (+/- 105) = 4446 MB/s
test not_literal ... bench: 274 ns/iter (+/- 17) = 186 MB/s
test one_pass_long_prefix ... bench: 87 ns/iter (+/- 19) = 298 MB/s
test one_pass_long_prefix_not ... bench: 86 ns/iter (+/- 13) = 302 MB/s
test one_pass_short ... bench: 117 ns/iter (+/- 44) = 145 MB/s
test one_pass_short_not ... bench: 122 ns/iter (+/- 6) = 139 MB/s
test sherlock::before_holmes ... bench: 14,450,308 ns/iter (+/- 617,786) = 41 MB/s
test sherlock::holmes_cochar_watson ... bench: 546,919 ns/iter (+/- 4,880) = 1087 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 194,524 ns/iter (+/- 6,230) = 3058 MB/s
test sherlock::name_alt1 ... bench: 457,899 ns/iter (+/- 7,781) = 1299 MB/s
test sherlock::name_alt2 ... bench: 496,659 ns/iter (+/- 6,529) = 1197 MB/s
test sherlock::name_alt3 ... bench: 983,620 ns/iter (+/- 45,359) = 604 MB/s
test sherlock::name_alt3_nocase ... bench: 3,500,367 ns/iter (+/- 79,807) = 169 MB/s
test sherlock::name_alt4 ... bench: 972,128 ns/iter (+/- 22,195) = 611 MB/s
test sherlock::name_alt4_nocase ... bench: 1,877,017 ns/iter (+/- 39,079) = 316 MB/s
test sherlock::name_holmes ... bench: 398,258 ns/iter (+/- 4,338) = 1493 MB/s
test sherlock::name_holmes_nocase ... bench: 492,292 ns/iter (+/- 4,667) = 1208 MB/s
test sherlock::name_sherlock ... bench: 268,891 ns/iter (+/- 18,063) = 2212 MB/s
test sherlock::name_sherlock_holmes ... bench: 197,067 ns/iter (+/- 8,027) = 3018 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,112,501 ns/iter (+/- 44,457) = 534 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,332,423 ns/iter (+/- 39,227) = 446 MB/s
test sherlock::name_whitespace ... bench: 267,257 ns/iter (+/- 964) = 2226 MB/s
test sherlock::no_match_common ... bench: 595,211 ns/iter (+/- 3,739) = 999 MB/s
test sherlock::no_match_uncommon ... bench: 584,057 ns/iter (+/- 6,825) = 1018 MB/s
test sherlock::quotes ... bench: 1,208,235 ns/iter (+/- 37,629) = 492 MB/s
test sherlock::the_lower ... bench: 1,210,851 ns/iter (+/- 35,900) = 491 MB/s
test sherlock::the_nocase ... bench: 1,286,611 ns/iter (+/- 35,689) = 462 MB/s
test sherlock::the_upper ... bench: 776,113 ns/iter (+/- 6,236) = 766 MB/s
test sherlock::the_whitespace ... bench: 1,368,468 ns/iter (+/- 135,282) = 434 MB/s
test sherlock::word_ending_n ... bench: 12,018,618 ns/iter (+/- 266,497) = 49 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 53 measured

View file

@ -0,0 +1,78 @@
Compiling regex v0.1.52 (file:///home/andrew/data/projects/rust/regex)
Running target/release/dynamic-a76738dddf3bdc6b
running 71 tests
test misc::anchored_literal_long_match ... bench: 74 ns/iter (+/- 8) = 5270 MB/s
test misc::anchored_literal_long_non_match ... bench: 58 ns/iter (+/- 0) = 6724 MB/s
test misc::anchored_literal_short_match ... bench: 73 ns/iter (+/- 0) = 356 MB/s
test misc::anchored_literal_short_non_match ... bench: 58 ns/iter (+/- 0) = 448 MB/s
test misc::easy0_1K ... bench: 214 ns/iter (+/- 2) = 4785 MB/s
test misc::easy0_1MB ... bench: 247,056 ns/iter (+/- 1,777) = 4244 MB/s
test misc::easy0_32 ... bench: 64 ns/iter (+/- 0) = 500 MB/s
test misc::easy0_32K ... bench: 5,281 ns/iter (+/- 29) = 6204 MB/s
test misc::easy1_1K ... bench: 278 ns/iter (+/- 5) = 3683 MB/s
test misc::easy1_1MB ... bench: 320,041 ns/iter (+/- 4,243) = 3276 MB/s
test misc::easy1_32 ... bench: 65 ns/iter (+/- 0) = 492 MB/s
test misc::easy1_32K ... bench: 5,885 ns/iter (+/- 83) = 5568 MB/s
test misc::hard_1K ... bench: 4,685 ns/iter (+/- 20) = 218 MB/s
test misc::hard_1MB ... bench: 4,745,020 ns/iter (+/- 19,440) = 220 MB/s
test misc::hard_32 ... bench: 197 ns/iter (+/- 1) = 162 MB/s
test misc::hard_32K ... bench: 147,409 ns/iter (+/- 656) = 222 MB/s
test misc::literal ... bench: 20 ns/iter (+/- 1) = 2550 MB/s
test misc::match_class ... bench: 86 ns/iter (+/- 3) = 941 MB/s
test misc::match_class_in_range ... bench: 32 ns/iter (+/- 2) = 2531 MB/s
test misc::match_class_unicode ... bench: 801 ns/iter (+/- 36) = 200 MB/s
test misc::medium_1K ... bench: 1,213 ns/iter (+/- 237) = 844 MB/s
test misc::medium_1MB ... bench: 1,991,418 ns/iter (+/- 239,612) = 526 MB/s
test misc::medium_32 ... bench: 100 ns/iter (+/- 8) = 320 MB/s
test misc::medium_32K ... bench: 57,080 ns/iter (+/- 709) = 574 MB/s
test misc::no_exponential ... bench: 522 ns/iter (+/- 17) = 191 MB/s
test misc::not_literal ... bench: 290 ns/iter (+/- 6) = 175 MB/s
test misc::one_pass_long_prefix ... bench: 176 ns/iter (+/- 15) = 147 MB/s
test misc::one_pass_long_prefix_not ... bench: 183 ns/iter (+/- 28) = 142 MB/s
test misc::one_pass_short ... bench: 136 ns/iter (+/- 8) = 125 MB/s
test misc::one_pass_short_not ... bench: 135 ns/iter (+/- 14) = 125 MB/s
test misc::replace_all ... bench: 149 ns/iter (+/- 34)
test rust_compile::compile_huge ... bench: 158,759 ns/iter (+/- 4,546)
test rust_compile::compile_huge_bytes ... bench: 17,538,290 ns/iter (+/- 1,735,383)
test rust_compile::compile_simple ... bench: 5,935 ns/iter (+/- 429)
test rust_compile::compile_simple_bytes ... bench: 6,682 ns/iter (+/- 293)
test rust_compile::compile_small ... bench: 7,664 ns/iter (+/- 473)
test rust_compile::compile_small_bytes ... bench: 175,272 ns/iter (+/- 4,492)
test rust_parse::parse_huge ... bench: 1,199 ns/iter (+/- 38)
test rust_parse::parse_simple ... bench: 1,849 ns/iter (+/- 28)
test rust_parse::parse_small ... bench: 2,470 ns/iter (+/- 35)
test sherlock::before_holmes ... bench: 2,750,028 ns/iter (+/- 21,847) = 216 MB/s
test sherlock::everything_greedy ... bench: 7,896,337 ns/iter (+/- 68,883) = 75 MB/s
test sherlock::everything_greedy_nl ... bench: 5,498,247 ns/iter (+/- 65,952) = 108 MB/s
test sherlock::holmes_cochar_watson ... bench: 260,499 ns/iter (+/- 4,984) = 2283 MB/s
test sherlock::holmes_coword_watson ... bench: 1,331,443 ns/iter (+/- 34,716) = 446 MB/s
test sherlock::letters ... bench: 60,985,848 ns/iter (+/- 592,838) = 9 MB/s
test sherlock::letters_lower ... bench: 59,041,695 ns/iter (+/- 186,034) = 10 MB/s
test sherlock::letters_upper ... bench: 4,714,214 ns/iter (+/- 35,672) = 126 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 2,730,524 ns/iter (+/- 69,565) = 217 MB/s
test sherlock::name_alt1 ... bench: 41,866 ns/iter (+/- 682) = 14210 MB/s
test sherlock::name_alt2 ... bench: 194,322 ns/iter (+/- 6,628) = 3061 MB/s
test sherlock::name_alt3 ... bench: 1,252,965 ns/iter (+/- 18,828) = 474 MB/s
test sherlock::name_alt3_nocase ... bench: 1,476,169 ns/iter (+/- 14,557) = 403 MB/s
test sherlock::name_alt4 ... bench: 298,639 ns/iter (+/- 3,905) = 1992 MB/s
test sherlock::name_alt4_nocase ... bench: 1,426,191 ns/iter (+/- 23,584) = 417 MB/s
test sherlock::name_holmes ... bench: 49,719 ns/iter (+/- 811) = 11965 MB/s
test sherlock::name_holmes_nocase ... bench: 1,191,400 ns/iter (+/- 19,175) = 499 MB/s
test sherlock::name_sherlock ... bench: 34,091 ns/iter (+/- 877) = 17451 MB/s
test sherlock::name_sherlock_holmes ... bench: 33,785 ns/iter (+/- 1,207) = 17609 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,235,442 ns/iter (+/- 18,023) = 481 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,236,252 ns/iter (+/- 26,934) = 481 MB/s
test sherlock::name_whitespace ... bench: 60,200 ns/iter (+/- 1,873) = 9882 MB/s
test sherlock::no_match_common ... bench: 559,886 ns/iter (+/- 20,306) = 1062 MB/s
test sherlock::no_match_uncommon ... bench: 23,631 ns/iter (+/- 497) = 25175 MB/s
test sherlock::quotes ... bench: 967,379 ns/iter (+/- 12,856) = 614 MB/s
test sherlock::the_lower ... bench: 766,950 ns/iter (+/- 21,944) = 775 MB/s
test sherlock::the_nocase ... bench: 1,706,539 ns/iter (+/- 26,003) = 348 MB/s
test sherlock::the_upper ... bench: 52,529 ns/iter (+/- 1,208) = 11325 MB/s
test sherlock::the_whitespace ... bench: 2,012,952 ns/iter (+/- 26,968) = 295 MB/s
test sherlock::word_ending_n ... bench: 55,578,841 ns/iter (+/- 537,463) = 10 MB/s
test sherlock::words ... bench: 19,103,327 ns/iter (+/- 102,828) = 31 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 71 measured

View file

@ -0,0 +1,68 @@
Compiling regex-benchmark v0.1.0 (file:///home/andrew/data/projects/rust/regex/benches)
Running benches/target/release/onig-e3bc363aa56fb408
running 61 tests
test misc::anchored_literal_long_match ... bench: 70 ns/iter (+/- 1) = 5571 MB/s
test misc::anchored_literal_long_non_match ... bench: 424 ns/iter (+/- 4) = 919 MB/s
test misc::anchored_literal_short_match ... bench: 70 ns/iter (+/- 1) = 371 MB/s
test misc::anchored_literal_short_non_match ... bench: 38 ns/iter (+/- 0) = 684 MB/s
test misc::easy0_1K ... bench: 176 ns/iter (+/- 2) = 5818 MB/s
test misc::easy0_1MB ... bench: 163,547 ns/iter (+/- 1,451) = 6411 MB/s
test misc::easy0_32 ... bench: 20 ns/iter (+/- 1) = 1600 MB/s
test misc::easy0_32K ... bench: 5,056 ns/iter (+/- 64) = 6481 MB/s
test misc::easy1_1K ... bench: 4,103 ns/iter (+/- 11) = 249 MB/s
test misc::easy1_1MB ... bench: 4,198,406 ns/iter (+/- 62,171) = 249 MB/s
test misc::easy1_32 ... bench: 139 ns/iter (+/- 1) = 230 MB/s
test misc::easy1_32K ... bench: 131,083 ns/iter (+/- 1,310) = 249 MB/s
test misc::hard_1K ... bench: 163 ns/iter (+/- 3) = 6282 MB/s
test misc::hard_1MB ... bench: 163,910 ns/iter (+/- 2,368) = 6397 MB/s
test misc::hard_32 ... bench: 20 ns/iter (+/- 1) = 1600 MB/s
test misc::hard_32K ... bench: 5,002 ns/iter (+/- 306) = 6550 MB/s
test misc::literal ... bench: 226 ns/iter (+/- 0) = 225 MB/s
test misc::match_class ... bench: 337 ns/iter (+/- 2) = 240 MB/s
test misc::match_class_in_range ... bench: 337 ns/iter (+/- 1) = 240 MB/s
test misc::match_class_unicode ... bench: 2,004 ns/iter (+/- 26) = 80 MB/s
test misc::medium_1K ... bench: 191 ns/iter (+/- 2) = 5361 MB/s
test misc::medium_1MB ... bench: 164,027 ns/iter (+/- 2,494) = 6392 MB/s
test misc::medium_32 ... bench: 22 ns/iter (+/- 1) = 1454 MB/s
test misc::medium_32K ... bench: 4,962 ns/iter (+/- 60) = 6603 MB/s
test misc::not_literal ... bench: 359 ns/iter (+/- 5) = 142 MB/s
test misc::one_pass_long_prefix ... bench: 94 ns/iter (+/- 3) = 276 MB/s
test misc::one_pass_long_prefix_not ... bench: 101 ns/iter (+/- 1) = 257 MB/s
test misc::one_pass_short ... bench: 332 ns/iter (+/- 6) = 51 MB/s
test misc::one_pass_short_not ... bench: 318 ns/iter (+/- 4) = 53 MB/s
test sherlock::before_holmes ... bench: 70,859,542 ns/iter (+/- 594,306) = 8 MB/s
test sherlock::everything_greedy ... bench: 5,129,894 ns/iter (+/- 33,792) = 115 MB/s
test sherlock::holmes_cochar_watson ... bench: 2,388,047 ns/iter (+/- 19,666) = 249 MB/s
test sherlock::ing_suffix ... bench: 28,413,935 ns/iter (+/- 800,513) = 20 MB/s
test sherlock::ing_suffix_limited_space ... bench: 2,636,327 ns/iter (+/- 66,410) = 225 MB/s
test sherlock::letters ... bench: 26,471,724 ns/iter (+/- 872,994) = 22 MB/s
test sherlock::letters_lower ... bench: 26,124,489 ns/iter (+/- 556,750) = 22 MB/s
test sherlock::letters_upper ... bench: 11,268,144 ns/iter (+/- 338,510) = 52 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 195,797 ns/iter (+/- 1,621) = 3038 MB/s
test sherlock::name_alt1 ... bench: 2,100,763 ns/iter (+/- 16,823) = 283 MB/s
test sherlock::name_alt2 ... bench: 2,212,816 ns/iter (+/- 17,997) = 268 MB/s
test sherlock::name_alt3 ... bench: 3,031,567 ns/iter (+/- 35,631) = 196 MB/s
test sherlock::name_alt3_nocase ... bench: 39,737,911 ns/iter (+/- 166,863) = 14 MB/s
test sherlock::name_alt4 ... bench: 2,230,681 ns/iter (+/- 18,856) = 266 MB/s
test sherlock::name_alt4_nocase ... bench: 8,294,698 ns/iter (+/- 36,887) = 71 MB/s
test sherlock::name_holmes ... bench: 402,600 ns/iter (+/- 6,232) = 1477 MB/s
test sherlock::name_holmes_nocase ... bench: 4,074,155 ns/iter (+/- 23,317) = 146 MB/s
test sherlock::name_sherlock ... bench: 270,225 ns/iter (+/- 2,815) = 2201 MB/s
test sherlock::name_sherlock_holmes ... bench: 196,502 ns/iter (+/- 2,168) = 3027 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 4,397,347 ns/iter (+/- 28,567) = 135 MB/s
test sherlock::name_sherlock_nocase ... bench: 4,400,574 ns/iter (+/- 25,127) = 135 MB/s
test sherlock::name_whitespace ... bench: 274,462 ns/iter (+/- 3,180) = 2167 MB/s
test sherlock::no_match_common ... bench: 596,601 ns/iter (+/- 9,285) = 997 MB/s
test sherlock::no_match_uncommon ... bench: 586,258 ns/iter (+/- 7,702) = 1014 MB/s
test sherlock::quotes ... bench: 4,069,570 ns/iter (+/- 20,372) = 146 MB/s
test sherlock::repeated_class_negation ... bench: 44,936,445 ns/iter (+/- 103,467) = 13 MB/s
test sherlock::the_lower ... bench: 1,300,513 ns/iter (+/- 12,884) = 457 MB/s
test sherlock::the_nocase ... bench: 5,141,237 ns/iter (+/- 25,487) = 115 MB/s
test sherlock::the_upper ... bench: 821,454 ns/iter (+/- 13,420) = 724 MB/s
test sherlock::the_whitespace ... bench: 2,009,530 ns/iter (+/- 14,082) = 296 MB/s
test sherlock::word_ending_n ... bench: 27,847,316 ns/iter (+/- 47,618) = 21 MB/s
test sherlock::words ... bench: 21,105,627 ns/iter (+/- 33,436) = 28 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 61 measured

View file

@ -0,0 +1,66 @@
Running benches/target/release/pcre-855c18fb35cdf072
running 60 tests
test misc::anchored_literal_long_match ... bench: 88 ns/iter (+/- 12) = 4431 MB/s
test misc::anchored_literal_long_non_match ... bench: 58 ns/iter (+/- 1) = 6724 MB/s
test misc::anchored_literal_short_match ... bench: 88 ns/iter (+/- 1) = 295 MB/s
test misc::anchored_literal_short_non_match ... bench: 60 ns/iter (+/- 3) = 433 MB/s
test misc::easy0_1K ... bench: 266 ns/iter (+/- 1) = 3849 MB/s
test misc::easy0_1MB ... bench: 227,366 ns/iter (+/- 794) = 4611 MB/s
test misc::easy0_32 ... bench: 62 ns/iter (+/- 2) = 516 MB/s
test misc::easy0_32K ... bench: 7,061 ns/iter (+/- 109) = 4640 MB/s
test misc::easy1_1K ... bench: 805 ns/iter (+/- 10) = 1272 MB/s
test misc::easy1_1MB ... bench: 751,948 ns/iter (+/- 6,995) = 1394 MB/s
test misc::easy1_32 ... bench: 71 ns/iter (+/- 1) = 450 MB/s
test misc::easy1_32K ... bench: 23,635 ns/iter (+/- 213) = 1386 MB/s
test misc::hard_1K ... bench: 31,008 ns/iter (+/- 299) = 33 MB/s
test misc::hard_1MB ... bench: 35,078,241 ns/iter (+/- 94,197) = 29 MB/s
test misc::hard_32 ... bench: 313 ns/iter (+/- 1) = 102 MB/s
test misc::hard_32K ... bench: 995,958 ns/iter (+/- 10,945) = 32 MB/s
test misc::literal ... bench: 130 ns/iter (+/- 1) = 392 MB/s
test misc::match_class ... bench: 176 ns/iter (+/- 2) = 460 MB/s
test misc::match_class_in_range ... bench: 178 ns/iter (+/- 1) = 455 MB/s
test misc::match_class_unicode ... bench: 511 ns/iter (+/- 6) = 315 MB/s
test misc::medium_1K ... bench: 275 ns/iter (+/- 4) = 3723 MB/s
test misc::medium_1MB ... bench: 239,603 ns/iter (+/- 1,808) = 4376 MB/s
test misc::medium_32 ... bench: 62 ns/iter (+/- 1) = 516 MB/s
test misc::medium_32K ... bench: 7,385 ns/iter (+/- 43) = 4437 MB/s
test misc::not_literal ... bench: 274 ns/iter (+/- 3) = 186 MB/s
test misc::one_pass_long_prefix ... bench: 87 ns/iter (+/- 1) = 298 MB/s
test misc::one_pass_long_prefix_not ... bench: 88 ns/iter (+/- 0) = 295 MB/s
test misc::one_pass_short ... bench: 115 ns/iter (+/- 0) = 147 MB/s
test misc::one_pass_short_not ... bench: 118 ns/iter (+/- 0) = 144 MB/s
test sherlock::before_holmes ... bench: 14,338,348 ns/iter (+/- 23,734) = 41 MB/s
test sherlock::holmes_cochar_watson ... bench: 547,196 ns/iter (+/- 4,100) = 1087 MB/s
test sherlock::ing_suffix ... bench: 6,012,620 ns/iter (+/- 51,777) = 98 MB/s
test sherlock::ing_suffix_limited_space ... bench: 6,374,577 ns/iter (+/- 46,486) = 93 MB/s
test sherlock::letters ... bench: 28,575,184 ns/iter (+/- 65,051) = 20 MB/s
test sherlock::letters_lower ... bench: 25,819,606 ns/iter (+/- 180,823) = 23 MB/s
test sherlock::letters_upper ... bench: 3,227,381 ns/iter (+/- 11,443) = 184 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 193,512 ns/iter (+/- 1,316) = 3074 MB/s
test sherlock::name_alt1 ... bench: 454,510 ns/iter (+/- 2,721) = 1308 MB/s
test sherlock::name_alt2 ... bench: 499,453 ns/iter (+/- 4,692) = 1191 MB/s
test sherlock::name_alt3 ... bench: 1,085,732 ns/iter (+/- 6,841) = 547 MB/s
test sherlock::name_alt3_nocase ... bench: 3,194,995 ns/iter (+/- 12,655) = 186 MB/s
test sherlock::name_alt4 ... bench: 944,353 ns/iter (+/- 12,661) = 629 MB/s
test sherlock::name_alt4_nocase ... bench: 1,646,368 ns/iter (+/- 12,376) = 361 MB/s
test sherlock::name_holmes ... bench: 395,019 ns/iter (+/- 3,929) = 1506 MB/s
test sherlock::name_holmes_nocase ... bench: 493,327 ns/iter (+/- 7,213) = 1205 MB/s
test sherlock::name_sherlock ... bench: 266,400 ns/iter (+/- 1,591) = 2233 MB/s
test sherlock::name_sherlock_holmes ... bench: 196,357 ns/iter (+/- 1,770) = 3029 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,259,747 ns/iter (+/- 4,939) = 472 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,128,970 ns/iter (+/- 6,730) = 526 MB/s
test sherlock::name_whitespace ... bench: 267,323 ns/iter (+/- 1,296) = 2225 MB/s
test sherlock::no_match_common ... bench: 595,372 ns/iter (+/- 5,690) = 999 MB/s
test sherlock::no_match_uncommon ... bench: 585,406 ns/iter (+/- 5,719) = 1016 MB/s
test sherlock::quotes ... bench: 1,223,528 ns/iter (+/- 6,579) = 486 MB/s
test sherlock::repeated_class_negation ... bench: 6,440,584 ns/iter (+/- 20,444) = 92 MB/s
test sherlock::the_lower ... bench: 1,220,999 ns/iter (+/- 7,595) = 487 MB/s
test sherlock::the_nocase ... bench: 1,263,078 ns/iter (+/- 15,321) = 471 MB/s
test sherlock::the_upper ... bench: 781,141 ns/iter (+/- 15,408) = 761 MB/s
test sherlock::the_whitespace ... bench: 1,383,414 ns/iter (+/- 548,289) = 430 MB/s
test sherlock::word_ending_n ... bench: 12,709,045 ns/iter (+/- 51,420) = 46 MB/s
test sherlock::words ... bench: 10,798,918 ns/iter (+/- 40,027) = 55 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 60 measured

View file

@ -0,0 +1,83 @@
Compiling regex-syntax v0.2.5 (file:///home/andrew/data/projects/rust/regex/benches)
Compiling regex v0.1.55 (file:///home/andrew/data/projects/rust/regex/benches)
Compiling regex-benchmark v0.1.0 (file:///home/andrew/data/projects/rust/regex/benches)
Running benches/target/release/rust-50db306d093e5666
running 74 tests
test misc::anchored_literal_long_match ... bench: 75 ns/iter (+/- 5) = 5200 MB/s
test misc::anchored_literal_long_non_match ... bench: 56 ns/iter (+/- 0) = 6964 MB/s
test misc::anchored_literal_short_match ... bench: 79 ns/iter (+/- 0) = 329 MB/s
test misc::anchored_literal_short_non_match ... bench: 56 ns/iter (+/- 1) = 464 MB/s
test misc::easy0_1K ... bench: 138 ns/iter (+/- 0) = 7420 MB/s
test misc::easy0_1MB ... bench: 247,159 ns/iter (+/- 724) = 4242 MB/s
test misc::easy0_32 ... bench: 71 ns/iter (+/- 0) = 450 MB/s
test misc::easy0_32K ... bench: 5,474 ns/iter (+/- 34) = 5986 MB/s
test misc::easy1_1K ... bench: 273 ns/iter (+/- 1) = 3750 MB/s
test misc::easy1_1MB ... bench: 317,946 ns/iter (+/- 2,512) = 3297 MB/s
test misc::easy1_32 ... bench: 67 ns/iter (+/- 0) = 477 MB/s
test misc::easy1_32K ... bench: 5,882 ns/iter (+/- 32) = 5570 MB/s
test misc::hard_1K ... bench: 4,713 ns/iter (+/- 13) = 217 MB/s
test misc::hard_1MB ... bench: 4,732,901 ns/iter (+/- 6,948) = 221 MB/s
test misc::hard_32 ... bench: 201 ns/iter (+/- 0) = 159 MB/s
test misc::hard_32K ... bench: 147,994 ns/iter (+/- 900) = 221 MB/s
test misc::literal ... bench: 19 ns/iter (+/- 0) = 2684 MB/s
test misc::match_class ... bench: 85 ns/iter (+/- 0) = 952 MB/s
test misc::match_class_in_range ... bench: 30 ns/iter (+/- 1) = 2700 MB/s
test misc::match_class_unicode ... bench: 806 ns/iter (+/- 2) = 199 MB/s
test misc::medium_1K ... bench: 1,384 ns/iter (+/- 10) = 739 MB/s
test misc::medium_1MB ... bench: 1,974,381 ns/iter (+/- 7,383) = 531 MB/s
test misc::medium_32 ... bench: 130 ns/iter (+/- 0) = 246 MB/s
test misc::medium_32K ... bench: 52,783 ns/iter (+/- 465) = 620 MB/s
test misc::no_exponential ... bench: 536 ns/iter (+/- 13) = 186 MB/s
test misc::not_literal ... bench: 293 ns/iter (+/- 1) = 174 MB/s
test misc::one_pass_long_prefix ... bench: 179 ns/iter (+/- 1) = 145 MB/s
test misc::one_pass_long_prefix_not ... bench: 180 ns/iter (+/- 2) = 144 MB/s
test misc::one_pass_short ... bench: 139 ns/iter (+/- 1) = 122 MB/s
test misc::one_pass_short_not ... bench: 142 ns/iter (+/- 1) = 119 MB/s
test misc::replace_all ... bench: 171 ns/iter (+/- 1)
test rust_compile::compile_huge ... bench: 126,158 ns/iter (+/- 1,790)
test rust_compile::compile_huge_bytes ... bench: 18,088,719 ns/iter (+/- 518,980)
test rust_compile::compile_simple ... bench: 6,141 ns/iter (+/- 394)
test rust_compile::compile_simple_bytes ... bench: 6,669 ns/iter (+/- 306)
test rust_compile::compile_small ... bench: 7,431 ns/iter (+/- 275)
test rust_compile::compile_small_bytes ... bench: 191,002 ns/iter (+/- 1,297)
test rust_parse::parse_huge ... bench: 1,204 ns/iter (+/- 9)
test rust_parse::parse_simple ... bench: 1,905 ns/iter (+/- 16)
test rust_parse::parse_small ... bench: 2,454 ns/iter (+/- 24)
test sherlock::before_holmes ... bench: 2,748,082 ns/iter (+/- 11,406) = 216 MB/s
test sherlock::everything_greedy ... bench: 7,833,414 ns/iter (+/- 42,538) = 75 MB/s
test sherlock::everything_greedy_nl ... bench: 5,426,141 ns/iter (+/- 31,378) = 109 MB/s
test sherlock::holmes_cochar_watson ... bench: 262,322 ns/iter (+/- 5,243) = 2267 MB/s
test sherlock::holmes_coword_watson ... bench: 1,324,677 ns/iter (+/- 21,666) = 449 MB/s
test sherlock::ing_suffix ... bench: 3,179,928 ns/iter (+/- 40,246) = 187 MB/s
test sherlock::ing_suffix_limited_space ... bench: 3,525,004 ns/iter (+/- 37,262) = 168 MB/s
test sherlock::letters ... bench: 60,268,445 ns/iter (+/- 1,958,610) = 9 MB/s
test sherlock::letters_lower ... bench: 57,743,679 ns/iter (+/- 84,675) = 10 MB/s
test sherlock::letters_upper ... bench: 4,549,709 ns/iter (+/- 9,312) = 130 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 2,690,794 ns/iter (+/- 2,796) = 221 MB/s
test sherlock::name_alt1 ... bench: 42,476 ns/iter (+/- 346) = 14006 MB/s
test sherlock::name_alt2 ... bench: 199,058 ns/iter (+/- 1,498) = 2988 MB/s
test sherlock::name_alt3 ... bench: 1,248,439 ns/iter (+/- 3,051) = 476 MB/s
test sherlock::name_alt3_nocase ... bench: 1,463,628 ns/iter (+/- 2,799) = 406 MB/s
test sherlock::name_alt4 ... bench: 296,390 ns/iter (+/- 798) = 2007 MB/s
test sherlock::name_alt4_nocase ... bench: 1,415,770 ns/iter (+/- 3,400) = 420 MB/s
test sherlock::name_holmes ... bench: 49,713 ns/iter (+/- 317) = 11967 MB/s
test sherlock::name_holmes_nocase ... bench: 1,181,147 ns/iter (+/- 2,842) = 503 MB/s
test sherlock::name_sherlock ... bench: 34,263 ns/iter (+/- 136) = 17363 MB/s
test sherlock::name_sherlock_holmes ... bench: 34,179 ns/iter (+/- 188) = 17406 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,236,384 ns/iter (+/- 5,012) = 481 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,232,613 ns/iter (+/- 5,009) = 482 MB/s
test sherlock::name_whitespace ... bench: 60,024 ns/iter (+/- 187) = 9911 MB/s
test sherlock::no_match_common ... bench: 558,607 ns/iter (+/- 2,595) = 1065 MB/s
test sherlock::no_match_uncommon ... bench: 24,049 ns/iter (+/- 54) = 24738 MB/s
test sherlock::quotes ... bench: 966,792 ns/iter (+/- 2,982) = 615 MB/s
test sherlock::repeated_class_negation ... bench: 84,186,484 ns/iter (+/- 66,800) = 7 MB/s
test sherlock::the_lower ... bench: 773,759 ns/iter (+/- 2,759) = 768 MB/s
test sherlock::the_nocase ... bench: 1,705,648 ns/iter (+/- 4,604) = 348 MB/s
test sherlock::the_upper ... bench: 52,729 ns/iter (+/- 209) = 11282 MB/s
test sherlock::the_whitespace ... bench: 1,981,215 ns/iter (+/- 8,080) = 300 MB/s
test sherlock::word_ending_n ... bench: 53,482,650 ns/iter (+/- 73,844) = 11 MB/s
test sherlock::words ... bench: 18,961,987 ns/iter (+/- 27,794) = 31 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 74 measured

View file

@ -0,0 +1,66 @@
Compiling regex-benchmark v0.1.0 (file:///home/andrew/data/projects/rust/regex/benches)
Running benches/target/release/rust_bytes-9f3b188bc741e04b
running 59 tests
test misc::anchored_literal_long_match ... bench: 75 ns/iter (+/- 6) = 5200 MB/s
test misc::anchored_literal_long_non_match ... bench: 55 ns/iter (+/- 0) = 7090 MB/s
test misc::anchored_literal_short_match ... bench: 75 ns/iter (+/- 0) = 346 MB/s
test misc::anchored_literal_short_non_match ... bench: 55 ns/iter (+/- 0) = 472 MB/s
test misc::easy0_1K ... bench: 245 ns/iter (+/- 0) = 4179 MB/s
test misc::easy0_1MB ... bench: 251,614 ns/iter (+/- 1,143) = 4167 MB/s
test misc::easy0_32 ... bench: 62 ns/iter (+/- 1) = 516 MB/s
test misc::easy0_32K ... bench: 5,281 ns/iter (+/- 66) = 6204 MB/s
test misc::easy1_1K ... bench: 266 ns/iter (+/- 1) = 3849 MB/s
test misc::easy1_1MB ... bench: 325,060 ns/iter (+/- 2,011) = 3225 MB/s
test misc::easy1_32 ... bench: 73 ns/iter (+/- 0) = 438 MB/s
test misc::easy1_32K ... bench: 5,609 ns/iter (+/- 41) = 5842 MB/s
test misc::hard_1K ... bench: 4,678 ns/iter (+/- 38) = 218 MB/s
test misc::hard_1MB ... bench: 4,736,631 ns/iter (+/- 26,227) = 221 MB/s
test misc::hard_32 ... bench: 199 ns/iter (+/- 0) = 160 MB/s
test misc::hard_32K ... bench: 148,282 ns/iter (+/- 1,353) = 220 MB/s
test misc::literal ... bench: 18 ns/iter (+/- 0) = 2833 MB/s
test misc::match_class ... bench: 83 ns/iter (+/- 0) = 975 MB/s
test misc::match_class_in_range ... bench: 30 ns/iter (+/- 0) = 2700 MB/s
test misc::medium_1K ... bench: 1,147 ns/iter (+/- 10) = 892 MB/s
test misc::medium_1MB ... bench: 1,953,230 ns/iter (+/- 10,530) = 536 MB/s
test misc::medium_32 ... bench: 99 ns/iter (+/- 0) = 323 MB/s
test misc::medium_32K ... bench: 54,705 ns/iter (+/- 349) = 598 MB/s
test misc::no_exponential ... bench: 534 ns/iter (+/- 4) = 187 MB/s
test misc::not_literal ... bench: 292 ns/iter (+/- 3) = 174 MB/s
test misc::one_pass_long_prefix ... bench: 179 ns/iter (+/- 1) = 145 MB/s
test misc::one_pass_long_prefix_not ... bench: 180 ns/iter (+/- 2) = 144 MB/s
test misc::one_pass_short ... bench: 139 ns/iter (+/- 0) = 122 MB/s
test misc::one_pass_short_not ... bench: 139 ns/iter (+/- 0) = 122 MB/s
test sherlock::before_holmes ... bench: 2,778,686 ns/iter (+/- 8,735) = 214 MB/s
test sherlock::everything_greedy ... bench: 7,884,691 ns/iter (+/- 37,268) = 75 MB/s
test sherlock::everything_greedy_nl ... bench: 5,406,627 ns/iter (+/- 24,707) = 110 MB/s
test sherlock::holmes_cochar_watson ... bench: 262,175 ns/iter (+/- 1,995) = 2269 MB/s
test sherlock::holmes_coword_watson ... bench: 1,299,904 ns/iter (+/- 5,090) = 457 MB/s
test sherlock::ing_suffix ... bench: 3,202,899 ns/iter (+/- 20,810) = 185 MB/s
test sherlock::ing_suffix_limited_space ... bench: 3,367,381 ns/iter (+/- 14,143) = 176 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 2,725,593 ns/iter (+/- 10,736) = 218 MB/s
test sherlock::name_alt1 ... bench: 42,161 ns/iter (+/- 355) = 14110 MB/s
test sherlock::name_alt2 ... bench: 195,390 ns/iter (+/- 1,112) = 3044 MB/s
test sherlock::name_alt3 ... bench: 1,248,432 ns/iter (+/- 3,244) = 476 MB/s
test sherlock::name_alt3_nocase ... bench: 3,371,906 ns/iter (+/- 42,421) = 176 MB/s
test sherlock::name_alt4 ... bench: 296,423 ns/iter (+/- 1,812) = 2007 MB/s
test sherlock::name_alt4_nocase ... bench: 1,753,178 ns/iter (+/- 23,269) = 339 MB/s
test sherlock::name_holmes ... bench: 49,554 ns/iter (+/- 261) = 12005 MB/s
test sherlock::name_holmes_nocase ... bench: 1,347,682 ns/iter (+/- 5,678) = 441 MB/s
test sherlock::name_sherlock ... bench: 33,937 ns/iter (+/- 208) = 17530 MB/s
test sherlock::name_sherlock_holmes ... bench: 33,870 ns/iter (+/- 225) = 17565 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,212,233 ns/iter (+/- 5,452) = 490 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,190,590 ns/iter (+/- 3,248) = 499 MB/s
test sherlock::name_whitespace ... bench: 59,434 ns/iter (+/- 253) = 10009 MB/s
test sherlock::no_match_common ... bench: 565,962 ns/iter (+/- 4,601) = 1051 MB/s
test sherlock::no_match_uncommon ... bench: 23,729 ns/iter (+/- 218) = 25071 MB/s
test sherlock::quotes ... bench: 966,904 ns/iter (+/- 7,115) = 615 MB/s
test sherlock::repeated_class_negation ... bench: 121,271,073 ns/iter (+/- 242,789) = 4 MB/s
test sherlock::the_lower ... bench: 778,850 ns/iter (+/- 6,781) = 763 MB/s
test sherlock::the_nocase ... bench: 2,876,190 ns/iter (+/- 8,611) = 206 MB/s
test sherlock::the_upper ... bench: 52,617 ns/iter (+/- 315) = 11306 MB/s
test sherlock::the_whitespace ... bench: 1,982,270 ns/iter (+/- 11,079) = 300 MB/s
test sherlock::word_ending_n ... bench: 76,442,330 ns/iter (+/- 236,690) = 7 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 59 measured

View file

@ -0,0 +1,78 @@
Compiling regex-benchmark v0.1.0 (file:///home/andrew/data/projects/rust/regex/bench)
Running target/release/bench-0d58c0af2e68ae0d
running 71 tests
test misc::anchored_literal_long_match ... bench: 66 ns/iter (+/- 1) = 5909 MB/s
test misc::anchored_literal_long_non_match ... bench: 414 ns/iter (+/- 2) = 942 MB/s
test misc::anchored_literal_short_match ... bench: 66 ns/iter (+/- 1) = 393 MB/s
test misc::anchored_literal_short_non_match ... bench: 36 ns/iter (+/- 0) = 722 MB/s
test misc::easy0_1K ... bench: 217 ns/iter (+/- 2) = 4843 MB/s
test misc::easy0_1MB ... bench: 130,657 ns/iter (+/- 365) = 8025 MB/s
test misc::easy0_32 ... bench: 84 ns/iter (+/- 1) = 702 MB/s
test misc::easy0_32K ... bench: 4,092 ns/iter (+/- 25) = 8014 MB/s
test misc::easy1_1K ... bench: 3,682 ns/iter (+/- 25) = 283 MB/s
test misc::easy1_1MB ... bench: 3,613,381 ns/iter (+/- 5,960) = 290 MB/s
test misc::easy1_32 ... bench: 237 ns/iter (+/- 2) = 219 MB/s
test misc::easy1_32K ... bench: 113,040 ns/iter (+/- 303) = 290 MB/s
test misc::hard_1K ... bench: 184,299 ns/iter (+/- 2,508) = 5 MB/s
test misc::hard_1MB ... bench: 198,378,531 ns/iter (+/- 150,404) = 5 MB/s
test misc::hard_32 ... bench: 5,765 ns/iter (+/- 26) = 10 MB/s
test misc::hard_32K ... bench: 6,177,362 ns/iter (+/- 21,959) = 5 MB/s
test misc::literal ... bench: 219 ns/iter (+/- 1) = 232 MB/s
test misc::long_needle1 ... bench: 6,978,321 ns/iter (+/- 120,792) = 14 MB/s
test misc::long_needle2 ... bench: 6,981,122 ns/iter (+/- 120,371) = 14 MB/s
test misc::match_class ... bench: 329 ns/iter (+/- 5) = 246 MB/s
test misc::match_class_in_range ... bench: 332 ns/iter (+/- 1) = 243 MB/s
test misc::match_class_unicode ... bench: 1,980 ns/iter (+/- 23) = 81 MB/s
test misc::medium_1K ... bench: 232 ns/iter (+/- 0) = 4534 MB/s
test misc::medium_1MB ... bench: 130,702 ns/iter (+/- 997) = 8022 MB/s
test misc::medium_32 ... bench: 95 ns/iter (+/- 1) = 631 MB/s
test misc::medium_32K ... bench: 4,103 ns/iter (+/- 13) = 7993 MB/s
test misc::not_literal ... bench: 353 ns/iter (+/- 2) = 144 MB/s
test misc::one_pass_long_prefix ... bench: 89 ns/iter (+/- 1) = 292 MB/s
test misc::one_pass_long_prefix_not ... bench: 97 ns/iter (+/- 0) = 268 MB/s
test misc::one_pass_short ... bench: 329 ns/iter (+/- 4) = 51 MB/s
test misc::one_pass_short_not ... bench: 324 ns/iter (+/- 4) = 52 MB/s
test misc::reallyhard2_1K ... bench: 563,552 ns/iter (+/- 2,559) = 1 MB/s
test misc::reallyhard_1K ... bench: 184,200 ns/iter (+/- 553) = 5 MB/s
test misc::reallyhard_1MB ... bench: 198,336,145 ns/iter (+/- 149,796) = 5 MB/s
test misc::reallyhard_32 ... bench: 5,766 ns/iter (+/- 16) = 10 MB/s
test misc::reallyhard_32K ... bench: 6,174,904 ns/iter (+/- 5,491) = 5 MB/s
test sherlock::before_holmes ... bench: 70,476,093 ns/iter (+/- 271,168) = 8 MB/s
test sherlock::everything_greedy ... bench: 5,175,140 ns/iter (+/- 19,413) = 114 MB/s
test sherlock::holmes_cochar_watson ... bench: 2,379,427 ns/iter (+/- 5,816) = 250 MB/s
test sherlock::ing_suffix ... bench: 28,275,131 ns/iter (+/- 49,569) = 21 MB/s
test sherlock::ing_suffix_limited_space ... bench: 2,648,838 ns/iter (+/- 9,247) = 224 MB/s
test sherlock::letters ... bench: 25,940,039 ns/iter (+/- 57,724) = 22 MB/s
test sherlock::letters_lower ... bench: 25,680,050 ns/iter (+/- 48,209) = 23 MB/s
test sherlock::letters_upper ... bench: 11,122,063 ns/iter (+/- 28,302) = 53 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 195,903 ns/iter (+/- 1,162) = 3036 MB/s
test sherlock::name_alt1 ... bench: 2,100,175 ns/iter (+/- 4,251) = 283 MB/s
test sherlock::name_alt2 ... bench: 2,210,122 ns/iter (+/- 7,514) = 269 MB/s
test sherlock::name_alt3 ... bench: 3,025,653 ns/iter (+/- 9,375) = 196 MB/s
test sherlock::name_alt3_nocase ... bench: 39,475,102 ns/iter (+/- 51,488) = 15 MB/s
test sherlock::name_alt4 ... bench: 2,225,952 ns/iter (+/- 7,340) = 267 MB/s
test sherlock::name_alt4_nocase ... bench: 8,227,413 ns/iter (+/- 18,088) = 72 MB/s
test sherlock::name_alt5 ... bench: 2,300,803 ns/iter (+/- 6,325) = 258 MB/s
test sherlock::name_alt5_nocase ... bench: 11,488,783 ns/iter (+/- 28,880) = 51 MB/s
test sherlock::name_holmes ... bench: 400,760 ns/iter (+/- 907) = 1484 MB/s
test sherlock::name_holmes_nocase ... bench: 4,044,850 ns/iter (+/- 11,665) = 147 MB/s
test sherlock::name_sherlock ... bench: 269,021 ns/iter (+/- 791) = 2211 MB/s
test sherlock::name_sherlock_holmes ... bench: 196,161 ns/iter (+/- 899) = 3032 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 4,363,621 ns/iter (+/- 5,339) = 136 MB/s
test sherlock::name_sherlock_nocase ... bench: 4,389,375 ns/iter (+/- 11,077) = 135 MB/s
test sherlock::name_whitespace ... bench: 273,691 ns/iter (+/- 957) = 2173 MB/s
test sherlock::no_match_common ... bench: 588,744 ns/iter (+/- 1,732) = 1010 MB/s
test sherlock::no_match_really_common ... bench: 673,335 ns/iter (+/- 1,407) = 883 MB/s
test sherlock::no_match_uncommon ... bench: 578,009 ns/iter (+/- 5,111) = 1029 MB/s
test sherlock::quotes ... bench: 4,066,005 ns/iter (+/- 10,116) = 146 MB/s
test sherlock::repeated_class_negation ... bench: 43,374,733 ns/iter (+/- 48,409) = 13 MB/s
test sherlock::the_lower ... bench: 1,275,300 ns/iter (+/- 5,351) = 466 MB/s
test sherlock::the_nocase ... bench: 5,100,832 ns/iter (+/- 11,024) = 116 MB/s
test sherlock::the_upper ... bench: 816,606 ns/iter (+/- 3,370) = 728 MB/s
test sherlock::the_whitespace ... bench: 2,079,544 ns/iter (+/- 4,585) = 286 MB/s
test sherlock::word_ending_n ... bench: 27,699,175 ns/iter (+/- 58,998) = 21 MB/s
test sherlock::words ... bench: 19,460,356 ns/iter (+/- 29,406) = 30 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 71 measured

View file

@ -0,0 +1,77 @@
Compiling regex-benchmark v0.1.0 (file:///home/andrew/data/projects/rust/regex/bench)
Running target/release/bench-0d58c0af2e68ae0d
running 70 tests
test misc::anchored_literal_long_match ... bench: 32 ns/iter (+/- 0) = 12187 MB/s
test misc::anchored_literal_long_non_match ... bench: 27 ns/iter (+/- 1) = 14444 MB/s
test misc::anchored_literal_short_match ... bench: 31 ns/iter (+/- 0) = 838 MB/s
test misc::anchored_literal_short_non_match ... bench: 27 ns/iter (+/- 2) = 962 MB/s
test misc::easy0_1K ... bench: 247 ns/iter (+/- 1) = 4255 MB/s
test misc::easy0_1MB ... bench: 193,485 ns/iter (+/- 906) = 5419 MB/s
test misc::easy0_32 ... bench: 55 ns/iter (+/- 1) = 1072 MB/s
test misc::easy0_32K ... bench: 6,057 ns/iter (+/- 19) = 5414 MB/s
test misc::easy1_1K ... bench: 604 ns/iter (+/- 3) = 1728 MB/s
test misc::easy1_1MB ... bench: 553,893 ns/iter (+/- 1,299) = 1893 MB/s
test misc::easy1_32 ... bench: 81 ns/iter (+/- 1) = 641 MB/s
test misc::easy1_32K ... bench: 17,335 ns/iter (+/- 33) = 1891 MB/s
test misc::hard_1K ... bench: 56,956 ns/iter (+/- 148) = 18 MB/s
test misc::hard_1MB ... bench: 63,576,485 ns/iter (+/- 93,278) = 16 MB/s
test misc::hard_32 ... bench: 1,744 ns/iter (+/- 10) = 33 MB/s
test misc::hard_32K ... bench: 1,931,799 ns/iter (+/- 7,752) = 16 MB/s
test misc::literal ... bench: 73 ns/iter (+/- 1) = 698 MB/s
test misc::long_needle1 ... bench: 532,256 ns/iter (+/- 4,633) = 187 MB/s
test misc::long_needle2 ... bench: 532,131 ns/iter (+/- 3,771) = 187 MB/s
test misc::match_class ... bench: 120 ns/iter (+/- 0) = 675 MB/s
test misc::match_class_in_range ... bench: 119 ns/iter (+/- 0) = 680 MB/s
test misc::match_class_unicode ... bench: 456 ns/iter (+/- 2) = 353 MB/s
test misc::medium_1K ... bench: 260 ns/iter (+/- 1) = 4046 MB/s
test misc::medium_1MB ... bench: 206,175 ns/iter (+/- 983) = 5085 MB/s
test misc::medium_32 ... bench: 58 ns/iter (+/- 0) = 1034 MB/s
test misc::medium_32K ... bench: 6,443 ns/iter (+/- 26) = 5090 MB/s
test misc::not_literal ... bench: 216 ns/iter (+/- 0) = 236 MB/s
test misc::one_pass_long_prefix ... bench: 31 ns/iter (+/- 0) = 838 MB/s
test misc::one_pass_long_prefix_not ... bench: 31 ns/iter (+/- 0) = 838 MB/s
test misc::one_pass_short ... bench: 59 ns/iter (+/- 0) = 288 MB/s
test misc::one_pass_short_not ... bench: 63 ns/iter (+/- 2) = 269 MB/s
test misc::reallyhard2_1K ... bench: 96,070 ns/iter (+/- 238) = 10 MB/s
test misc::reallyhard_1K ... bench: 60,783 ns/iter (+/- 170) = 17 MB/s
test misc::reallyhard_1MB ... bench: 60,899,076 ns/iter (+/- 483,661) = 17 MB/s
test misc::reallyhard_32 ... bench: 1,822 ns/iter (+/- 58) = 32 MB/s
test misc::reallyhard_32K ... bench: 1,809,770 ns/iter (+/- 45,348) = 18 MB/s
test sherlock::before_holmes ... bench: 14,513,309 ns/iter (+/- 146,332) = 40 MB/s
test sherlock::holmes_cochar_watson ... bench: 543,738 ns/iter (+/- 4,549) = 1094 MB/s
test sherlock::ing_suffix ... bench: 5,561,653 ns/iter (+/- 44,720) = 106 MB/s
test sherlock::ing_suffix_limited_space ... bench: 6,116,112 ns/iter (+/- 91,799) = 97 MB/s
test sherlock::letters ... bench: 15,633,185 ns/iter (+/- 313,036) = 38 MB/s
test sherlock::letters_lower ... bench: 15,228,423 ns/iter (+/- 290,879) = 39 MB/s
test sherlock::letters_upper ... bench: 3,279,472 ns/iter (+/- 48,073) = 181 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 192,935 ns/iter (+/- 1,405) = 3083 MB/s
test sherlock::name_alt1 ... bench: 452,708 ns/iter (+/- 4,728) = 1314 MB/s
test sherlock::name_alt2 ... bench: 477,092 ns/iter (+/- 6,192) = 1246 MB/s
test sherlock::name_alt3 ... bench: 959,514 ns/iter (+/- 25,214) = 620 MB/s
test sherlock::name_alt3_nocase ... bench: 3,478,546 ns/iter (+/- 52,300) = 171 MB/s
test sherlock::name_alt4 ... bench: 947,187 ns/iter (+/- 9,985) = 628 MB/s
test sherlock::name_alt4_nocase ... bench: 1,852,289 ns/iter (+/- 30,616) = 321 MB/s
test sherlock::name_alt5 ... bench: 655,616 ns/iter (+/- 9,327) = 907 MB/s
test sherlock::name_alt5_nocase ... bench: 1,957,627 ns/iter (+/- 47,271) = 303 MB/s
test sherlock::name_holmes ... bench: 383,813 ns/iter (+/- 1,185) = 1550 MB/s
test sherlock::name_holmes_nocase ... bench: 478,335 ns/iter (+/- 4,851) = 1243 MB/s
test sherlock::name_sherlock ... bench: 263,611 ns/iter (+/- 875) = 2256 MB/s
test sherlock::name_sherlock_holmes ... bench: 193,687 ns/iter (+/- 1,070) = 3071 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,258,447 ns/iter (+/- 32,369) = 472 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,330,069 ns/iter (+/- 36,657) = 447 MB/s
test sherlock::name_whitespace ... bench: 264,340 ns/iter (+/- 2,723) = 2250 MB/s
test sherlock::no_match_common ... bench: 589,309 ns/iter (+/- 5,038) = 1009 MB/s
test sherlock::no_match_really_common ... bench: 683,909 ns/iter (+/- 4,987) = 869 MB/s
test sherlock::no_match_uncommon ... bench: 578,309 ns/iter (+/- 2,831) = 1028 MB/s
test sherlock::quotes ... bench: 1,184,492 ns/iter (+/- 27,247) = 502 MB/s
test sherlock::repeated_class_negation ... bench: 7,208,342 ns/iter (+/- 17,978) = 82 MB/s
test sherlock::the_lower ... bench: 1,001,754 ns/iter (+/- 6,215) = 593 MB/s
test sherlock::the_nocase ... bench: 1,043,260 ns/iter (+/- 10,217) = 570 MB/s
test sherlock::the_upper ... bench: 753,058 ns/iter (+/- 1,640) = 790 MB/s
test sherlock::the_whitespace ... bench: 1,195,227 ns/iter (+/- 9,524) = 497 MB/s
test sherlock::word_ending_n ... bench: 11,767,448 ns/iter (+/- 15,460) = 50 MB/s
test sherlock::words ... bench: 7,551,361 ns/iter (+/- 25,566) = 78 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 70 measured

View file

@ -0,0 +1,77 @@
Compiling regex-benchmark v0.1.0 (file:///home/andrew/data/projects/rust/regex/bench)
Running target/release/bench-0d58c0af2e68ae0d
running 70 tests
test misc::anchored_literal_long_match ... bench: 22 ns/iter (+/- 0) = 17727 MB/s
test misc::anchored_literal_long_non_match ... bench: 14 ns/iter (+/- 0) = 27857 MB/s
test misc::anchored_literal_short_match ... bench: 21 ns/iter (+/- 0) = 1238 MB/s
test misc::anchored_literal_short_non_match ... bench: 14 ns/iter (+/- 1) = 1857 MB/s
test misc::easy0_1K ... bench: 235 ns/iter (+/- 2) = 4472 MB/s
test misc::easy0_1MB ... bench: 193,652 ns/iter (+/- 524) = 5414 MB/s
test misc::easy0_32 ... bench: 43 ns/iter (+/- 0) = 1372 MB/s
test misc::easy0_32K ... bench: 6,024 ns/iter (+/- 12) = 5444 MB/s
test misc::easy1_1K ... bench: 235 ns/iter (+/- 4) = 4442 MB/s
test misc::easy1_1MB ... bench: 193,685 ns/iter (+/- 617) = 5413 MB/s
test misc::easy1_32 ... bench: 45 ns/iter (+/- 0) = 1155 MB/s
test misc::easy1_32K ... bench: 6,018 ns/iter (+/- 9) = 5448 MB/s
test misc::hard_1K ... bench: 1,880 ns/iter (+/- 7) = 559 MB/s
test misc::hard_1MB ... bench: 1,283,101 ns/iter (+/- 4,420) = 817 MB/s
test misc::hard_32 ... bench: 119 ns/iter (+/- 2) = 495 MB/s
test misc::hard_32K ... bench: 39,919 ns/iter (+/- 95) = 821 MB/s
test misc::literal ... bench: 18 ns/iter (+/- 1) = 2833 MB/s
test misc::long_needle1 ... bench: 513,050 ns/iter (+/- 2,267) = 194 MB/s
test misc::long_needle2 ... bench: 518,009 ns/iter (+/- 3,066) = 193 MB/s
test misc::match_class ... bench: 106 ns/iter (+/- 1) = 764 MB/s
test misc::match_class_in_range ... bench: 24 ns/iter (+/- 1) = 3375 MB/s
test misc::match_class_unicode ... bench: 370 ns/iter (+/- 2) = 435 MB/s
test misc::medium_1K ... bench: 237 ns/iter (+/- 0) = 4438 MB/s
test misc::medium_1MB ... bench: 193,478 ns/iter (+/- 540) = 5419 MB/s
test misc::medium_32 ... bench: 46 ns/iter (+/- 0) = 1304 MB/s
test misc::medium_32K ... bench: 6,024 ns/iter (+/- 15) = 5444 MB/s
test misc::not_literal ... bench: 274 ns/iter (+/- 1) = 186 MB/s
test misc::one_pass_long_prefix ... bench: 19 ns/iter (+/- 1) = 1368 MB/s
test misc::one_pass_long_prefix_not ... bench: 19 ns/iter (+/- 0) = 1368 MB/s
test misc::one_pass_short ... bench: 47 ns/iter (+/- 0) = 361 MB/s
test misc::one_pass_short_not ... bench: 50 ns/iter (+/- 2) = 340 MB/s
test misc::reallyhard2_1K ... bench: 4,959 ns/iter (+/- 34) = 209 MB/s
test misc::reallyhard_1K ... bench: 2,145 ns/iter (+/- 17) = 489 MB/s
test misc::reallyhard_1MB ... bench: 1,292,683 ns/iter (+/- 3,342) = 811 MB/s
test misc::reallyhard_32 ... bench: 124 ns/iter (+/- 4) = 475 MB/s
test misc::reallyhard_32K ... bench: 47,263 ns/iter (+/- 173) = 693 MB/s
test sherlock::before_holmes ... bench: 4,706,445 ns/iter (+/- 23,483) = 126 MB/s
test sherlock::holmes_cochar_watson ... bench: 488,613 ns/iter (+/- 2,921) = 1217 MB/s
test sherlock::ing_suffix ... bench: 1,886,092 ns/iter (+/- 9,951) = 315 MB/s
test sherlock::ing_suffix_limited_space ... bench: 5,091,401 ns/iter (+/- 21,315) = 116 MB/s
test sherlock::letters ... bench: 10,082,811 ns/iter (+/- 41,989) = 59 MB/s
test sherlock::letters_lower ... bench: 9,640,481 ns/iter (+/- 46,499) = 61 MB/s
test sherlock::letters_upper ... bench: 1,772,105 ns/iter (+/- 8,833) = 335 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 192,075 ns/iter (+/- 1,043) = 3097 MB/s
test sherlock::name_alt1 ... bench: 447,382 ns/iter (+/- 2,142) = 1329 MB/s
test sherlock::name_alt2 ... bench: 447,421 ns/iter (+/- 2,077) = 1329 MB/s
test sherlock::name_alt3 ... bench: 963,775 ns/iter (+/- 1,684) = 617 MB/s
test sherlock::name_alt3_nocase ... bench: 3,152,920 ns/iter (+/- 5,757) = 188 MB/s
test sherlock::name_alt4 ... bench: 80,204 ns/iter (+/- 379) = 7417 MB/s
test sherlock::name_alt4_nocase ... bench: 1,665,405 ns/iter (+/- 7,134) = 357 MB/s
test sherlock::name_alt5 ... bench: 649,701 ns/iter (+/- 1,722) = 915 MB/s
test sherlock::name_alt5_nocase ... bench: 1,773,323 ns/iter (+/- 9,648) = 335 MB/s
test sherlock::name_holmes ... bench: 377,003 ns/iter (+/- 3,390) = 1578 MB/s
test sherlock::name_holmes_nocase ... bench: 472,947 ns/iter (+/- 1,011) = 1257 MB/s
test sherlock::name_sherlock ... bench: 262,237 ns/iter (+/- 1,268) = 2268 MB/s
test sherlock::name_sherlock_holmes ... bench: 192,306 ns/iter (+/- 520) = 3093 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,318,573 ns/iter (+/- 1,462) = 451 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,110,629 ns/iter (+/- 13,163) = 535 MB/s
test sherlock::name_whitespace ... bench: 262,889 ns/iter (+/- 637) = 2263 MB/s
test sherlock::no_match_common ... bench: 388,869 ns/iter (+/- 1,512) = 1529 MB/s
test sherlock::no_match_really_common ... bench: 422,058 ns/iter (+/- 1,788) = 1409 MB/s
test sherlock::no_match_uncommon ... bench: 30,594 ns/iter (+/- 166) = 19446 MB/s
test sherlock::quotes ... bench: 569,628 ns/iter (+/- 2,052) = 1044 MB/s
test sherlock::repeated_class_negation ... bench: 6,410,128 ns/iter (+/- 19,866) = 92 MB/s
test sherlock::the_lower ... bench: 648,366 ns/iter (+/- 5,142) = 917 MB/s
test sherlock::the_nocase ... bench: 694,035 ns/iter (+/- 4,844) = 857 MB/s
test sherlock::the_upper ... bench: 54,007 ns/iter (+/- 486) = 11015 MB/s
test sherlock::the_whitespace ... bench: 850,430 ns/iter (+/- 9,641) = 699 MB/s
test sherlock::word_ending_n ... bench: 5,768,961 ns/iter (+/- 20,924) = 103 MB/s
test sherlock::words ... bench: 5,866,550 ns/iter (+/- 34,451) = 101 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 70 measured

View file

@ -0,0 +1,79 @@
Compiling regex-benchmark v0.1.0 (file:///home/andrew/data/projects/rust/regex/bench)
Running target/release/bench-0d58c0af2e68ae0d
running 72 tests
test misc::anchored_literal_long_match ... bench: 119 ns/iter (+/- 2) = 3277 MB/s
test misc::anchored_literal_long_non_match ... bench: 45 ns/iter (+/- 0) = 8666 MB/s
test misc::anchored_literal_short_match ... bench: 120 ns/iter (+/- 1) = 216 MB/s
test misc::anchored_literal_short_non_match ... bench: 45 ns/iter (+/- 0) = 577 MB/s
test misc::easy0_1K ... bench: 187 ns/iter (+/- 0) = 5620 MB/s
test misc::easy0_1MB ... bench: 39,573 ns/iter (+/- 600) = 26497 MB/s
test misc::easy0_32 ... bench: 165 ns/iter (+/- 1) = 357 MB/s
test misc::easy0_32K ... bench: 971 ns/iter (+/- 20) = 33774 MB/s
test misc::easy1_1K ... bench: 175 ns/iter (+/- 1) = 5965 MB/s
test misc::easy1_1MB ... bench: 39,451 ns/iter (+/- 183) = 26579 MB/s
test misc::easy1_32 ... bench: 153 ns/iter (+/- 1) = 339 MB/s
test misc::easy1_32K ... bench: 942 ns/iter (+/- 24) = 34806 MB/s
test misc::hard_1K ... bench: 2,362 ns/iter (+/- 11) = 444 MB/s
test misc::hard_1MB ... bench: 2,386,627 ns/iter (+/- 12,925) = 439 MB/s
test misc::hard_32 ... bench: 228 ns/iter (+/- 1) = 258 MB/s
test misc::hard_32K ... bench: 74,482 ns/iter (+/- 190) = 440 MB/s
test misc::literal ... bench: 120 ns/iter (+/- 0) = 425 MB/s
test misc::long_needle1 ... bench: 184,777 ns/iter (+/- 1,644) = 541 MB/s
test misc::long_needle2 ... bench: 184,685 ns/iter (+/- 289) = 541 MB/s
test misc::match_class ... bench: 267 ns/iter (+/- 1) = 303 MB/s
test misc::match_class_in_range ... bench: 267 ns/iter (+/- 1) = 303 MB/s
test misc::match_class_unicode ... bench: 491 ns/iter (+/- 3) = 327 MB/s
test misc::medium_1K ... bench: 2,065 ns/iter (+/- 4) = 509 MB/s
test misc::medium_1MB ... bench: 1,938,951 ns/iter (+/- 11,278) = 540 MB/s
test misc::medium_32 ... bench: 302 ns/iter (+/- 149) = 198 MB/s
test misc::medium_32K ... bench: 60,766 ns/iter (+/- 1,018) = 539 MB/s
test misc::not_literal ... bench: 203 ns/iter (+/- 2) = 251 MB/s
test misc::one_pass_long_prefix ... bench: 119 ns/iter (+/- 1) = 218 MB/s
test misc::one_pass_long_prefix_not ... bench: 161 ns/iter (+/- 0) = 161 MB/s
test misc::one_pass_short ... bench: 143 ns/iter (+/- 0) = 118 MB/s
test misc::one_pass_short_not ... bench: 145 ns/iter (+/- 1) = 117 MB/s
test misc::reallyhard2_1K ... bench: 2,030 ns/iter (+/- 22) = 512 MB/s
test misc::reallyhard_1K ... bench: 2,362 ns/iter (+/- 18) = 444 MB/s
test misc::reallyhard_1MB ... bench: 2,386,760 ns/iter (+/- 22,075) = 439 MB/s
test misc::reallyhard_32 ... bench: 230 ns/iter (+/- 2) = 256 MB/s
test misc::reallyhard_32K ... bench: 74,506 ns/iter (+/- 740) = 440 MB/s
test sherlock::before_holmes ... bench: 1,446,270 ns/iter (+/- 5,771) = 411 MB/s
test sherlock::everything_greedy ... bench: 9,111,570 ns/iter (+/- 54,091) = 65 MB/s
test sherlock::everything_greedy_nl ... bench: 2,489,649 ns/iter (+/- 23,310) = 238 MB/s
test sherlock::holmes_cochar_watson ... bench: 1,176,642 ns/iter (+/- 2,181) = 505 MB/s
test sherlock::holmes_coword_watson ... bench: 1,389,000 ns/iter (+/- 258,245) = 428 MB/s
test sherlock::ing_suffix ... bench: 3,050,918 ns/iter (+/- 16,854) = 195 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,954,264 ns/iter (+/- 4,656) = 304 MB/s
test sherlock::letters ... bench: 111,162,180 ns/iter (+/- 108,719) = 5 MB/s
test sherlock::letters_lower ... bench: 106,751,460 ns/iter (+/- 414,985) = 5 MB/s
test sherlock::letters_upper ... bench: 4,705,474 ns/iter (+/- 10,913) = 126 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 2,539,425 ns/iter (+/- 5,440) = 234 MB/s
test sherlock::name_alt1 ... bench: 77,719 ns/iter (+/- 275) = 7654 MB/s
test sherlock::name_alt2 ... bench: 1,319,600 ns/iter (+/- 2,771) = 450 MB/s
test sherlock::name_alt3 ... bench: 1,433,629 ns/iter (+/- 2,943) = 414 MB/s
test sherlock::name_alt3_nocase ... bench: 2,748,137 ns/iter (+/- 4,343) = 216 MB/s
test sherlock::name_alt4 ... bench: 1,354,024 ns/iter (+/- 2,312) = 439 MB/s
test sherlock::name_alt4_nocase ... bench: 2,018,381 ns/iter (+/- 2,442) = 294 MB/s
test sherlock::name_alt5 ... bench: 1,348,150 ns/iter (+/- 3,870) = 441 MB/s
test sherlock::name_alt5_nocase ... bench: 2,114,276 ns/iter (+/- 3,365) = 281 MB/s
test sherlock::name_holmes ... bench: 168,436 ns/iter (+/- 1,503) = 3532 MB/s
test sherlock::name_holmes_nocase ... bench: 1,645,658 ns/iter (+/- 3,816) = 361 MB/s
test sherlock::name_sherlock ... bench: 59,010 ns/iter (+/- 380) = 10081 MB/s
test sherlock::name_sherlock_holmes ... bench: 60,467 ns/iter (+/- 179) = 9838 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,539,137 ns/iter (+/- 5,506) = 386 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,535,058 ns/iter (+/- 3,352) = 387 MB/s
test sherlock::name_whitespace ... bench: 62,700 ns/iter (+/- 440) = 9488 MB/s
test sherlock::no_match_common ... bench: 439,560 ns/iter (+/- 1,545) = 1353 MB/s
test sherlock::no_match_really_common ... bench: 439,333 ns/iter (+/- 1,020) = 1354 MB/s
test sherlock::no_match_uncommon ... bench: 23,882 ns/iter (+/- 134) = 24911 MB/s
test sherlock::quotes ... bench: 1,396,564 ns/iter (+/- 2,785) = 425 MB/s
test sherlock::the_lower ... bench: 2,478,251 ns/iter (+/- 5,859) = 240 MB/s
test sherlock::the_nocase ... bench: 3,708,713 ns/iter (+/- 6,919) = 160 MB/s
test sherlock::the_upper ... bench: 232,490 ns/iter (+/- 4,478) = 2558 MB/s
test sherlock::the_whitespace ... bench: 2,286,399 ns/iter (+/- 5,006) = 260 MB/s
test sherlock::word_ending_n ... bench: 3,295,919 ns/iter (+/- 27,810) = 180 MB/s
test sherlock::words ... bench: 30,375,810 ns/iter (+/- 37,415) = 19 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 72 measured

View file

@ -0,0 +1,81 @@
Compiling regex-benchmark v0.1.0 (file:///home/andrew/data/projects/rust/regex/bench)
Running target/release/bench-0d58c0af2e68ae0d
running 74 tests
test misc::anchored_literal_long_match ... bench: 24 ns/iter (+/- 1) = 16250 MB/s
test misc::anchored_literal_long_non_match ... bench: 21 ns/iter (+/- 0) = 18571 MB/s
test misc::anchored_literal_short_match ... bench: 22 ns/iter (+/- 1) = 1181 MB/s
test misc::anchored_literal_short_non_match ... bench: 21 ns/iter (+/- 0) = 1238 MB/s
test misc::easy0_1K ... bench: 18 ns/iter (+/- 6) = 58388 MB/s
test misc::easy0_1MB ... bench: 21 ns/iter (+/- 4) = 49933476 MB/s
test misc::easy0_32 ... bench: 17 ns/iter (+/- 0) = 3470 MB/s
test misc::easy0_32K ... bench: 18 ns/iter (+/- 9) = 1821944 MB/s
test misc::easy1_1K ... bench: 52 ns/iter (+/- 0) = 20076 MB/s
test misc::easy1_1MB ... bench: 55 ns/iter (+/- 0) = 19065381 MB/s
test misc::easy1_32 ... bench: 50 ns/iter (+/- 0) = 1040 MB/s
test misc::easy1_32K ... bench: 50 ns/iter (+/- 0) = 655760 MB/s
test misc::hard_1K ... bench: 66 ns/iter (+/- 0) = 15924 MB/s
test misc::hard_1MB ... bench: 70 ns/iter (+/- 1) = 14980042 MB/s
test misc::hard_32 ... bench: 62 ns/iter (+/- 1) = 951 MB/s
test misc::hard_32K ... bench: 62 ns/iter (+/- 1) = 528951 MB/s
test misc::literal ... bench: 17 ns/iter (+/- 0) = 3000 MB/s
test misc::long_needle1 ... bench: 2,359 ns/iter (+/- 37) = 42391 MB/s
test misc::long_needle2 ... bench: 634,783 ns/iter (+/- 4,313) = 157 MB/s
test misc::match_class ... bench: 82 ns/iter (+/- 1) = 987 MB/s
test misc::match_class_in_range ... bench: 30 ns/iter (+/- 15) = 2700 MB/s
test misc::match_class_unicode ... bench: 317 ns/iter (+/- 2) = 507 MB/s
test misc::medium_1K ... bench: 18 ns/iter (+/- 0) = 58444 MB/s
test misc::medium_1MB ... bench: 22 ns/iter (+/- 0) = 47663818 MB/s
test misc::medium_32 ... bench: 18 ns/iter (+/- 0) = 3333 MB/s
test misc::medium_32K ... bench: 18 ns/iter (+/- 0) = 1822000 MB/s
test misc::not_literal ... bench: 115 ns/iter (+/- 0) = 443 MB/s
test misc::one_pass_long_prefix ... bench: 69 ns/iter (+/- 1) = 376 MB/s
test misc::one_pass_long_prefix_not ... bench: 68 ns/iter (+/- 0) = 382 MB/s
test misc::one_pass_short ... bench: 50 ns/iter (+/- 0) = 340 MB/s
test misc::one_pass_short_not ... bench: 52 ns/iter (+/- 0) = 326 MB/s
test misc::reallyhard2_1K ... bench: 1,939 ns/iter (+/- 12) = 536 MB/s
test misc::reallyhard_1K ... bench: 1,964 ns/iter (+/- 7) = 535 MB/s
test misc::reallyhard_1MB ... bench: 1,934,967 ns/iter (+/- 4,626) = 541 MB/s
test misc::reallyhard_32 ... bench: 130 ns/iter (+/- 0) = 453 MB/s
test misc::reallyhard_32K ... bench: 60,581 ns/iter (+/- 176) = 541 MB/s
test misc::replace_all ... bench: 142 ns/iter (+/- 1)
test sherlock::before_holmes ... bench: 1,127,747 ns/iter (+/- 2,052) = 527 MB/s
test sherlock::everything_greedy ... bench: 2,598,664 ns/iter (+/- 6,137) = 228 MB/s
test sherlock::everything_greedy_nl ... bench: 1,202,183 ns/iter (+/- 1,965) = 494 MB/s
test sherlock::holmes_cochar_watson ... bench: 220,378 ns/iter (+/- 1,229) = 2699 MB/s
test sherlock::holmes_coword_watson ... bench: 631,731 ns/iter (+/- 2,071) = 941 MB/s
test sherlock::ing_suffix ... bench: 1,344,980 ns/iter (+/- 1,799) = 442 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,286,425 ns/iter (+/- 2,965) = 462 MB/s
test sherlock::letters ... bench: 24,356,951 ns/iter (+/- 47,224) = 24 MB/s
test sherlock::letters_lower ... bench: 23,816,732 ns/iter (+/- 44,203) = 24 MB/s
test sherlock::letters_upper ... bench: 2,051,873 ns/iter (+/- 8,712) = 289 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 1,102,534 ns/iter (+/- 6,071) = 539 MB/s
test sherlock::name_alt1 ... bench: 36,474 ns/iter (+/- 308) = 16311 MB/s
test sherlock::name_alt2 ... bench: 185,668 ns/iter (+/- 1,023) = 3204 MB/s
test sherlock::name_alt3 ... bench: 1,152,554 ns/iter (+/- 1,991) = 516 MB/s
test sherlock::name_alt3_nocase ... bench: 1,254,885 ns/iter (+/- 5,387) = 474 MB/s
test sherlock::name_alt4 ... bench: 228,721 ns/iter (+/- 854) = 2601 MB/s
test sherlock::name_alt4_nocase ... bench: 1,223,457 ns/iter (+/- 2,307) = 486 MB/s
test sherlock::name_alt5 ... bench: 317,372 ns/iter (+/- 951) = 1874 MB/s
test sherlock::name_alt5_nocase ... bench: 1,224,434 ns/iter (+/- 3,886) = 485 MB/s
test sherlock::name_holmes ... bench: 42,905 ns/iter (+/- 217) = 13866 MB/s
test sherlock::name_holmes_nocase ... bench: 1,080,290 ns/iter (+/- 5,686) = 550 MB/s
test sherlock::name_sherlock ... bench: 70,041 ns/iter (+/- 444) = 8494 MB/s
test sherlock::name_sherlock_holmes ... bench: 36,092 ns/iter (+/- 189) = 16483 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,156,696 ns/iter (+/- 3,922) = 514 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,156,088 ns/iter (+/- 2,453) = 514 MB/s
test sherlock::name_whitespace ... bench: 79,560 ns/iter (+/- 426) = 7477 MB/s
test sherlock::no_match_common ... bench: 25,940 ns/iter (+/- 119) = 22934 MB/s
test sherlock::no_match_really_common ... bench: 364,911 ns/iter (+/- 1,302) = 1630 MB/s
test sherlock::no_match_uncommon ... bench: 25,851 ns/iter (+/- 112) = 23013 MB/s
test sherlock::quotes ... bench: 561,575 ns/iter (+/- 2,083) = 1059 MB/s
test sherlock::repeated_class_negation ... bench: 88,961,089 ns/iter (+/- 132,661) = 6 MB/s
test sherlock::the_lower ... bench: 609,891 ns/iter (+/- 1,451) = 975 MB/s
test sherlock::the_nocase ... bench: 1,622,541 ns/iter (+/- 6,851) = 366 MB/s
test sherlock::the_upper ... bench: 48,810 ns/iter (+/- 245) = 12188 MB/s
test sherlock::the_whitespace ... bench: 1,192,755 ns/iter (+/- 4,168) = 498 MB/s
test sherlock::word_ending_n ... bench: 1,991,440 ns/iter (+/- 7,313) = 298 MB/s
test sherlock::words ... bench: 9,688,357 ns/iter (+/- 17,267) = 61 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 74 measured

View file

@ -0,0 +1,72 @@
Compiling regex-benchmark v0.1.0 (file:///home/andrew/data/projects/rust/regex/bench)
Running target/release/bench-0d58c0af2e68ae0d
running 65 tests
test misc::anchored_literal_long_match ... bench: 925 ns/iter (+/- 16) = 421 MB/s
test misc::anchored_literal_long_non_match ... bench: 144 ns/iter (+/- 2) = 2708 MB/s
test misc::anchored_literal_short_match ... bench: 920 ns/iter (+/- 11) = 28 MB/s
test misc::anchored_literal_short_non_match ... bench: 144 ns/iter (+/- 1) = 180 MB/s
test misc::easy0_1K ... bench: 14,228 ns/iter (+/- 204) = 73 MB/s
test misc::easy0_1MB ... bench: 3,728,677 ns/iter (+/- 4,564) = 281 MB/s
test misc::easy0_32 ... bench: 10,023 ns/iter (+/- 156) = 5 MB/s
test misc::easy0_32K ... bench: 125,851 ns/iter (+/- 287) = 260 MB/s
test misc::easy1_1K ... bench: 8,797 ns/iter (+/- 90) = 118 MB/s
test misc::easy1_1MB ... bench: 3,722,675 ns/iter (+/- 4,912) = 281 MB/s
test misc::easy1_32 ... bench: 5,189 ns/iter (+/- 77) = 10 MB/s
test misc::easy1_32K ... bench: 121,106 ns/iter (+/- 694) = 270 MB/s
test misc::hard_1K ... bench: 17,111 ns/iter (+/- 251) = 61 MB/s
test misc::hard_1MB ... bench: 3,743,313 ns/iter (+/- 7,634) = 280 MB/s
test misc::hard_32 ... bench: 13,489 ns/iter (+/- 220) = 4 MB/s
test misc::hard_32K ... bench: 129,358 ns/iter (+/- 257) = 253 MB/s
test misc::literal ... bench: 629 ns/iter (+/- 5) = 81 MB/s
test misc::long_needle1 ... bench: 21,495,182 ns/iter (+/- 41,993) = 4 MB/s
test misc::long_needle2 ... bench: 21,501,034 ns/iter (+/- 34,033) = 4 MB/s
test misc::match_class ... bench: 732 ns/iter (+/- 3) = 110 MB/s
test misc::match_class_in_range ... bench: 736 ns/iter (+/- 6) = 110 MB/s
test misc::medium_1K ... bench: 14,433 ns/iter (+/- 49) = 72 MB/s
test misc::medium_1MB ... bench: 3,729,861 ns/iter (+/- 4,198) = 281 MB/s
test misc::medium_32 ... bench: 10,756 ns/iter (+/- 75) = 5 MB/s
test misc::medium_32K ... bench: 126,593 ns/iter (+/- 169) = 259 MB/s
test misc::not_literal ... bench: 2,350 ns/iter (+/- 13) = 21 MB/s
test misc::one_pass_long_prefix ... bench: 9,183 ns/iter (+/- 198) = 2 MB/s
test misc::one_pass_long_prefix_not ... bench: 8,470 ns/iter (+/- 110) = 3 MB/s
test misc::one_pass_short ... bench: 956 ns/iter (+/- 4) = 17 MB/s
test misc::one_pass_short_not ... bench: 1,042 ns/iter (+/- 13) = 16 MB/s
test misc::reallyhard2_1K ... bench: 129,563 ns/iter (+/- 336) = 8 MB/s
test misc::reallyhard_1K ... bench: 16,656 ns/iter (+/- 152) = 63 MB/s
test misc::reallyhard_1MB ... bench: 3,744,123 ns/iter (+/- 4,556) = 280 MB/s
test misc::reallyhard_32 ... bench: 12,910 ns/iter (+/- 112) = 4 MB/s
test misc::reallyhard_32K ... bench: 129,293 ns/iter (+/- 301) = 253 MB/s
test sherlock::before_holmes ... bench: 3,593,560 ns/iter (+/- 8,574) = 165 MB/s
test sherlock::holmes_cochar_watson ... bench: 2,906,271 ns/iter (+/- 5,153) = 204 MB/s
test sherlock::ing_suffix ... bench: 7,016,213 ns/iter (+/- 30,321) = 84 MB/s
test sherlock::ing_suffix_limited_space ... bench: 24,592,817 ns/iter (+/- 78,720) = 24 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 2,457,984 ns/iter (+/- 3,932) = 242 MB/s
test sherlock::name_alt1 ... bench: 2,569,156 ns/iter (+/- 5,789) = 231 MB/s
test sherlock::name_alt2 ... bench: 3,686,183 ns/iter (+/- 13,550) = 161 MB/s
test sherlock::name_alt3 ... bench: 6,715,311 ns/iter (+/- 15,208) = 88 MB/s
test sherlock::name_alt3_nocase ... bench: 9,702,060 ns/iter (+/- 32,628) = 61 MB/s
test sherlock::name_alt4 ... bench: 3,834,029 ns/iter (+/- 3,955) = 155 MB/s
test sherlock::name_alt4_nocase ... bench: 4,762,730 ns/iter (+/- 751,201) = 124 MB/s
test sherlock::name_alt5 ... bench: 4,582,303 ns/iter (+/- 8,073) = 129 MB/s
test sherlock::name_alt5_nocase ... bench: 5,583,652 ns/iter (+/- 14,573) = 106 MB/s
test sherlock::name_holmes ... bench: 2,968,764 ns/iter (+/- 6,198) = 200 MB/s
test sherlock::name_holmes_nocase ... bench: 3,066,080 ns/iter (+/- 8,986) = 194 MB/s
test sherlock::name_sherlock ... bench: 2,372,708 ns/iter (+/- 3,272) = 250 MB/s
test sherlock::name_sherlock_holmes ... bench: 2,607,914 ns/iter (+/- 3,361) = 228 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 2,641,260 ns/iter (+/- 9,409) = 225 MB/s
test sherlock::name_sherlock_nocase ... bench: 2,420,591 ns/iter (+/- 11,053) = 245 MB/s
test sherlock::name_whitespace ... bench: 2,592,553 ns/iter (+/- 3,476) = 229 MB/s
test sherlock::no_match_common ... bench: 2,114,367 ns/iter (+/- 1,665) = 281 MB/s
test sherlock::no_match_really_common ... bench: 2,114,835 ns/iter (+/- 2,491) = 281 MB/s
test sherlock::no_match_uncommon ... bench: 2,105,274 ns/iter (+/- 1,657) = 282 MB/s
test sherlock::quotes ... bench: 10,978,890 ns/iter (+/- 30,645) = 54 MB/s
test sherlock::repeated_class_negation ... bench: 69,836,043 ns/iter (+/- 117,415) = 8 MB/s
test sherlock::the_lower ... bench: 9,343,518 ns/iter (+/- 29,387) = 63 MB/s
test sherlock::the_nocase ... bench: 9,690,676 ns/iter (+/- 42,585) = 61 MB/s
test sherlock::the_upper ... bench: 2,780,398 ns/iter (+/- 6,949) = 213 MB/s
test sherlock::the_whitespace ... bench: 11,562,612 ns/iter (+/- 78,789) = 51 MB/s
test sherlock::words ... bench: 64,139,234 ns/iter (+/- 491,422) = 9 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 65 measured

View file

@ -0,0 +1,99 @@
running 94 tests
test misc::anchored_literal_long_match ... bench: 158 ns/iter (+/- 4) = 2468 MB/s
test misc::anchored_literal_long_non_match ... bench: 495 ns/iter (+/- 7) = 787 MB/s
test misc::anchored_literal_short_match ... bench: 160 ns/iter (+/- 3) = 162 MB/s
test misc::anchored_literal_short_non_match ... bench: 44 ns/iter (+/- 4) = 590 MB/s
test misc::easy0_1K ... bench: 315 ns/iter (+/- 15) = 3336 MB/s
test misc::easy0_1MB ... bench: 136,864 ns/iter (+/- 5,984) = 7661 MB/s
test misc::easy0_32 ... bench: 163 ns/iter (+/- 11) = 361 MB/s
test misc::easy0_32K ... bench: 4,562 ns/iter (+/- 255) = 7188 MB/s
test misc::easy1_1K ... bench: 3,947 ns/iter (+/- 199) = 264 MB/s
test misc::easy1_1MB ... bench: 3,920,564 ns/iter (+/- 122,902) = 267 MB/s
test misc::easy1_32 ... bench: 321 ns/iter (+/- 20) = 161 MB/s
test misc::easy1_32K ... bench: 121,449 ns/iter (+/- 4,899) = 269 MB/s
test misc::hard_1K ... bench: 125,960 ns/iter (+/- 7,255) = 8 MB/s
test misc::hard_1MB ... bench: 134,129,947 ns/iter (+/- 4,797,942) = 7 MB/s
test misc::hard_32 ... bench: 4,044 ns/iter (+/- 227) = 14 MB/s
test misc::hard_32K ... bench: 4,183,228 ns/iter (+/- 127,808) = 7 MB/s
test misc::literal ... bench: 331 ns/iter (+/- 21) = 154 MB/s
test misc::long_needle1 ... bench: 5,715,563 ns/iter (+/- 250,535) = 17 MB/s
test misc::long_needle2 ... bench: 5,779,968 ns/iter (+/- 195,784) = 17 MB/s
test misc::match_class ... bench: 431 ns/iter (+/- 5) = 187 MB/s
test misc::match_class_in_range ... bench: 427 ns/iter (+/- 27) = 189 MB/s
test misc::match_class_unicode ... bench: 1,946 ns/iter (+/- 88) = 82 MB/s
test misc::medium_1K ... bench: 325 ns/iter (+/- 23) = 3236 MB/s
test misc::medium_1MB ... bench: 138,022 ns/iter (+/- 5,142) = 7597 MB/s
test misc::medium_32 ... bench: 182 ns/iter (+/- 7) = 329 MB/s
test misc::medium_32K ... bench: 4,511 ns/iter (+/- 190) = 7270 MB/s
test misc::not_literal ... bench: 436 ns/iter (+/- 25) = 116 MB/s
test misc::one_pass_long_prefix ... bench: 168 ns/iter (+/- 6) = 154 MB/s
test misc::one_pass_long_prefix_not ... bench: 176 ns/iter (+/- 7) = 147 MB/s
test misc::one_pass_short ... bench: 325 ns/iter (+/- 16) = 52 MB/s
test misc::one_pass_short_not ... bench: 322 ns/iter (+/- 21) = 52 MB/s
test misc::reallyhard2_1K ... bench: 289,956 ns/iter (+/- 16,350) = 3 MB/s
test misc::reallyhard_1K ... bench: 126,089 ns/iter (+/- 5,350) = 8 MB/s
test misc::reallyhard_1MB ... bench: 133,197,312 ns/iter (+/- 3,057,491) = 7 MB/s
test misc::reallyhard_32 ... bench: 4,060 ns/iter (+/- 11) = 14 MB/s
test misc::reallyhard_32K ... bench: 4,215,469 ns/iter (+/- 200,526) = 7 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 27,622 ns/iter (+/- 778) = 289 MB/s
test regexdna::find_new_lines ... bench: 30,503,604 ns/iter (+/- 1,120,697) = 166 MB/s
test regexdna::subst1 ... bench: 23,276,552 ns/iter (+/- 1,019,308) = 218 MB/s
test regexdna::subst10 ... bench: 23,199,415 ns/iter (+/- 790,938) = 219 MB/s
test regexdna::subst11 ... bench: 23,138,469 ns/iter (+/- 884,700) = 219 MB/s
test regexdna::subst2 ... bench: 23,076,376 ns/iter (+/- 644,391) = 220 MB/s
test regexdna::subst3 ... bench: 23,115,770 ns/iter (+/- 737,666) = 219 MB/s
test regexdna::subst4 ... bench: 23,093,288 ns/iter (+/- 1,003,519) = 220 MB/s
test regexdna::subst5 ... bench: 23,618,534 ns/iter (+/- 773,260) = 215 MB/s
test regexdna::subst6 ... bench: 23,301,581 ns/iter (+/- 679,681) = 218 MB/s
test regexdna::subst7 ... bench: 23,371,339 ns/iter (+/- 714,433) = 217 MB/s
test regexdna::subst8 ... bench: 23,187,513 ns/iter (+/- 863,031) = 219 MB/s
test regexdna::subst9 ... bench: 23,143,027 ns/iter (+/- 890,422) = 219 MB/s
test regexdna::variant1 ... bench: 104,906,982 ns/iter (+/- 3,391,942) = 48 MB/s
test regexdna::variant2 ... bench: 118,326,728 ns/iter (+/- 3,378,748) = 42 MB/s
test regexdna::variant3 ... bench: 109,348,596 ns/iter (+/- 3,647,056) = 46 MB/s
test regexdna::variant4 ... bench: 104,574,675 ns/iter (+/- 3,236,753) = 48 MB/s
test regexdna::variant5 ... bench: 102,968,132 ns/iter (+/- 2,792,754) = 49 MB/s
test regexdna::variant6 ... bench: 103,783,112 ns/iter (+/- 2,851,581) = 48 MB/s
test regexdna::variant7 ... bench: 103,939,805 ns/iter (+/- 3,118,277) = 48 MB/s
test regexdna::variant8 ... bench: 109,722,594 ns/iter (+/- 3,739,958) = 46 MB/s
test regexdna::variant9 ... bench: 128,702,724 ns/iter (+/- 3,739,103) = 39 MB/s
test sherlock::before_after_holmes ... bench: 39,219,739 ns/iter (+/- 1,622,425) = 15 MB/s
test sherlock::before_holmes ... bench: 37,454,934 ns/iter (+/- 1,055,140) = 15 MB/s
test sherlock::everything_greedy ... bench: 7,341,629 ns/iter (+/- 241,072) = 81 MB/s
test sherlock::holmes_cochar_watson ... bench: 2,298,534 ns/iter (+/- 94,224) = 258 MB/s
test sherlock::ing_suffix ... bench: 18,533,670 ns/iter (+/- 505,855) = 32 MB/s
test sherlock::ing_suffix_limited_space ... bench: 2,419,034 ns/iter (+/- 124,616) = 245 MB/s
test sherlock::letters ... bench: 61,910,045 ns/iter (+/- 2,122,755) = 9 MB/s
test sherlock::letters_lower ... bench: 60,831,022 ns/iter (+/- 2,559,720) = 9 MB/s
test sherlock::letters_upper ... bench: 10,747,265 ns/iter (+/- 761,147) = 55 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 215,376 ns/iter (+/- 13,622) = 2762 MB/s
test sherlock::name_alt1 ... bench: 2,282,320 ns/iter (+/- 154,104) = 260 MB/s
test sherlock::name_alt2 ... bench: 2,206,087 ns/iter (+/- 158,376) = 269 MB/s
test sherlock::name_alt3 ... bench: 2,771,932 ns/iter (+/- 181,216) = 214 MB/s
test sherlock::name_alt3_nocase ... bench: 19,198,056 ns/iter (+/- 816,668) = 30 MB/s
test sherlock::name_alt4 ... bench: 2,254,798 ns/iter (+/- 135,379) = 263 MB/s
test sherlock::name_alt4_nocase ... bench: 5,734,254 ns/iter (+/- 411,596) = 103 MB/s
test sherlock::name_alt5 ... bench: 2,276,779 ns/iter (+/- 172,557) = 261 MB/s
test sherlock::name_alt5_nocase ... bench: 7,314,318 ns/iter (+/- 377,963) = 81 MB/s
test sherlock::name_holmes ... bench: 477,888 ns/iter (+/- 37,472) = 1244 MB/s
test sherlock::name_holmes_nocase ... bench: 3,487,005 ns/iter (+/- 278,896) = 170 MB/s
test sherlock::name_sherlock ... bench: 295,313 ns/iter (+/- 16,739) = 2014 MB/s
test sherlock::name_sherlock_holmes ... bench: 216,522 ns/iter (+/- 15,594) = 2747 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 3,480,703 ns/iter (+/- 272,332) = 170 MB/s
test sherlock::name_sherlock_nocase ... bench: 3,511,444 ns/iter (+/- 283,013) = 169 MB/s
test sherlock::name_whitespace ... bench: 304,043 ns/iter (+/- 19,186) = 1956 MB/s
test sherlock::no_match_common ... bench: 632,615 ns/iter (+/- 44,676) = 940 MB/s
test sherlock::no_match_really_common ... bench: 727,565 ns/iter (+/- 54,169) = 817 MB/s
test sherlock::no_match_uncommon ... bench: 624,061 ns/iter (+/- 37,791) = 953 MB/s
test sherlock::quotes ... bench: 3,776,688 ns/iter (+/- 186,393) = 157 MB/s
test sherlock::repeated_class_negation ... bench: 34,354,179 ns/iter (+/- 1,534,267) = 17 MB/s
test sherlock::the_lower ... bench: 1,965,787 ns/iter (+/- 137,099) = 302 MB/s
test sherlock::the_nocase ... bench: 4,853,843 ns/iter (+/- 259,890) = 122 MB/s
test sherlock::the_upper ... bench: 949,071 ns/iter (+/- 66,016) = 626 MB/s
test sherlock::the_whitespace ... bench: 2,173,683 ns/iter (+/- 142,384) = 273 MB/s
test sherlock::word_ending_n ... bench: 19,711,057 ns/iter (+/- 942,152) = 30 MB/s
test sherlock::words ... bench: 21,979,387 ns/iter (+/- 1,250,588) = 27 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 94 measured

View file

@ -0,0 +1,95 @@
name onig ns/iter rust ns/iter diff ns/iter diff %
misc::anchored_literal_long_match 158 (2468 MB/s) 24 (16250 MB/s) -134 -84.81%
misc::anchored_literal_long_non_match 495 (787 MB/s) 27 (14444 MB/s) -468 -94.55%
misc::anchored_literal_short_match 160 (162 MB/s) 22 (1181 MB/s) -138 -86.25%
misc::anchored_literal_short_non_match 44 (590 MB/s) 24 (1083 MB/s) -20 -45.45%
misc::easy0_1K 315 (3336 MB/s) 16 (65687 MB/s) -299 -94.92%
misc::easy0_1MB 136,864 (7661 MB/s) 20 (52430150 MB/s) -136,844 -99.99%
misc::easy0_32 163 (361 MB/s) 16 (3687 MB/s) -147 -90.18%
misc::easy0_32K 4,562 (7188 MB/s) 16 (2049687 MB/s) -4,546 -99.65%
misc::easy1_1K 3,947 (264 MB/s) 48 (21750 MB/s) -3,899 -98.78%
misc::easy1_1MB 3,920,564 (267 MB/s) 48 (21845750 MB/s) -3,920,516 -100.00%
misc::easy1_32 321 (161 MB/s) 46 (1130 MB/s) -275 -85.67%
misc::easy1_32K 121,449 (269 MB/s) 47 (697617 MB/s) -121,402 -99.96%
misc::hard_1K 125,960 (8 MB/s) 58 (18120 MB/s) -125,902 -99.95%
misc::hard_1MB 134,129,947 (7 MB/s) 61 (17190213 MB/s) -134,129,886 -100.00%
misc::hard_32 4,044 (14 MB/s) 58 (1017 MB/s) -3,986 -98.57%
misc::hard_32K 4,183,228 (7 MB/s) 56 (585625 MB/s) -4,183,172 -100.00%
misc::literal 331 (154 MB/s) 16 (3187 MB/s) -315 -95.17%
misc::long_needle1 5,715,563 (17 MB/s) 2,226 (44924 MB/s) -5,713,337 -99.96%
misc::long_needle2 5,779,968 (17 MB/s) 576,997 (173 MB/s) -5,202,971 -90.02%
misc::match_class 431 (187 MB/s) 65 (1246 MB/s) -366 -84.92%
misc::match_class_in_range 427 (189 MB/s) 27 (3000 MB/s) -400 -93.68%
misc::match_class_unicode 1,946 (82 MB/s) 283 (568 MB/s) -1,663 -85.46%
misc::medium_1K 325 (3236 MB/s) 16 (65750 MB/s) -309 -95.08%
misc::medium_1MB 138,022 (7597 MB/s) 21 (49933523 MB/s) -138,001 -99.98%
misc::medium_32 182 (329 MB/s) 17 (3529 MB/s) -165 -90.66%
misc::medium_32K 4,511 (7270 MB/s) 17 (1929176 MB/s) -4,494 -99.62%
misc::not_literal 436 (116 MB/s) 105 (485 MB/s) -331 -75.92%
misc::one_pass_long_prefix 168 (154 MB/s) 68 (382 MB/s) -100 -59.52%
misc::one_pass_long_prefix_not 176 (147 MB/s) 58 (448 MB/s) -118 -67.05%
misc::one_pass_short 325 (52 MB/s) 45 (377 MB/s) -280 -86.15%
misc::one_pass_short_not 322 (52 MB/s) 50 (340 MB/s) -272 -84.47%
misc::reallyhard2_1K 289,956 (3 MB/s) 83 (12530 MB/s) -289,873 -99.97%
misc::reallyhard_1K 126,089 (8 MB/s) 1,822 (576 MB/s) -124,267 -98.55%
misc::reallyhard_1MB 133,197,312 (7 MB/s) 1,768,327 (592 MB/s) -131,428,985 -98.67%
misc::reallyhard_32 4,060 (14 MB/s) 121 (487 MB/s) -3,939 -97.02%
misc::reallyhard_32K 4,215,469 (7 MB/s) 56,375 (581 MB/s) -4,159,094 -98.66%
misc::reverse_suffix_no_quadratic 27,622 (289 MB/s) 5,803 (1378 MB/s) -21,819 -78.99%
regexdna::find_new_lines 30,503,604 (166 MB/s) 14,818,233 (343 MB/s) -15,685,371 -51.42%
regexdna::subst1 23,276,552 (218 MB/s) 896,790 (5668 MB/s) -22,379,762 -96.15%
regexdna::subst10 23,199,415 (219 MB/s) 957,325 (5310 MB/s) -22,242,090 -95.87%
regexdna::subst11 23,138,469 (219 MB/s) 917,248 (5542 MB/s) -22,221,221 -96.04%
regexdna::subst2 23,076,376 (220 MB/s) 892,129 (5698 MB/s) -22,184,247 -96.13%
regexdna::subst3 23,115,770 (219 MB/s) 929,250 (5470 MB/s) -22,186,520 -95.98%
regexdna::subst4 23,093,288 (220 MB/s) 872,581 (5825 MB/s) -22,220,707 -96.22%
regexdna::subst5 23,618,534 (215 MB/s) 875,804 (5804 MB/s) -22,742,730 -96.29%
regexdna::subst6 23,301,581 (218 MB/s) 884,639 (5746 MB/s) -22,416,942 -96.20%
regexdna::subst7 23,371,339 (217 MB/s) 872,791 (5824 MB/s) -22,498,548 -96.27%
regexdna::subst8 23,187,513 (219 MB/s) 873,833 (5817 MB/s) -22,313,680 -96.23%
regexdna::subst9 23,143,027 (219 MB/s) 886,744 (5732 MB/s) -22,256,283 -96.17%
regexdna::variant1 104,906,982 (48 MB/s) 3,699,267 (1374 MB/s) -101,207,715 -96.47%
regexdna::variant2 118,326,728 (42 MB/s) 6,760,952 (751 MB/s) -111,565,776 -94.29%
regexdna::variant3 109,348,596 (46 MB/s) 8,030,646 (633 MB/s) -101,317,950 -92.66%
regexdna::variant4 104,574,675 (48 MB/s) 8,077,290 (629 MB/s) -96,497,385 -92.28%
regexdna::variant5 102,968,132 (49 MB/s) 6,787,242 (748 MB/s) -96,180,890 -93.41%
regexdna::variant6 103,783,112 (48 MB/s) 6,577,777 (772 MB/s) -97,205,335 -93.66%
regexdna::variant7 103,939,805 (48 MB/s) 6,705,580 (758 MB/s) -97,234,225 -93.55%
regexdna::variant8 109,722,594 (46 MB/s) 6,818,785 (745 MB/s) -102,903,809 -93.79%
regexdna::variant9 128,702,724 (39 MB/s) 6,821,453 (745 MB/s) -121,881,271 -94.70%
sherlock::before_after_holmes 39,219,739 (15 MB/s) 1,029,866 (577 MB/s) -38,189,873 -97.37%
sherlock::before_holmes 37,454,934 (15 MB/s) 76,633 (7763 MB/s) -37,378,301 -99.80%
sherlock::everything_greedy 7,341,629 (81 MB/s) 2,375,079 (250 MB/s) -4,966,550 -67.65%
sherlock::holmes_cochar_watson 2,298,534 (258 MB/s) 144,725 (4110 MB/s) -2,153,809 -93.70%
sherlock::ing_suffix 18,533,670 (32 MB/s) 436,202 (1363 MB/s) -18,097,468 -97.65%
sherlock::ing_suffix_limited_space 2,419,034 (245 MB/s) 1,182,943 (502 MB/s) -1,236,091 -51.10%
sherlock::letters 61,910,045 (9 MB/s) 24,390,452 (24 MB/s) -37,519,593 -60.60%
sherlock::letters_lower 60,831,022 (9 MB/s) 23,784,108 (25 MB/s) -37,046,914 -60.90%
sherlock::letters_upper 10,747,265 (55 MB/s) 1,993,838 (298 MB/s) -8,753,427 -81.45%
sherlock::line_boundary_sherlock_holmes 215,376 (2762 MB/s) 999,414 (595 MB/s) 784,038 364.03%
sherlock::name_alt1 2,282,320 (260 MB/s) 34,298 (17345 MB/s) -2,248,022 -98.50%
sherlock::name_alt2 2,206,087 (269 MB/s) 124,226 (4789 MB/s) -2,081,861 -94.37%
sherlock::name_alt3 2,771,932 (214 MB/s) 137,742 (4319 MB/s) -2,634,190 -95.03%
sherlock::name_alt3_nocase 19,198,056 (30 MB/s) 1,293,763 (459 MB/s) -17,904,293 -93.26%
sherlock::name_alt4 2,254,798 (263 MB/s) 164,900 (3607 MB/s) -2,089,898 -92.69%
sherlock::name_alt4_nocase 5,734,254 (103 MB/s) 235,023 (2531 MB/s) -5,499,231 -95.90%
sherlock::name_alt5 2,276,779 (261 MB/s) 127,928 (4650 MB/s) -2,148,851 -94.38%
sherlock::name_alt5_nocase 7,314,318 (81 MB/s) 659,591 (901 MB/s) -6,654,727 -90.98%
sherlock::name_holmes 477,888 (1244 MB/s) 40,902 (14545 MB/s) -436,986 -91.44%
sherlock::name_holmes_nocase 3,487,005 (170 MB/s) 198,658 (2994 MB/s) -3,288,347 -94.30%
sherlock::name_sherlock 295,313 (2014 MB/s) 68,924 (8631 MB/s) -226,389 -76.66%
sherlock::name_sherlock_holmes 216,522 (2747 MB/s) 31,640 (18803 MB/s) -184,882 -85.39%
sherlock::name_sherlock_holmes_nocase 3,480,703 (170 MB/s) 173,522 (3428 MB/s) -3,307,181 -95.01%
sherlock::name_sherlock_nocase 3,511,444 (169 MB/s) 170,888 (3481 MB/s) -3,340,556 -95.13%
sherlock::name_whitespace 304,043 (1956 MB/s) 84,314 (7056 MB/s) -219,729 -72.27%
sherlock::no_match_common 632,615 (940 MB/s) 20,727 (28703 MB/s) -611,888 -96.72%
sherlock::no_match_really_common 727,565 (817 MB/s) 381,476 (1559 MB/s) -346,089 -47.57%
sherlock::no_match_uncommon 624,061 (953 MB/s) 20,786 (28621 MB/s) -603,275 -96.67%
sherlock::quotes 3,776,688 (157 MB/s) 531,487 (1119 MB/s) -3,245,201 -85.93%
sherlock::repeated_class_negation 34,354,179 (17 MB/s) 85,881,944 (6 MB/s) 51,527,765 149.99%
sherlock::the_lower 1,965,787 (302 MB/s) 654,110 (909 MB/s) -1,311,677 -66.73%
sherlock::the_nocase 4,853,843 (122 MB/s) 474,456 (1253 MB/s) -4,379,387 -90.23%
sherlock::the_upper 949,071 (626 MB/s) 43,746 (13599 MB/s) -905,325 -95.39%
sherlock::the_whitespace 2,173,683 (273 MB/s) 1,181,974 (503 MB/s) -991,709 -45.62%
sherlock::word_ending_n 19,711,057 (30 MB/s) 1,925,578 (308 MB/s) -17,785,479 -90.23%
sherlock::words 21,979,387 (27 MB/s) 9,697,201 (61 MB/s) -12,282,186 -55.88%

View file

@ -0,0 +1,98 @@
running 93 tests
test misc::anchored_literal_long_match ... bench: 30 ns/iter (+/- 0) = 13000 MB/s
test misc::anchored_literal_long_non_match ... bench: 24 ns/iter (+/- 1) = 16250 MB/s
test misc::anchored_literal_short_match ... bench: 29 ns/iter (+/- 1) = 896 MB/s
test misc::anchored_literal_short_non_match ... bench: 24 ns/iter (+/- 1) = 1083 MB/s
test misc::easy0_1K ... bench: 260 ns/iter (+/- 15) = 4042 MB/s
test misc::easy0_1MB ... bench: 202,849 ns/iter (+/- 7,973) = 5169 MB/s
test misc::easy0_32 ... bench: 47 ns/iter (+/- 3) = 1255 MB/s
test misc::easy0_32K ... bench: 6,378 ns/iter (+/- 236) = 5141 MB/s
test misc::easy1_1K ... bench: 248 ns/iter (+/- 15) = 4209 MB/s
test misc::easy1_1MB ... bench: 203,105 ns/iter (+/- 7,590) = 5162 MB/s
test misc::easy1_32 ... bench: 51 ns/iter (+/- 1) = 1019 MB/s
test misc::easy1_32K ... bench: 6,508 ns/iter (+/- 160) = 5038 MB/s
test misc::hard_1K ... bench: 1,324 ns/iter (+/- 46) = 793 MB/s
test misc::hard_1MB ... bench: 1,134,691 ns/iter (+/- 41,296) = 924 MB/s
test misc::hard_32 ... bench: 113 ns/iter (+/- 13) = 522 MB/s
test misc::hard_32K ... bench: 42,269 ns/iter (+/- 2,298) = 775 MB/s
test misc::literal ... bench: 28 ns/iter (+/- 0) = 1821 MB/s
test misc::long_needle1 ... bench: 547,122 ns/iter (+/- 34,029) = 182 MB/s
test misc::long_needle2 ... bench: 546,018 ns/iter (+/- 24,721) = 183 MB/s
test misc::match_class ... bench: 97 ns/iter (+/- 5) = 835 MB/s
test misc::match_class_in_range ... bench: 30 ns/iter (+/- 1) = 2700 MB/s
test misc::match_class_unicode ... bench: 343 ns/iter (+/- 2) = 469 MB/s
test misc::medium_1K ... bench: 253 ns/iter (+/- 15) = 4158 MB/s
test misc::medium_1MB ... bench: 202,025 ns/iter (+/- 11,252) = 5190 MB/s
test misc::medium_32 ... bench: 51 ns/iter (+/- 2) = 1176 MB/s
test misc::medium_32K ... bench: 6,406 ns/iter (+/- 318) = 5119 MB/s
test misc::not_literal ... bench: 169 ns/iter (+/- 6) = 301 MB/s
test misc::one_pass_long_prefix ... bench: 28 ns/iter (+/- 1) = 928 MB/s
test misc::one_pass_long_prefix_not ... bench: 28 ns/iter (+/- 0) = 928 MB/s
test misc::one_pass_short ... bench: 54 ns/iter (+/- 0) = 314 MB/s
test misc::one_pass_short_not ... bench: 55 ns/iter (+/- 3) = 309 MB/s
test misc::reallyhard2_1K ... bench: 4,664 ns/iter (+/- 123) = 222 MB/s
test misc::reallyhard_1K ... bench: 1,595 ns/iter (+/- 34) = 658 MB/s
test misc::reallyhard_1MB ... bench: 1,377,542 ns/iter (+/- 2,203) = 761 MB/s
test misc::reallyhard_32 ... bench: 106 ns/iter (+/- 2) = 556 MB/s
test misc::reallyhard_32K ... bench: 43,256 ns/iter (+/- 1,230) = 758 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,607 ns/iter (+/- 68) = 1736 MB/s
test regexdna::find_new_lines ... bench: 2,840,298 ns/iter (+/- 128,040) = 1789 MB/s
test regexdna::subst1 ... bench: 1,284,283 ns/iter (+/- 39,986) = 3958 MB/s
test regexdna::subst10 ... bench: 1,269,531 ns/iter (+/- 63,116) = 4004 MB/s
test regexdna::subst11 ... bench: 1,286,171 ns/iter (+/- 49,256) = 3952 MB/s
test regexdna::subst2 ... bench: 1,303,022 ns/iter (+/- 1,553) = 3901 MB/s
test regexdna::subst3 ... bench: 1,295,961 ns/iter (+/- 57,880) = 3922 MB/s
test regexdna::subst4 ... bench: 1,313,706 ns/iter (+/- 2,115) = 3869 MB/s
test regexdna::subst5 ... bench: 1,286,339 ns/iter (+/- 2,093) = 3951 MB/s
test regexdna::subst6 ... bench: 1,385,644 ns/iter (+/- 3,387) = 3668 MB/s
test regexdna::subst7 ... bench: 1,286,743 ns/iter (+/- 2,339) = 3950 MB/s
test regexdna::subst8 ... bench: 1,306,406 ns/iter (+/- 1,686) = 3891 MB/s
test regexdna::subst9 ... bench: 1,280,365 ns/iter (+/- 52,649) = 3970 MB/s
test regexdna::variant1 ... bench: 15,271,875 ns/iter (+/- 510,399) = 332 MB/s
test regexdna::variant2 ... bench: 16,704,090 ns/iter (+/- 446,145) = 304 MB/s
test regexdna::variant3 ... bench: 20,745,546 ns/iter (+/- 500,573) = 245 MB/s
test regexdna::variant4 ... bench: 19,285,154 ns/iter (+/- 543,793) = 263 MB/s
test regexdna::variant5 ... bench: 17,234,130 ns/iter (+/- 291,232) = 294 MB/s
test regexdna::variant6 ... bench: 17,462,350 ns/iter (+/- 510,036) = 291 MB/s
test regexdna::variant7 ... bench: 19,671,680 ns/iter (+/- 562,610) = 258 MB/s
test regexdna::variant8 ... bench: 24,515,319 ns/iter (+/- 725,298) = 207 MB/s
test regexdna::variant9 ... bench: 22,623,755 ns/iter (+/- 637,538) = 224 MB/s
test sherlock::before_after_holmes ... bench: 4,510,830 ns/iter (+/- 170,864) = 131 MB/s
test sherlock::before_holmes ... bench: 4,706,836 ns/iter (+/- 186,202) = 126 MB/s
test sherlock::holmes_cochar_watson ... bench: 523,122 ns/iter (+/- 988) = 1137 MB/s
test sherlock::ing_suffix ... bench: 2,030,438 ns/iter (+/- 9,228) = 293 MB/s
test sherlock::ing_suffix_limited_space ... bench: 4,996,956 ns/iter (+/- 197,705) = 119 MB/s
test sherlock::letters ... bench: 13,529,105 ns/iter (+/- 496,645) = 43 MB/s
test sherlock::letters_lower ... bench: 13,681,607 ns/iter (+/- 448,932) = 43 MB/s
test sherlock::letters_upper ... bench: 1,904,757 ns/iter (+/- 94,484) = 312 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 207,695 ns/iter (+/- 8,892) = 2864 MB/s
test sherlock::name_alt1 ... bench: 486,857 ns/iter (+/- 21,004) = 1221 MB/s
test sherlock::name_alt2 ... bench: 483,926 ns/iter (+/- 26,860) = 1229 MB/s
test sherlock::name_alt3 ... bench: 978,827 ns/iter (+/- 43,851) = 607 MB/s
test sherlock::name_alt3_nocase ... bench: 2,986,143 ns/iter (+/- 78,155) = 199 MB/s
test sherlock::name_alt4 ... bench: 78,104 ns/iter (+/- 4,056) = 7617 MB/s
test sherlock::name_alt4_nocase ... bench: 1,638,351 ns/iter (+/- 62,542) = 363 MB/s
test sherlock::name_alt5 ... bench: 685,723 ns/iter (+/- 26,092) = 867 MB/s
test sherlock::name_alt5_nocase ... bench: 1,817,760 ns/iter (+/- 80,781) = 327 MB/s
test sherlock::name_holmes ... bench: 411,102 ns/iter (+/- 1,887) = 1447 MB/s
test sherlock::name_holmes_nocase ... bench: 516,003 ns/iter (+/- 2,295) = 1152 MB/s
test sherlock::name_sherlock ... bench: 284,300 ns/iter (+/- 1,117) = 2092 MB/s
test sherlock::name_sherlock_holmes ... bench: 209,139 ns/iter (+/- 380) = 2844 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,118,324 ns/iter (+/- 1,654) = 531 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,126,992 ns/iter (+/- 1,180) = 527 MB/s
test sherlock::name_whitespace ... bench: 284,672 ns/iter (+/- 510) = 2089 MB/s
test sherlock::no_match_common ... bench: 439,955 ns/iter (+/- 939) = 1352 MB/s
test sherlock::no_match_really_common ... bench: 439,266 ns/iter (+/- 3,751) = 1354 MB/s
test sherlock::no_match_uncommon ... bench: 28,872 ns/iter (+/- 31) = 20605 MB/s
test sherlock::quotes ... bench: 522,877 ns/iter (+/- 32,723) = 1137 MB/s
test sherlock::repeated_class_negation ... bench: 5,997,745 ns/iter (+/- 209,544) = 99 MB/s
test sherlock::the_lower ... bench: 747,234 ns/iter (+/- 43,110) = 796 MB/s
test sherlock::the_nocase ... bench: 802,320 ns/iter (+/- 27,715) = 741 MB/s
test sherlock::the_upper ... bench: 58,163 ns/iter (+/- 2,202) = 10228 MB/s
test sherlock::the_whitespace ... bench: 920,781 ns/iter (+/- 30,609) = 646 MB/s
test sherlock::word_ending_n ... bench: 5,703,864 ns/iter (+/- 191,007) = 104 MB/s
test sherlock::words ... bench: 6,786,318 ns/iter (+/- 168,049) = 87 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 93 measured

View file

@ -0,0 +1,94 @@
name pcre1 ns/iter rust ns/iter diff ns/iter diff %
misc::anchored_literal_long_match 30 (13000 MB/s) 24 (16250 MB/s) -6 -20.00%
misc::anchored_literal_long_non_match 24 (16250 MB/s) 27 (14444 MB/s) 3 12.50%
misc::anchored_literal_short_match 29 (896 MB/s) 22 (1181 MB/s) -7 -24.14%
misc::anchored_literal_short_non_match 24 (1083 MB/s) 24 (1083 MB/s) 0 0.00%
misc::easy0_1K 260 (4042 MB/s) 16 (65687 MB/s) -244 -93.85%
misc::easy0_1MB 202,849 (5169 MB/s) 20 (52430150 MB/s) -202,829 -99.99%
misc::easy0_32 47 (1255 MB/s) 16 (3687 MB/s) -31 -65.96%
misc::easy0_32K 6,378 (5141 MB/s) 16 (2049687 MB/s) -6,362 -99.75%
misc::easy1_1K 248 (4209 MB/s) 48 (21750 MB/s) -200 -80.65%
misc::easy1_1MB 203,105 (5162 MB/s) 48 (21845750 MB/s) -203,057 -99.98%
misc::easy1_32 51 (1019 MB/s) 46 (1130 MB/s) -5 -9.80%
misc::easy1_32K 6,508 (5038 MB/s) 47 (697617 MB/s) -6,461 -99.28%
misc::hard_1K 1,324 (793 MB/s) 58 (18120 MB/s) -1,266 -95.62%
misc::hard_1MB 1,134,691 (924 MB/s) 61 (17190213 MB/s) -1,134,630 -99.99%
misc::hard_32 113 (522 MB/s) 58 (1017 MB/s) -55 -48.67%
misc::hard_32K 42,269 (775 MB/s) 56 (585625 MB/s) -42,213 -99.87%
misc::literal 28 (1821 MB/s) 16 (3187 MB/s) -12 -42.86%
misc::long_needle1 547,122 (182 MB/s) 2,226 (44924 MB/s) -544,896 -99.59%
misc::long_needle2 546,018 (183 MB/s) 576,997 (173 MB/s) 30,979 5.67%
misc::match_class 97 (835 MB/s) 65 (1246 MB/s) -32 -32.99%
misc::match_class_in_range 30 (2700 MB/s) 27 (3000 MB/s) -3 -10.00%
misc::match_class_unicode 343 (469 MB/s) 283 (568 MB/s) -60 -17.49%
misc::medium_1K 253 (4158 MB/s) 16 (65750 MB/s) -237 -93.68%
misc::medium_1MB 202,025 (5190 MB/s) 21 (49933523 MB/s) -202,004 -99.99%
misc::medium_32 51 (1176 MB/s) 17 (3529 MB/s) -34 -66.67%
misc::medium_32K 6,406 (5119 MB/s) 17 (1929176 MB/s) -6,389 -99.73%
misc::not_literal 169 (301 MB/s) 105 (485 MB/s) -64 -37.87%
misc::one_pass_long_prefix 28 (928 MB/s) 68 (382 MB/s) 40 142.86%
misc::one_pass_long_prefix_not 28 (928 MB/s) 58 (448 MB/s) 30 107.14%
misc::one_pass_short 54 (314 MB/s) 45 (377 MB/s) -9 -16.67%
misc::one_pass_short_not 55 (309 MB/s) 50 (340 MB/s) -5 -9.09%
misc::reallyhard2_1K 4,664 (222 MB/s) 83 (12530 MB/s) -4,581 -98.22%
misc::reallyhard_1K 1,595 (658 MB/s) 1,822 (576 MB/s) 227 14.23%
misc::reallyhard_1MB 1,377,542 (761 MB/s) 1,768,327 (592 MB/s) 390,785 28.37%
misc::reallyhard_32 106 (556 MB/s) 121 (487 MB/s) 15 14.15%
misc::reallyhard_32K 43,256 (758 MB/s) 56,375 (581 MB/s) 13,119 30.33%
misc::reverse_suffix_no_quadratic 4,607 (1736 MB/s) 5,803 (1378 MB/s) 1,196 25.96%
regexdna::find_new_lines 2,840,298 (1789 MB/s) 14,818,233 (343 MB/s) 11,977,935 421.71%
regexdna::subst1 1,284,283 (3958 MB/s) 896,790 (5668 MB/s) -387,493 -30.17%
regexdna::subst10 1,269,531 (4004 MB/s) 957,325 (5310 MB/s) -312,206 -24.59%
regexdna::subst11 1,286,171 (3952 MB/s) 917,248 (5542 MB/s) -368,923 -28.68%
regexdna::subst2 1,303,022 (3901 MB/s) 892,129 (5698 MB/s) -410,893 -31.53%
regexdna::subst3 1,295,961 (3922 MB/s) 929,250 (5470 MB/s) -366,711 -28.30%
regexdna::subst4 1,313,706 (3869 MB/s) 872,581 (5825 MB/s) -441,125 -33.58%
regexdna::subst5 1,286,339 (3951 MB/s) 875,804 (5804 MB/s) -410,535 -31.91%
regexdna::subst6 1,385,644 (3668 MB/s) 884,639 (5746 MB/s) -501,005 -36.16%
regexdna::subst7 1,286,743 (3950 MB/s) 872,791 (5824 MB/s) -413,952 -32.17%
regexdna::subst8 1,306,406 (3891 MB/s) 873,833 (5817 MB/s) -432,573 -33.11%
regexdna::subst9 1,280,365 (3970 MB/s) 886,744 (5732 MB/s) -393,621 -30.74%
regexdna::variant1 15,271,875 (332 MB/s) 3,699,267 (1374 MB/s) -11,572,608 -75.78%
regexdna::variant2 16,704,090 (304 MB/s) 6,760,952 (751 MB/s) -9,943,138 -59.53%
regexdna::variant3 20,745,546 (245 MB/s) 8,030,646 (633 MB/s) -12,714,900 -61.29%
regexdna::variant4 19,285,154 (263 MB/s) 8,077,290 (629 MB/s) -11,207,864 -58.12%
regexdna::variant5 17,234,130 (294 MB/s) 6,787,242 (748 MB/s) -10,446,888 -60.62%
regexdna::variant6 17,462,350 (291 MB/s) 6,577,777 (772 MB/s) -10,884,573 -62.33%
regexdna::variant7 19,671,680 (258 MB/s) 6,705,580 (758 MB/s) -12,966,100 -65.91%
regexdna::variant8 24,515,319 (207 MB/s) 6,818,785 (745 MB/s) -17,696,534 -72.19%
regexdna::variant9 22,623,755 (224 MB/s) 6,821,453 (745 MB/s) -15,802,302 -69.85%
sherlock::before_after_holmes 4,510,830 (131 MB/s) 1,029,866 (577 MB/s) -3,480,964 -77.17%
sherlock::before_holmes 4,706,836 (126 MB/s) 76,633 (7763 MB/s) -4,630,203 -98.37%
sherlock::holmes_cochar_watson 523,122 (1137 MB/s) 144,725 (4110 MB/s) -378,397 -72.33%
sherlock::ing_suffix 2,030,438 (293 MB/s) 436,202 (1363 MB/s) -1,594,236 -78.52%
sherlock::ing_suffix_limited_space 4,996,956 (119 MB/s) 1,182,943 (502 MB/s) -3,814,013 -76.33%
sherlock::letters 13,529,105 (43 MB/s) 24,390,452 (24 MB/s) 10,861,347 80.28%
sherlock::letters_lower 13,681,607 (43 MB/s) 23,784,108 (25 MB/s) 10,102,501 73.84%
sherlock::letters_upper 1,904,757 (312 MB/s) 1,993,838 (298 MB/s) 89,081 4.68%
sherlock::line_boundary_sherlock_holmes 207,695 (2864 MB/s) 999,414 (595 MB/s) 791,719 381.19%
sherlock::name_alt1 486,857 (1221 MB/s) 34,298 (17345 MB/s) -452,559 -92.96%
sherlock::name_alt2 483,926 (1229 MB/s) 124,226 (4789 MB/s) -359,700 -74.33%
sherlock::name_alt3 978,827 (607 MB/s) 137,742 (4319 MB/s) -841,085 -85.93%
sherlock::name_alt3_nocase 2,986,143 (199 MB/s) 1,293,763 (459 MB/s) -1,692,380 -56.67%
sherlock::name_alt4 78,104 (7617 MB/s) 164,900 (3607 MB/s) 86,796 111.13%
sherlock::name_alt4_nocase 1,638,351 (363 MB/s) 235,023 (2531 MB/s) -1,403,328 -85.65%
sherlock::name_alt5 685,723 (867 MB/s) 127,928 (4650 MB/s) -557,795 -81.34%
sherlock::name_alt5_nocase 1,817,760 (327 MB/s) 659,591 (901 MB/s) -1,158,169 -63.71%
sherlock::name_holmes 411,102 (1447 MB/s) 40,902 (14545 MB/s) -370,200 -90.05%
sherlock::name_holmes_nocase 516,003 (1152 MB/s) 198,658 (2994 MB/s) -317,345 -61.50%
sherlock::name_sherlock 284,300 (2092 MB/s) 68,924 (8631 MB/s) -215,376 -75.76%
sherlock::name_sherlock_holmes 209,139 (2844 MB/s) 31,640 (18803 MB/s) -177,499 -84.87%
sherlock::name_sherlock_holmes_nocase 1,118,324 (531 MB/s) 173,522 (3428 MB/s) -944,802 -84.48%
sherlock::name_sherlock_nocase 1,126,992 (527 MB/s) 170,888 (3481 MB/s) -956,104 -84.84%
sherlock::name_whitespace 284,672 (2089 MB/s) 84,314 (7056 MB/s) -200,358 -70.38%
sherlock::no_match_common 439,955 (1352 MB/s) 20,727 (28703 MB/s) -419,228 -95.29%
sherlock::no_match_really_common 439,266 (1354 MB/s) 381,476 (1559 MB/s) -57,790 -13.16%
sherlock::no_match_uncommon 28,872 (20605 MB/s) 20,786 (28621 MB/s) -8,086 -28.01%
sherlock::quotes 522,877 (1137 MB/s) 531,487 (1119 MB/s) 8,610 1.65%
sherlock::repeated_class_negation 5,997,745 (99 MB/s) 85,881,944 (6 MB/s) 79,884,199 1331.90%
sherlock::the_lower 747,234 (796 MB/s) 654,110 (909 MB/s) -93,124 -12.46%
sherlock::the_nocase 802,320 (741 MB/s) 474,456 (1253 MB/s) -327,864 -40.86%
sherlock::the_upper 58,163 (10228 MB/s) 43,746 (13599 MB/s) -14,417 -24.79%
sherlock::the_whitespace 920,781 (646 MB/s) 1,181,974 (503 MB/s) 261,193 28.37%
sherlock::word_ending_n 5,703,864 (104 MB/s) 1,925,578 (308 MB/s) -3,778,286 -66.24%
sherlock::words 6,786,318 (87 MB/s) 9,697,201 (61 MB/s) 2,910,883 42.89%

View file

@ -0,0 +1,98 @@
running 93 tests
test misc::anchored_literal_long_match ... bench: 20 ns/iter (+/- 0) = 19500 MB/s
test misc::anchored_literal_long_non_match ... bench: 15 ns/iter (+/- 0) = 26000 MB/s
test misc::anchored_literal_short_match ... bench: 19 ns/iter (+/- 1) = 1368 MB/s
test misc::anchored_literal_short_non_match ... bench: 13 ns/iter (+/- 0) = 2000 MB/s
test misc::easy0_1K ... bench: 241 ns/iter (+/- 9) = 4360 MB/s
test misc::easy0_1MB ... bench: 207,103 ns/iter (+/- 8,557) = 5063 MB/s
test misc::easy0_32 ... bench: 39 ns/iter (+/- 0) = 1512 MB/s
test misc::easy0_32K ... bench: 6,522 ns/iter (+/- 20) = 5028 MB/s
test misc::easy1_1K ... bench: 247 ns/iter (+/- 3) = 4226 MB/s
test misc::easy1_1MB ... bench: 206,893 ns/iter (+/- 9,489) = 5068 MB/s
test misc::easy1_32 ... bench: 41 ns/iter (+/- 0) = 1268 MB/s
test misc::easy1_32K ... bench: 6,516 ns/iter (+/- 301) = 5031 MB/s
test misc::hard_1K ... bench: 1,566 ns/iter (+/- 79) = 671 MB/s
test misc::hard_1MB ... bench: 1,119,234 ns/iter (+/- 38,605) = 936 MB/s
test misc::hard_32 ... bench: 95 ns/iter (+/- 4) = 621 MB/s
test misc::hard_32K ... bench: 34,411 ns/iter (+/- 1,542) = 953 MB/s
test misc::literal ... bench: 18 ns/iter (+/- 0) = 2833 MB/s
test misc::long_needle1 ... bench: 550,340 ns/iter (+/- 30,668) = 181 MB/s
test misc::long_needle2 ... bench: 553,056 ns/iter (+/- 25,618) = 180 MB/s
test misc::match_class ... bench: 82 ns/iter (+/- 1) = 987 MB/s
test misc::match_class_in_range ... bench: 20 ns/iter (+/- 1) = 4050 MB/s
test misc::match_class_unicode ... bench: 351 ns/iter (+/- 14) = 458 MB/s
test misc::medium_1K ... bench: 242 ns/iter (+/- 13) = 4347 MB/s
test misc::medium_1MB ... bench: 207,290 ns/iter (+/- 1,458) = 5058 MB/s
test misc::medium_32 ... bench: 41 ns/iter (+/- 0) = 1463 MB/s
test misc::medium_32K ... bench: 6,529 ns/iter (+/- 293) = 5023 MB/s
test misc::not_literal ... bench: 161 ns/iter (+/- 7) = 316 MB/s
test misc::one_pass_long_prefix ... bench: 17 ns/iter (+/- 1) = 1529 MB/s
test misc::one_pass_long_prefix_not ... bench: 18 ns/iter (+/- 1) = 1444 MB/s
test misc::one_pass_short ... bench: 45 ns/iter (+/- 2) = 377 MB/s
test misc::one_pass_short_not ... bench: 49 ns/iter (+/- 2) = 346 MB/s
test misc::reallyhard2_1K ... bench: 4,487 ns/iter (+/- 190) = 231 MB/s
test misc::reallyhard_1K ... bench: 1,260 ns/iter (+/- 46) = 834 MB/s
test misc::reallyhard_1MB ... bench: 1,361,796 ns/iter (+/- 46,490) = 770 MB/s
test misc::reallyhard_32 ... bench: 93 ns/iter (+/- 8) = 634 MB/s
test misc::reallyhard_32K ... bench: 42,503 ns/iter (+/- 1,721) = 771 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,559 ns/iter (+/- 171) = 1754 MB/s
test regexdna::find_new_lines ... bench: 1,887,325 ns/iter (+/- 74,026) = 2693 MB/s
test regexdna::subst1 ... bench: 963,089 ns/iter (+/- 3,478) = 5278 MB/s
test regexdna::subst10 ... bench: 968,221 ns/iter (+/- 5,406) = 5250 MB/s
test regexdna::subst11 ... bench: 961,661 ns/iter (+/- 45,597) = 5286 MB/s
test regexdna::subst2 ... bench: 956,430 ns/iter (+/- 32,654) = 5314 MB/s
test regexdna::subst3 ... bench: 961,204 ns/iter (+/- 48,799) = 5288 MB/s
test regexdna::subst4 ... bench: 961,897 ns/iter (+/- 50,762) = 5284 MB/s
test regexdna::subst5 ... bench: 953,412 ns/iter (+/- 69,554) = 5331 MB/s
test regexdna::subst6 ... bench: 962,362 ns/iter (+/- 42,136) = 5282 MB/s
test regexdna::subst7 ... bench: 961,694 ns/iter (+/- 100,348) = 5285 MB/s
test regexdna::subst8 ... bench: 963,230 ns/iter (+/- 10,882) = 5277 MB/s
test regexdna::subst9 ... bench: 960,246 ns/iter (+/- 27,407) = 5293 MB/s
test regexdna::variant1 ... bench: 15,553,281 ns/iter (+/- 566,810) = 326 MB/s
test regexdna::variant2 ... bench: 16,563,452 ns/iter (+/- 546,097) = 306 MB/s
test regexdna::variant3 ... bench: 20,405,916 ns/iter (+/- 809,236) = 249 MB/s
test regexdna::variant4 ... bench: 19,489,291 ns/iter (+/- 710,721) = 260 MB/s
test regexdna::variant5 ... bench: 17,406,769 ns/iter (+/- 656,024) = 292 MB/s
test regexdna::variant6 ... bench: 17,412,027 ns/iter (+/- 730,347) = 291 MB/s
test regexdna::variant7 ... bench: 19,509,193 ns/iter (+/- 783,850) = 260 MB/s
test regexdna::variant8 ... bench: 24,295,734 ns/iter (+/- 816,832) = 209 MB/s
test regexdna::variant9 ... bench: 22,541,558 ns/iter (+/- 783,104) = 225 MB/s
test sherlock::before_after_holmes ... bench: 4,583,804 ns/iter (+/- 124,057) = 129 MB/s
test sherlock::before_holmes ... bench: 4,640,546 ns/iter (+/- 241,311) = 128 MB/s
test sherlock::holmes_cochar_watson ... bench: 509,088 ns/iter (+/- 25,069) = 1168 MB/s
test sherlock::ing_suffix ... bench: 1,865,631 ns/iter (+/- 68,625) = 318 MB/s
test sherlock::ing_suffix_limited_space ... bench: 4,922,883 ns/iter (+/- 232,825) = 120 MB/s
test sherlock::letters ... bench: 9,848,144 ns/iter (+/- 206,915) = 60 MB/s
test sherlock::letters_lower ... bench: 9,723,642 ns/iter (+/- 370,000) = 61 MB/s
test sherlock::letters_upper ... bench: 1,762,773 ns/iter (+/- 86,671) = 337 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 206,367 ns/iter (+/- 8,874) = 2882 MB/s
test sherlock::name_alt1 ... bench: 485,953 ns/iter (+/- 15,036) = 1224 MB/s
test sherlock::name_alt2 ... bench: 483,813 ns/iter (+/- 17,822) = 1229 MB/s
test sherlock::name_alt3 ... bench: 903,013 ns/iter (+/- 38,445) = 658 MB/s
test sherlock::name_alt3_nocase ... bench: 2,993,633 ns/iter (+/- 131,218) = 198 MB/s
test sherlock::name_alt4 ... bench: 78,831 ns/iter (+/- 2,012) = 7546 MB/s
test sherlock::name_alt4_nocase ... bench: 1,647,202 ns/iter (+/- 5,838) = 361 MB/s
test sherlock::name_alt5 ... bench: 678,798 ns/iter (+/- 1,146) = 876 MB/s
test sherlock::name_alt5_nocase ... bench: 1,792,461 ns/iter (+/- 3,532) = 331 MB/s
test sherlock::name_holmes ... bench: 406,138 ns/iter (+/- 1,157) = 1464 MB/s
test sherlock::name_holmes_nocase ... bench: 517,884 ns/iter (+/- 8,548) = 1148 MB/s
test sherlock::name_sherlock ... bench: 282,357 ns/iter (+/- 13,583) = 2107 MB/s
test sherlock::name_sherlock_holmes ... bench: 207,894 ns/iter (+/- 1,847) = 2861 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,122,583 ns/iter (+/- 52,189) = 529 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,092,252 ns/iter (+/- 43,130) = 544 MB/s
test sherlock::name_whitespace ... bench: 280,360 ns/iter (+/- 12,136) = 2122 MB/s
test sherlock::no_match_common ... bench: 436,303 ns/iter (+/- 19,423) = 1363 MB/s
test sherlock::no_match_really_common ... bench: 417,686 ns/iter (+/- 15,258) = 1424 MB/s
test sherlock::no_match_uncommon ... bench: 28,504 ns/iter (+/- 1,032) = 20871 MB/s
test sherlock::quotes ... bench: 541,513 ns/iter (+/- 21,121) = 1098 MB/s
test sherlock::repeated_class_negation ... bench: 5,489,721 ns/iter (+/- 185,165) = 108 MB/s
test sherlock::the_lower ... bench: 680,710 ns/iter (+/- 29,403) = 873 MB/s
test sherlock::the_nocase ... bench: 737,040 ns/iter (+/- 4,391) = 807 MB/s
test sherlock::the_upper ... bench: 50,026 ns/iter (+/- 205) = 11892 MB/s
test sherlock::the_whitespace ... bench: 885,922 ns/iter (+/- 9,145) = 671 MB/s
test sherlock::word_ending_n ... bench: 5,424,773 ns/iter (+/- 154,353) = 109 MB/s
test sherlock::words ... bench: 5,753,231 ns/iter (+/- 177,890) = 103 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 93 measured

View file

@ -0,0 +1,94 @@
name pcre2 ns/iter rust ns/iter diff ns/iter diff %
misc::anchored_literal_long_match 20 (19500 MB/s) 24 (16250 MB/s) 4 20.00%
misc::anchored_literal_long_non_match 15 (26000 MB/s) 27 (14444 MB/s) 12 80.00%
misc::anchored_literal_short_match 19 (1368 MB/s) 22 (1181 MB/s) 3 15.79%
misc::anchored_literal_short_non_match 13 (2000 MB/s) 24 (1083 MB/s) 11 84.62%
misc::easy0_1K 241 (4360 MB/s) 16 (65687 MB/s) -225 -93.36%
misc::easy0_1MB 207,103 (5063 MB/s) 20 (52430150 MB/s) -207,083 -99.99%
misc::easy0_32 39 (1512 MB/s) 16 (3687 MB/s) -23 -58.97%
misc::easy0_32K 6,522 (5028 MB/s) 16 (2049687 MB/s) -6,506 -99.75%
misc::easy1_1K 247 (4226 MB/s) 48 (21750 MB/s) -199 -80.57%
misc::easy1_1MB 206,893 (5068 MB/s) 48 (21845750 MB/s) -206,845 -99.98%
misc::easy1_32 41 (1268 MB/s) 46 (1130 MB/s) 5 12.20%
misc::easy1_32K 6,516 (5031 MB/s) 47 (697617 MB/s) -6,469 -99.28%
misc::hard_1K 1,566 (671 MB/s) 58 (18120 MB/s) -1,508 -96.30%
misc::hard_1MB 1,119,234 (936 MB/s) 61 (17190213 MB/s) -1,119,173 -99.99%
misc::hard_32 95 (621 MB/s) 58 (1017 MB/s) -37 -38.95%
misc::hard_32K 34,411 (953 MB/s) 56 (585625 MB/s) -34,355 -99.84%
misc::literal 18 (2833 MB/s) 16 (3187 MB/s) -2 -11.11%
misc::long_needle1 550,340 (181 MB/s) 2,226 (44924 MB/s) -548,114 -99.60%
misc::long_needle2 553,056 (180 MB/s) 576,997 (173 MB/s) 23,941 4.33%
misc::match_class 82 (987 MB/s) 65 (1246 MB/s) -17 -20.73%
misc::match_class_in_range 20 (4050 MB/s) 27 (3000 MB/s) 7 35.00%
misc::match_class_unicode 351 (458 MB/s) 283 (568 MB/s) -68 -19.37%
misc::medium_1K 242 (4347 MB/s) 16 (65750 MB/s) -226 -93.39%
misc::medium_1MB 207,290 (5058 MB/s) 21 (49933523 MB/s) -207,269 -99.99%
misc::medium_32 41 (1463 MB/s) 17 (3529 MB/s) -24 -58.54%
misc::medium_32K 6,529 (5023 MB/s) 17 (1929176 MB/s) -6,512 -99.74%
misc::not_literal 161 (316 MB/s) 105 (485 MB/s) -56 -34.78%
misc::one_pass_long_prefix 17 (1529 MB/s) 68 (382 MB/s) 51 300.00%
misc::one_pass_long_prefix_not 18 (1444 MB/s) 58 (448 MB/s) 40 222.22%
misc::one_pass_short 45 (377 MB/s) 45 (377 MB/s) 0 0.00%
misc::one_pass_short_not 49 (346 MB/s) 50 (340 MB/s) 1 2.04%
misc::reallyhard2_1K 4,487 (231 MB/s) 83 (12530 MB/s) -4,404 -98.15%
misc::reallyhard_1K 1,260 (834 MB/s) 1,822 (576 MB/s) 562 44.60%
misc::reallyhard_1MB 1,361,796 (770 MB/s) 1,768,327 (592 MB/s) 406,531 29.85%
misc::reallyhard_32 93 (634 MB/s) 121 (487 MB/s) 28 30.11%
misc::reallyhard_32K 42,503 (771 MB/s) 56,375 (581 MB/s) 13,872 32.64%
misc::reverse_suffix_no_quadratic 4,559 (1754 MB/s) 5,803 (1378 MB/s) 1,244 27.29%
regexdna::find_new_lines 1,887,325 (2693 MB/s) 14,818,233 (343 MB/s) 12,930,908 685.14%
regexdna::subst1 963,089 (5278 MB/s) 896,790 (5668 MB/s) -66,299 -6.88%
regexdna::subst10 968,221 (5250 MB/s) 957,325 (5310 MB/s) -10,896 -1.13%
regexdna::subst11 961,661 (5286 MB/s) 917,248 (5542 MB/s) -44,413 -4.62%
regexdna::subst2 956,430 (5314 MB/s) 892,129 (5698 MB/s) -64,301 -6.72%
regexdna::subst3 961,204 (5288 MB/s) 929,250 (5470 MB/s) -31,954 -3.32%
regexdna::subst4 961,897 (5284 MB/s) 872,581 (5825 MB/s) -89,316 -9.29%
regexdna::subst5 953,412 (5331 MB/s) 875,804 (5804 MB/s) -77,608 -8.14%
regexdna::subst6 962,362 (5282 MB/s) 884,639 (5746 MB/s) -77,723 -8.08%
regexdna::subst7 961,694 (5285 MB/s) 872,791 (5824 MB/s) -88,903 -9.24%
regexdna::subst8 963,230 (5277 MB/s) 873,833 (5817 MB/s) -89,397 -9.28%
regexdna::subst9 960,246 (5293 MB/s) 886,744 (5732 MB/s) -73,502 -7.65%
regexdna::variant1 15,553,281 (326 MB/s) 3,699,267 (1374 MB/s) -11,854,014 -76.22%
regexdna::variant2 16,563,452 (306 MB/s) 6,760,952 (751 MB/s) -9,802,500 -59.18%
regexdna::variant3 20,405,916 (249 MB/s) 8,030,646 (633 MB/s) -12,375,270 -60.65%
regexdna::variant4 19,489,291 (260 MB/s) 8,077,290 (629 MB/s) -11,412,001 -58.56%
regexdna::variant5 17,406,769 (292 MB/s) 6,787,242 (748 MB/s) -10,619,527 -61.01%
regexdna::variant6 17,412,027 (291 MB/s) 6,577,777 (772 MB/s) -10,834,250 -62.22%
regexdna::variant7 19,509,193 (260 MB/s) 6,705,580 (758 MB/s) -12,803,613 -65.63%
regexdna::variant8 24,295,734 (209 MB/s) 6,818,785 (745 MB/s) -17,476,949 -71.93%
regexdna::variant9 22,541,558 (225 MB/s) 6,821,453 (745 MB/s) -15,720,105 -69.74%
sherlock::before_after_holmes 4,583,804 (129 MB/s) 1,029,866 (577 MB/s) -3,553,938 -77.53%
sherlock::before_holmes 4,640,546 (128 MB/s) 76,633 (7763 MB/s) -4,563,913 -98.35%
sherlock::holmes_cochar_watson 509,088 (1168 MB/s) 144,725 (4110 MB/s) -364,363 -71.57%
sherlock::ing_suffix 1,865,631 (318 MB/s) 436,202 (1363 MB/s) -1,429,429 -76.62%
sherlock::ing_suffix_limited_space 4,922,883 (120 MB/s) 1,182,943 (502 MB/s) -3,739,940 -75.97%
sherlock::letters 9,848,144 (60 MB/s) 24,390,452 (24 MB/s) 14,542,308 147.67%
sherlock::letters_lower 9,723,642 (61 MB/s) 23,784,108 (25 MB/s) 14,060,466 144.60%
sherlock::letters_upper 1,762,773 (337 MB/s) 1,993,838 (298 MB/s) 231,065 13.11%
sherlock::line_boundary_sherlock_holmes 206,367 (2882 MB/s) 999,414 (595 MB/s) 793,047 384.29%
sherlock::name_alt1 485,953 (1224 MB/s) 34,298 (17345 MB/s) -451,655 -92.94%
sherlock::name_alt2 483,813 (1229 MB/s) 124,226 (4789 MB/s) -359,587 -74.32%
sherlock::name_alt3 903,013 (658 MB/s) 137,742 (4319 MB/s) -765,271 -84.75%
sherlock::name_alt3_nocase 2,993,633 (198 MB/s) 1,293,763 (459 MB/s) -1,699,870 -56.78%
sherlock::name_alt4 78,831 (7546 MB/s) 164,900 (3607 MB/s) 86,069 109.18%
sherlock::name_alt4_nocase 1,647,202 (361 MB/s) 235,023 (2531 MB/s) -1,412,179 -85.73%
sherlock::name_alt5 678,798 (876 MB/s) 127,928 (4650 MB/s) -550,870 -81.15%
sherlock::name_alt5_nocase 1,792,461 (331 MB/s) 659,591 (901 MB/s) -1,132,870 -63.20%
sherlock::name_holmes 406,138 (1464 MB/s) 40,902 (14545 MB/s) -365,236 -89.93%
sherlock::name_holmes_nocase 517,884 (1148 MB/s) 198,658 (2994 MB/s) -319,226 -61.64%
sherlock::name_sherlock 282,357 (2107 MB/s) 68,924 (8631 MB/s) -213,433 -75.59%
sherlock::name_sherlock_holmes 207,894 (2861 MB/s) 31,640 (18803 MB/s) -176,254 -84.78%
sherlock::name_sherlock_holmes_nocase 1,122,583 (529 MB/s) 173,522 (3428 MB/s) -949,061 -84.54%
sherlock::name_sherlock_nocase 1,092,252 (544 MB/s) 170,888 (3481 MB/s) -921,364 -84.35%
sherlock::name_whitespace 280,360 (2122 MB/s) 84,314 (7056 MB/s) -196,046 -69.93%
sherlock::no_match_common 436,303 (1363 MB/s) 20,727 (28703 MB/s) -415,576 -95.25%
sherlock::no_match_really_common 417,686 (1424 MB/s) 381,476 (1559 MB/s) -36,210 -8.67%
sherlock::no_match_uncommon 28,504 (20871 MB/s) 20,786 (28621 MB/s) -7,718 -27.08%
sherlock::quotes 541,513 (1098 MB/s) 531,487 (1119 MB/s) -10,026 -1.85%
sherlock::repeated_class_negation 5,489,721 (108 MB/s) 85,881,944 (6 MB/s) 80,392,223 1464.41%
sherlock::the_lower 680,710 (873 MB/s) 654,110 (909 MB/s) -26,600 -3.91%
sherlock::the_nocase 737,040 (807 MB/s) 474,456 (1253 MB/s) -262,584 -35.63%
sherlock::the_upper 50,026 (11892 MB/s) 43,746 (13599 MB/s) -6,280 -12.55%
sherlock::the_whitespace 885,922 (671 MB/s) 1,181,974 (503 MB/s) 296,052 33.42%
sherlock::word_ending_n 5,424,773 (109 MB/s) 1,925,578 (308 MB/s) -3,499,195 -64.50%
sherlock::words 5,753,231 (103 MB/s) 9,697,201 (61 MB/s) 3,943,970 68.55%

View file

@ -0,0 +1,101 @@
running 96 tests
test misc::anchored_literal_long_match ... bench: 102 ns/iter (+/- 3) = 3823 MB/s
test misc::anchored_literal_long_non_match ... bench: 20 ns/iter (+/- 0) = 19500 MB/s
test misc::anchored_literal_short_match ... bench: 95 ns/iter (+/- 8) = 273 MB/s
test misc::anchored_literal_short_non_match ... bench: 17 ns/iter (+/- 0) = 1529 MB/s
test misc::easy0_1K ... bench: 149 ns/iter (+/- 10) = 7053 MB/s
test misc::easy0_1MB ... bench: 29,234 ns/iter (+/- 886) = 35869 MB/s
test misc::easy0_32 ... bench: 126 ns/iter (+/- 4) = 468 MB/s
test misc::easy0_32K ... bench: 1,266 ns/iter (+/- 42) = 25904 MB/s
test misc::easy1_1K ... bench: 130 ns/iter (+/- 4) = 8030 MB/s
test misc::easy1_1MB ... bench: 29,218 ns/iter (+/- 791) = 35888 MB/s
test misc::easy1_32 ... bench: 112 ns/iter (+/- 7) = 464 MB/s
test misc::easy1_32K ... bench: 1,251 ns/iter (+/- 45) = 26209 MB/s
test misc::hard_1K ... bench: 2,357 ns/iter (+/- 33) = 445 MB/s
test misc::hard_1MB ... bench: 2,149,909 ns/iter (+/- 151,258) = 487 MB/s
test misc::hard_32 ... bench: 195 ns/iter (+/- 16) = 302 MB/s
test misc::hard_32K ... bench: 105,137 ns/iter (+/- 6,252) = 311 MB/s
test misc::literal ... bench: 89 ns/iter (+/- 3) = 573 MB/s
test misc::long_needle1 ... bench: 170,090 ns/iter (+/- 5,891) = 587 MB/s
test misc::long_needle2 ... bench: 174,341 ns/iter (+/- 7,949) = 573 MB/s
test misc::match_class ... bench: 220 ns/iter (+/- 16) = 368 MB/s
test misc::match_class_in_range ... bench: 215 ns/iter (+/- 16) = 376 MB/s
test misc::match_class_unicode ... bench: 382 ns/iter (+/- 27) = 421 MB/s
test misc::medium_1K ... bench: 1,939 ns/iter (+/- 153) = 542 MB/s
test misc::medium_1MB ... bench: 1,775,335 ns/iter (+/- 91,241) = 590 MB/s
test misc::medium_32 ... bench: 190 ns/iter (+/- 12) = 315 MB/s
test misc::medium_32K ... bench: 83,245 ns/iter (+/- 5,385) = 393 MB/s
test misc::no_exponential ... bench: 269 ns/iter (+/- 22) = 371 MB/s
test misc::not_literal ... bench: 167 ns/iter (+/- 13) = 305 MB/s
test misc::one_pass_long_prefix ... bench: 84 ns/iter (+/- 7) = 309 MB/s
test misc::one_pass_long_prefix_not ... bench: 137 ns/iter (+/- 12) = 189 MB/s
test misc::one_pass_short ... bench: 108 ns/iter (+/- 3) = 157 MB/s
test misc::one_pass_short_not ... bench: 105 ns/iter (+/- 6) = 161 MB/s
test misc::reallyhard2_1K ... bench: 1,811 ns/iter (+/- 44) = 574 MB/s
test misc::reallyhard_1K ... bench: 2,324 ns/iter (+/- 223) = 452 MB/s
test misc::reallyhard_1MB ... bench: 2,033,298 ns/iter (+/- 148,939) = 515 MB/s
test misc::reallyhard_32 ... bench: 185 ns/iter (+/- 8) = 318 MB/s
test misc::reallyhard_32K ... bench: 83,263 ns/iter (+/- 4,231) = 393 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 13,501 ns/iter (+/- 1,380) = 592 MB/s
test regexdna::find_new_lines ... bench: 31,464,067 ns/iter (+/- 2,248,457) = 161 MB/s
test regexdna::subst1 ... bench: 5,257,629 ns/iter (+/- 142,910) = 966 MB/s
test regexdna::subst10 ... bench: 5,189,384 ns/iter (+/- 130,525) = 979 MB/s
test regexdna::subst11 ... bench: 5,261,936 ns/iter (+/- 309,355) = 966 MB/s
test regexdna::subst2 ... bench: 5,268,281 ns/iter (+/- 348,592) = 964 MB/s
test regexdna::subst3 ... bench: 5,245,664 ns/iter (+/- 403,198) = 969 MB/s
test regexdna::subst4 ... bench: 5,264,833 ns/iter (+/- 312,063) = 965 MB/s
test regexdna::subst5 ... bench: 5,181,850 ns/iter (+/- 117,306) = 981 MB/s
test regexdna::subst6 ... bench: 5,200,226 ns/iter (+/- 124,723) = 977 MB/s
test regexdna::subst7 ... bench: 5,233,678 ns/iter (+/- 367,749) = 971 MB/s
test regexdna::subst8 ... bench: 5,242,400 ns/iter (+/- 317,859) = 969 MB/s
test regexdna::subst9 ... bench: 5,325,464 ns/iter (+/- 395,485) = 954 MB/s
test regexdna::variant1 ... bench: 24,377,246 ns/iter (+/- 733,355) = 208 MB/s
test regexdna::variant2 ... bench: 26,405,686 ns/iter (+/- 771,755) = 192 MB/s
test regexdna::variant3 ... bench: 25,130,419 ns/iter (+/- 1,245,527) = 202 MB/s
test regexdna::variant4 ... bench: 32,527,780 ns/iter (+/- 5,073,721) = 156 MB/s
test regexdna::variant5 ... bench: 31,081,800 ns/iter (+/- 1,256,796) = 163 MB/s
test regexdna::variant6 ... bench: 28,744,478 ns/iter (+/- 1,243,565) = 176 MB/s
test regexdna::variant7 ... bench: 26,693,756 ns/iter (+/- 886,566) = 190 MB/s
test regexdna::variant8 ... bench: 21,478,184 ns/iter (+/- 1,374,415) = 236 MB/s
test regexdna::variant9 ... bench: 18,639,814 ns/iter (+/- 519,136) = 272 MB/s
test sherlock::before_after_holmes ... bench: 1,552,265 ns/iter (+/- 105,467) = 383 MB/s
test sherlock::before_holmes ... bench: 1,360,446 ns/iter (+/- 111,123) = 437 MB/s
test sherlock::everything_greedy ... bench: 6,356,610 ns/iter (+/- 343,163) = 93 MB/s
test sherlock::everything_greedy_nl ... bench: 2,380,946 ns/iter (+/- 36,936) = 249 MB/s
test sherlock::holmes_cochar_watson ... bench: 1,144,439 ns/iter (+/- 25,948) = 519 MB/s
test sherlock::holmes_coword_watson ... bench: 1,503,311 ns/iter (+/- 99,075) = 395 MB/s
test sherlock::ing_suffix ... bench: 3,003,144 ns/iter (+/- 239,408) = 198 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,721,656 ns/iter (+/- 129,795) = 345 MB/s
test sherlock::letters ... bench: 73,833,131 ns/iter (+/- 2,542,107) = 8 MB/s
test sherlock::letters_lower ... bench: 72,250,289 ns/iter (+/- 1,280,826) = 8 MB/s
test sherlock::letters_upper ... bench: 3,397,481 ns/iter (+/- 160,294) = 175 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 3,694,486 ns/iter (+/- 403,679) = 161 MB/s
test sherlock::name_alt1 ... bench: 70,121 ns/iter (+/- 3,926) = 8484 MB/s
test sherlock::name_alt2 ... bench: 1,120,245 ns/iter (+/- 36,040) = 531 MB/s
test sherlock::name_alt3 ... bench: 1,247,630 ns/iter (+/- 127,226) = 476 MB/s
test sherlock::name_alt3_nocase ... bench: 2,894,586 ns/iter (+/- 201,023) = 205 MB/s
test sherlock::name_alt4 ... bench: 1,142,872 ns/iter (+/- 82,896) = 520 MB/s
test sherlock::name_alt4_nocase ... bench: 1,785,266 ns/iter (+/- 166,100) = 333 MB/s
test sherlock::name_alt5 ... bench: 1,167,553 ns/iter (+/- 91,672) = 509 MB/s
test sherlock::name_alt5_nocase ... bench: 2,023,732 ns/iter (+/- 74,558) = 293 MB/s
test sherlock::name_holmes ... bench: 126,480 ns/iter (+/- 6,959) = 4703 MB/s
test sherlock::name_holmes_nocase ... bench: 1,420,548 ns/iter (+/- 75,407) = 418 MB/s
test sherlock::name_sherlock ... bench: 57,090 ns/iter (+/- 1,392) = 10420 MB/s
test sherlock::name_sherlock_holmes ... bench: 57,965 ns/iter (+/- 2,996) = 10263 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,837,721 ns/iter (+/- 66,965) = 323 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,672,451 ns/iter (+/- 204,590) = 355 MB/s
test sherlock::name_whitespace ... bench: 60,342 ns/iter (+/- 3,290) = 9859 MB/s
test sherlock::no_match_common ... bench: 434,496 ns/iter (+/- 35,617) = 1369 MB/s
test sherlock::no_match_really_common ... bench: 431,778 ns/iter (+/- 11,799) = 1377 MB/s
test sherlock::no_match_uncommon ... bench: 19,313 ns/iter (+/- 1,167) = 30804 MB/s
test sherlock::quotes ... bench: 1,301,485 ns/iter (+/- 92,772) = 457 MB/s
test sherlock::the_lower ... bench: 1,846,403 ns/iter (+/- 39,799) = 322 MB/s
test sherlock::the_nocase ... bench: 2,956,115 ns/iter (+/- 136,011) = 201 MB/s
test sherlock::the_upper ... bench: 165,976 ns/iter (+/- 5,838) = 3584 MB/s
test sherlock::the_whitespace ... bench: 1,816,669 ns/iter (+/- 117,437) = 327 MB/s
test sherlock::word_ending_n ... bench: 2,601,847 ns/iter (+/- 166,024) = 228 MB/s
test sherlock::words ... bench: 21,137,049 ns/iter (+/- 750,253) = 28 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 96 measured

View file

@ -0,0 +1,97 @@
name re2 ns/iter rust ns/iter diff ns/iter diff %
misc::anchored_literal_long_match 102 (3823 MB/s) 24 (16250 MB/s) -78 -76.47%
misc::anchored_literal_long_non_match 20 (19500 MB/s) 27 (14444 MB/s) 7 35.00%
misc::anchored_literal_short_match 95 (273 MB/s) 22 (1181 MB/s) -73 -76.84%
misc::anchored_literal_short_non_match 17 (1529 MB/s) 24 (1083 MB/s) 7 41.18%
misc::easy0_1K 149 (7053 MB/s) 16 (65687 MB/s) -133 -89.26%
misc::easy0_1MB 29,234 (35869 MB/s) 20 (52430150 MB/s) -29,214 -99.93%
misc::easy0_32 126 (468 MB/s) 16 (3687 MB/s) -110 -87.30%
misc::easy0_32K 1,266 (25904 MB/s) 16 (2049687 MB/s) -1,250 -98.74%
misc::easy1_1K 130 (8030 MB/s) 48 (21750 MB/s) -82 -63.08%
misc::easy1_1MB 29,218 (35888 MB/s) 48 (21845750 MB/s) -29,170 -99.84%
misc::easy1_32 112 (464 MB/s) 46 (1130 MB/s) -66 -58.93%
misc::easy1_32K 1,251 (26209 MB/s) 47 (697617 MB/s) -1,204 -96.24%
misc::hard_1K 2,357 (445 MB/s) 58 (18120 MB/s) -2,299 -97.54%
misc::hard_1MB 2,149,909 (487 MB/s) 61 (17190213 MB/s) -2,149,848 -100.00%
misc::hard_32 195 (302 MB/s) 58 (1017 MB/s) -137 -70.26%
misc::hard_32K 105,137 (311 MB/s) 56 (585625 MB/s) -105,081 -99.95%
misc::literal 89 (573 MB/s) 16 (3187 MB/s) -73 -82.02%
misc::long_needle1 170,090 (587 MB/s) 2,226 (44924 MB/s) -167,864 -98.69%
misc::long_needle2 174,341 (573 MB/s) 576,997 (173 MB/s) 402,656 230.96%
misc::match_class 220 (368 MB/s) 65 (1246 MB/s) -155 -70.45%
misc::match_class_in_range 215 (376 MB/s) 27 (3000 MB/s) -188 -87.44%
misc::match_class_unicode 382 (421 MB/s) 283 (568 MB/s) -99 -25.92%
misc::medium_1K 1,939 (542 MB/s) 16 (65750 MB/s) -1,923 -99.17%
misc::medium_1MB 1,775,335 (590 MB/s) 21 (49933523 MB/s) -1,775,314 -100.00%
misc::medium_32 190 (315 MB/s) 17 (3529 MB/s) -173 -91.05%
misc::medium_32K 83,245 (393 MB/s) 17 (1929176 MB/s) -83,228 -99.98%
misc::no_exponential 269 (371 MB/s) 394 (253 MB/s) 125 46.47%
misc::not_literal 167 (305 MB/s) 105 (485 MB/s) -62 -37.13%
misc::one_pass_long_prefix 84 (309 MB/s) 68 (382 MB/s) -16 -19.05%
misc::one_pass_long_prefix_not 137 (189 MB/s) 58 (448 MB/s) -79 -57.66%
misc::one_pass_short 108 (157 MB/s) 45 (377 MB/s) -63 -58.33%
misc::one_pass_short_not 105 (161 MB/s) 50 (340 MB/s) -55 -52.38%
misc::reallyhard2_1K 1,811 (574 MB/s) 83 (12530 MB/s) -1,728 -95.42%
misc::reallyhard_1K 2,324 (452 MB/s) 1,822 (576 MB/s) -502 -21.60%
misc::reallyhard_1MB 2,033,298 (515 MB/s) 1,768,327 (592 MB/s) -264,971 -13.03%
misc::reallyhard_32 185 (318 MB/s) 121 (487 MB/s) -64 -34.59%
misc::reallyhard_32K 83,263 (393 MB/s) 56,375 (581 MB/s) -26,888 -32.29%
misc::reverse_suffix_no_quadratic 13,501 (592 MB/s) 5,803 (1378 MB/s) -7,698 -57.02%
regexdna::find_new_lines 31,464,067 (161 MB/s) 14,818,233 (343 MB/s) -16,645,834 -52.90%
regexdna::subst1 5,257,629 (966 MB/s) 896,790 (5668 MB/s) -4,360,839 -82.94%
regexdna::subst10 5,189,384 (979 MB/s) 957,325 (5310 MB/s) -4,232,059 -81.55%
regexdna::subst11 5,261,936 (966 MB/s) 917,248 (5542 MB/s) -4,344,688 -82.57%
regexdna::subst2 5,268,281 (964 MB/s) 892,129 (5698 MB/s) -4,376,152 -83.07%
regexdna::subst3 5,245,664 (969 MB/s) 929,250 (5470 MB/s) -4,316,414 -82.29%
regexdna::subst4 5,264,833 (965 MB/s) 872,581 (5825 MB/s) -4,392,252 -83.43%
regexdna::subst5 5,181,850 (981 MB/s) 875,804 (5804 MB/s) -4,306,046 -83.10%
regexdna::subst6 5,200,226 (977 MB/s) 884,639 (5746 MB/s) -4,315,587 -82.99%
regexdna::subst7 5,233,678 (971 MB/s) 872,791 (5824 MB/s) -4,360,887 -83.32%
regexdna::subst8 5,242,400 (969 MB/s) 873,833 (5817 MB/s) -4,368,567 -83.33%
regexdna::subst9 5,325,464 (954 MB/s) 886,744 (5732 MB/s) -4,438,720 -83.35%
regexdna::variant1 24,377,246 (208 MB/s) 3,699,267 (1374 MB/s) -20,677,979 -84.82%
regexdna::variant2 26,405,686 (192 MB/s) 6,760,952 (751 MB/s) -19,644,734 -74.40%
regexdna::variant3 25,130,419 (202 MB/s) 8,030,646 (633 MB/s) -17,099,773 -68.04%
regexdna::variant4 32,527,780 (156 MB/s) 8,077,290 (629 MB/s) -24,450,490 -75.17%
regexdna::variant5 31,081,800 (163 MB/s) 6,787,242 (748 MB/s) -24,294,558 -78.16%
regexdna::variant6 28,744,478 (176 MB/s) 6,577,777 (772 MB/s) -22,166,701 -77.12%
regexdna::variant7 26,693,756 (190 MB/s) 6,705,580 (758 MB/s) -19,988,176 -74.88%
regexdna::variant8 21,478,184 (236 MB/s) 6,818,785 (745 MB/s) -14,659,399 -68.25%
regexdna::variant9 18,639,814 (272 MB/s) 6,821,453 (745 MB/s) -11,818,361 -63.40%
sherlock::before_after_holmes 1,552,265 (383 MB/s) 1,029,866 (577 MB/s) -522,399 -33.65%
sherlock::before_holmes 1,360,446 (437 MB/s) 76,633 (7763 MB/s) -1,283,813 -94.37%
sherlock::everything_greedy 6,356,610 (93 MB/s) 2,375,079 (250 MB/s) -3,981,531 -62.64%
sherlock::everything_greedy_nl 2,380,946 (249 MB/s) 916,250 (649 MB/s) -1,464,696 -61.52%
sherlock::holmes_cochar_watson 1,144,439 (519 MB/s) 144,725 (4110 MB/s) -999,714 -87.35%
sherlock::holmes_coword_watson 1,503,311 (395 MB/s) 565,247 (1052 MB/s) -938,064 -62.40%
sherlock::ing_suffix 3,003,144 (198 MB/s) 436,202 (1363 MB/s) -2,566,942 -85.48%
sherlock::ing_suffix_limited_space 1,721,656 (345 MB/s) 1,182,943 (502 MB/s) -538,713 -31.29%
sherlock::letters 73,833,131 (8 MB/s) 24,390,452 (24 MB/s) -49,442,679 -66.97%
sherlock::letters_lower 72,250,289 (8 MB/s) 23,784,108 (25 MB/s) -48,466,181 -67.08%
sherlock::letters_upper 3,397,481 (175 MB/s) 1,993,838 (298 MB/s) -1,403,643 -41.31%
sherlock::line_boundary_sherlock_holmes 3,694,486 (161 MB/s) 999,414 (595 MB/s) -2,695,072 -72.95%
sherlock::name_alt1 70,121 (8484 MB/s) 34,298 (17345 MB/s) -35,823 -51.09%
sherlock::name_alt2 1,120,245 (531 MB/s) 124,226 (4789 MB/s) -996,019 -88.91%
sherlock::name_alt3 1,247,630 (476 MB/s) 137,742 (4319 MB/s) -1,109,888 -88.96%
sherlock::name_alt3_nocase 2,894,586 (205 MB/s) 1,293,763 (459 MB/s) -1,600,823 -55.30%
sherlock::name_alt4 1,142,872 (520 MB/s) 164,900 (3607 MB/s) -977,972 -85.57%
sherlock::name_alt4_nocase 1,785,266 (333 MB/s) 235,023 (2531 MB/s) -1,550,243 -86.84%
sherlock::name_alt5 1,167,553 (509 MB/s) 127,928 (4650 MB/s) -1,039,625 -89.04%
sherlock::name_alt5_nocase 2,023,732 (293 MB/s) 659,591 (901 MB/s) -1,364,141 -67.41%
sherlock::name_holmes 126,480 (4703 MB/s) 40,902 (14545 MB/s) -85,578 -67.66%
sherlock::name_holmes_nocase 1,420,548 (418 MB/s) 198,658 (2994 MB/s) -1,221,890 -86.02%
sherlock::name_sherlock 57,090 (10420 MB/s) 68,924 (8631 MB/s) 11,834 20.73%
sherlock::name_sherlock_holmes 57,965 (10263 MB/s) 31,640 (18803 MB/s) -26,325 -45.42%
sherlock::name_sherlock_holmes_nocase 1,837,721 (323 MB/s) 173,522 (3428 MB/s) -1,664,199 -90.56%
sherlock::name_sherlock_nocase 1,672,451 (355 MB/s) 170,888 (3481 MB/s) -1,501,563 -89.78%
sherlock::name_whitespace 60,342 (9859 MB/s) 84,314 (7056 MB/s) 23,972 39.73%
sherlock::no_match_common 434,496 (1369 MB/s) 20,727 (28703 MB/s) -413,769 -95.23%
sherlock::no_match_really_common 431,778 (1377 MB/s) 381,476 (1559 MB/s) -50,302 -11.65%
sherlock::no_match_uncommon 19,313 (30804 MB/s) 20,786 (28621 MB/s) 1,473 7.63%
sherlock::quotes 1,301,485 (457 MB/s) 531,487 (1119 MB/s) -769,998 -59.16%
sherlock::the_lower 1,846,403 (322 MB/s) 654,110 (909 MB/s) -1,192,293 -64.57%
sherlock::the_nocase 2,956,115 (201 MB/s) 474,456 (1253 MB/s) -2,481,659 -83.95%
sherlock::the_upper 165,976 (3584 MB/s) 43,746 (13599 MB/s) -122,230 -73.64%
sherlock::the_whitespace 1,816,669 (327 MB/s) 1,181,974 (503 MB/s) -634,695 -34.94%
sherlock::word_ending_n 2,601,847 (228 MB/s) 1,925,578 (308 MB/s) -676,269 -25.99%
sherlock::words 21,137,049 (28 MB/s) 9,697,201 (61 MB/s) -11,439,848 -54.12%

View file

@ -0,0 +1,103 @@
running 98 tests
test misc::anchored_literal_long_match ... bench: 24 ns/iter (+/- 0) = 16250 MB/s
test misc::anchored_literal_long_non_match ... bench: 27 ns/iter (+/- 0) = 14444 MB/s
test misc::anchored_literal_short_match ... bench: 22 ns/iter (+/- 0) = 1181 MB/s
test misc::anchored_literal_short_non_match ... bench: 24 ns/iter (+/- 1) = 1083 MB/s
test misc::easy0_1K ... bench: 16 ns/iter (+/- 0) = 65687 MB/s
test misc::easy0_1MB ... bench: 20 ns/iter (+/- 0) = 52430150 MB/s
test misc::easy0_32 ... bench: 16 ns/iter (+/- 0) = 3687 MB/s
test misc::easy0_32K ... bench: 16 ns/iter (+/- 0) = 2049687 MB/s
test misc::easy1_1K ... bench: 48 ns/iter (+/- 2) = 21750 MB/s
test misc::easy1_1MB ... bench: 48 ns/iter (+/- 2) = 21845750 MB/s
test misc::easy1_32 ... bench: 46 ns/iter (+/- 0) = 1130 MB/s
test misc::easy1_32K ... bench: 47 ns/iter (+/- 0) = 697617 MB/s
test misc::hard_1K ... bench: 58 ns/iter (+/- 0) = 18120 MB/s
test misc::hard_1MB ... bench: 61 ns/iter (+/- 0) = 17190213 MB/s
test misc::hard_32 ... bench: 58 ns/iter (+/- 0) = 1017 MB/s
test misc::hard_32K ... bench: 56 ns/iter (+/- 2) = 585625 MB/s
test misc::literal ... bench: 16 ns/iter (+/- 0) = 3187 MB/s
test misc::long_needle1 ... bench: 2,226 ns/iter (+/- 139) = 44924 MB/s
test misc::long_needle2 ... bench: 576,997 ns/iter (+/- 21,660) = 173 MB/s
test misc::match_class ... bench: 65 ns/iter (+/- 3) = 1246 MB/s
test misc::match_class_in_range ... bench: 27 ns/iter (+/- 0) = 3000 MB/s
test misc::match_class_unicode ... bench: 283 ns/iter (+/- 15) = 568 MB/s
test misc::medium_1K ... bench: 16 ns/iter (+/- 0) = 65750 MB/s
test misc::medium_1MB ... bench: 21 ns/iter (+/- 1) = 49933523 MB/s
test misc::medium_32 ... bench: 17 ns/iter (+/- 0) = 3529 MB/s
test misc::medium_32K ... bench: 17 ns/iter (+/- 0) = 1929176 MB/s
test misc::no_exponential ... bench: 394 ns/iter (+/- 0) = 253 MB/s
test misc::not_literal ... bench: 105 ns/iter (+/- 0) = 485 MB/s
test misc::one_pass_long_prefix ... bench: 68 ns/iter (+/- 0) = 382 MB/s
test misc::one_pass_long_prefix_not ... bench: 58 ns/iter (+/- 3) = 448 MB/s
test misc::one_pass_short ... bench: 45 ns/iter (+/- 2) = 377 MB/s
test misc::one_pass_short_not ... bench: 50 ns/iter (+/- 16) = 340 MB/s
test misc::reallyhard2_1K ... bench: 83 ns/iter (+/- 4) = 12530 MB/s
test misc::reallyhard_1K ... bench: 1,822 ns/iter (+/- 72) = 576 MB/s
test misc::reallyhard_1MB ... bench: 1,768,327 ns/iter (+/- 67,421) = 592 MB/s
test misc::reallyhard_32 ... bench: 121 ns/iter (+/- 4) = 487 MB/s
test misc::reallyhard_32K ... bench: 56,375 ns/iter (+/- 1,404) = 581 MB/s
test misc::replace_all ... bench: 142 ns/iter (+/- 0)
test misc::reverse_suffix_no_quadratic ... bench: 5,803 ns/iter (+/- 6) = 1378 MB/s
test regexdna::find_new_lines ... bench: 14,818,233 ns/iter (+/- 430,454) = 343 MB/s
test regexdna::subst1 ... bench: 896,790 ns/iter (+/- 2,273) = 5668 MB/s
test regexdna::subst10 ... bench: 957,325 ns/iter (+/- 7,490) = 5310 MB/s
test regexdna::subst11 ... bench: 917,248 ns/iter (+/- 12,886) = 5542 MB/s
test regexdna::subst2 ... bench: 892,129 ns/iter (+/- 36,230) = 5698 MB/s
test regexdna::subst3 ... bench: 929,250 ns/iter (+/- 38,312) = 5470 MB/s
test regexdna::subst4 ... bench: 872,581 ns/iter (+/- 27,431) = 5825 MB/s
test regexdna::subst5 ... bench: 875,804 ns/iter (+/- 30,611) = 5804 MB/s
test regexdna::subst6 ... bench: 884,639 ns/iter (+/- 44,927) = 5746 MB/s
test regexdna::subst7 ... bench: 872,791 ns/iter (+/- 31,810) = 5824 MB/s
test regexdna::subst8 ... bench: 873,833 ns/iter (+/- 37,335) = 5817 MB/s
test regexdna::subst9 ... bench: 886,744 ns/iter (+/- 42,880) = 5732 MB/s
test regexdna::variant1 ... bench: 3,699,267 ns/iter (+/- 134,945) = 1374 MB/s
test regexdna::variant2 ... bench: 6,760,952 ns/iter (+/- 228,082) = 751 MB/s
test regexdna::variant3 ... bench: 8,030,646 ns/iter (+/- 271,204) = 633 MB/s
test regexdna::variant4 ... bench: 8,077,290 ns/iter (+/- 266,264) = 629 MB/s
test regexdna::variant5 ... bench: 6,787,242 ns/iter (+/- 226,071) = 748 MB/s
test regexdna::variant6 ... bench: 6,577,777 ns/iter (+/- 226,332) = 772 MB/s
test regexdna::variant7 ... bench: 6,705,580 ns/iter (+/- 232,953) = 758 MB/s
test regexdna::variant8 ... bench: 6,818,785 ns/iter (+/- 241,075) = 745 MB/s
test regexdna::variant9 ... bench: 6,821,453 ns/iter (+/- 257,044) = 745 MB/s
test sherlock::before_after_holmes ... bench: 1,029,866 ns/iter (+/- 42,662) = 577 MB/s
test sherlock::before_holmes ... bench: 76,633 ns/iter (+/- 1,135) = 7763 MB/s
test sherlock::everything_greedy ... bench: 2,375,079 ns/iter (+/- 102,532) = 250 MB/s
test sherlock::everything_greedy_nl ... bench: 916,250 ns/iter (+/- 37,950) = 649 MB/s
test sherlock::holmes_cochar_watson ... bench: 144,725 ns/iter (+/- 8,793) = 4110 MB/s
test sherlock::holmes_coword_watson ... bench: 565,247 ns/iter (+/- 24,056) = 1052 MB/s
test sherlock::ing_suffix ... bench: 436,202 ns/iter (+/- 19,863) = 1363 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,182,943 ns/iter (+/- 38,658) = 502 MB/s
test sherlock::letters ... bench: 24,390,452 ns/iter (+/- 869,008) = 24 MB/s
test sherlock::letters_lower ... bench: 23,784,108 ns/iter (+/- 796,195) = 25 MB/s
test sherlock::letters_upper ... bench: 1,993,838 ns/iter (+/- 77,697) = 298 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 999,414 ns/iter (+/- 31,202) = 595 MB/s
test sherlock::name_alt1 ... bench: 34,298 ns/iter (+/- 1,091) = 17345 MB/s
test sherlock::name_alt2 ... bench: 124,226 ns/iter (+/- 5,579) = 4789 MB/s
test sherlock::name_alt3 ... bench: 137,742 ns/iter (+/- 6,496) = 4319 MB/s
test sherlock::name_alt3_nocase ... bench: 1,293,763 ns/iter (+/- 51,097) = 459 MB/s
test sherlock::name_alt4 ... bench: 164,900 ns/iter (+/- 10,023) = 3607 MB/s
test sherlock::name_alt4_nocase ... bench: 235,023 ns/iter (+/- 14,465) = 2531 MB/s
test sherlock::name_alt5 ... bench: 127,928 ns/iter (+/- 6,882) = 4650 MB/s
test sherlock::name_alt5_nocase ... bench: 659,591 ns/iter (+/- 20,587) = 901 MB/s
test sherlock::name_holmes ... bench: 40,902 ns/iter (+/- 402) = 14545 MB/s
test sherlock::name_holmes_nocase ... bench: 198,658 ns/iter (+/- 3,782) = 2994 MB/s
test sherlock::name_sherlock ... bench: 68,924 ns/iter (+/- 1,456) = 8631 MB/s
test sherlock::name_sherlock_holmes ... bench: 31,640 ns/iter (+/- 383) = 18803 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 173,522 ns/iter (+/- 7,812) = 3428 MB/s
test sherlock::name_sherlock_nocase ... bench: 170,888 ns/iter (+/- 612) = 3481 MB/s
test sherlock::name_whitespace ... bench: 84,314 ns/iter (+/- 508) = 7056 MB/s
test sherlock::no_match_common ... bench: 20,727 ns/iter (+/- 565) = 28703 MB/s
test sherlock::no_match_really_common ... bench: 381,476 ns/iter (+/- 2,338) = 1559 MB/s
test sherlock::no_match_uncommon ... bench: 20,786 ns/iter (+/- 717) = 28621 MB/s
test sherlock::quotes ... bench: 531,487 ns/iter (+/- 5,517) = 1119 MB/s
test sherlock::repeated_class_negation ... bench: 85,881,944 ns/iter (+/- 4,906,514) = 6 MB/s
test sherlock::the_lower ... bench: 654,110 ns/iter (+/- 34,542) = 909 MB/s
test sherlock::the_nocase ... bench: 474,456 ns/iter (+/- 16,549) = 1253 MB/s
test sherlock::the_upper ... bench: 43,746 ns/iter (+/- 579) = 13599 MB/s
test sherlock::the_whitespace ... bench: 1,181,974 ns/iter (+/- 3,005) = 503 MB/s
test sherlock::word_ending_n ... bench: 1,925,578 ns/iter (+/- 3,811) = 308 MB/s
test sherlock::words ... bench: 9,697,201 ns/iter (+/- 156,772) = 61 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 98 measured

View file

@ -0,0 +1,94 @@
running 89 tests
test misc::anchored_literal_long_match ... bench: 662 ns/iter (+/- 12) = 589 MB/s
test misc::anchored_literal_long_non_match ... bench: 133 ns/iter (+/- 1) = 2932 MB/s
test misc::anchored_literal_short_match ... bench: 616 ns/iter (+/- 18) = 42 MB/s
test misc::anchored_literal_short_non_match ... bench: 122 ns/iter (+/- 1) = 213 MB/s
test misc::easy0_1K ... bench: 11,816 ns/iter (+/- 92) = 88 MB/s
test misc::easy0_1MB ... bench: 3,409,439 ns/iter (+/- 94,972) = 307 MB/s
test misc::easy0_32 ... bench: 8,785 ns/iter (+/- 183) = 6 MB/s
test misc::easy0_32K ... bench: 115,371 ns/iter (+/- 2,279) = 284 MB/s
test misc::easy1_1K ... bench: 7,038 ns/iter (+/- 145) = 148 MB/s
test misc::easy1_1MB ... bench: 3,396,028 ns/iter (+/- 100,173) = 308 MB/s
test misc::easy1_32 ... bench: 3,687 ns/iter (+/- 44) = 14 MB/s
test misc::easy1_32K ... bench: 109,689 ns/iter (+/- 3,757) = 298 MB/s
test misc::hard_1K ... bench: 14,836 ns/iter (+/- 518) = 70 MB/s
test misc::hard_1MB ... bench: 3,376,015 ns/iter (+/- 95,045) = 310 MB/s
test misc::hard_32 ... bench: 11,278 ns/iter (+/- 389) = 5 MB/s
test misc::hard_32K ... bench: 115,400 ns/iter (+/- 4,738) = 284 MB/s
test misc::literal ... bench: 511 ns/iter (+/- 11) = 99 MB/s
test misc::long_needle1 ... bench: 18,076,901 ns/iter (+/- 523,761) = 5 MB/s
test misc::long_needle2 ... bench: 18,497,725 ns/iter (+/- 465,516) = 5 MB/s
test misc::match_class ... bench: 620 ns/iter (+/- 23) = 130 MB/s
test misc::match_class_in_range ... bench: 605 ns/iter (+/- 26) = 133 MB/s
test misc::medium_1K ... bench: 12,355 ns/iter (+/- 390) = 85 MB/s
test misc::medium_1MB ... bench: 3,410,978 ns/iter (+/- 112,021) = 307 MB/s
test misc::medium_32 ... bench: 9,086 ns/iter (+/- 287) = 6 MB/s
test misc::medium_32K ... bench: 116,944 ns/iter (+/- 5,654) = 280 MB/s
test misc::no_exponential ... bench: 2,379,518 ns/iter (+/- 92,628)
test misc::not_literal ... bench: 1,979 ns/iter (+/- 116) = 25 MB/s
test misc::one_pass_long_prefix ... bench: 6,932 ns/iter (+/- 464) = 3 MB/s
test misc::one_pass_long_prefix_not ... bench: 6,242 ns/iter (+/- 384) = 4 MB/s
test misc::one_pass_short ... bench: 630 ns/iter (+/- 42) = 26 MB/s
test misc::one_pass_short_not ... bench: 718 ns/iter (+/- 64) = 23 MB/s
test misc::reallyhard2_1K ... bench: 108,421 ns/iter (+/- 6,489) = 9 MB/s
test misc::reallyhard_1K ... bench: 14,330 ns/iter (+/- 814) = 73 MB/s
test misc::reallyhard_1MB ... bench: 3,287,965 ns/iter (+/- 203,546) = 318 MB/s
test misc::reallyhard_32 ... bench: 11,193 ns/iter (+/- 683) = 5 MB/s
test misc::reallyhard_32K ... bench: 112,731 ns/iter (+/- 5,966) = 290 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 26,907 ns/iter (+/- 2,396) = 297 MB/s
test regexdna::find_new_lines ... bench: 48,223,361 ns/iter (+/- 2,855,654) = 105 MB/s
test regexdna::subst1 ... bench: 27,177,359 ns/iter (+/- 1,359,987) = 187 MB/s
test regexdna::subst10 ... bench: 26,722,144 ns/iter (+/- 1,090,216) = 190 MB/s
test regexdna::subst11 ... bench: 27,382,875 ns/iter (+/- 1,656,754) = 185 MB/s
test regexdna::subst2 ... bench: 26,957,766 ns/iter (+/- 1,433,630) = 188 MB/s
test regexdna::subst3 ... bench: 27,195,925 ns/iter (+/- 1,828,460) = 186 MB/s
test regexdna::subst4 ... bench: 26,342,249 ns/iter (+/- 1,949,172) = 192 MB/s
test regexdna::subst5 ... bench: 26,543,675 ns/iter (+/- 2,143,336) = 191 MB/s
test regexdna::subst6 ... bench: 26,185,452 ns/iter (+/- 2,199,220) = 194 MB/s
test regexdna::subst7 ... bench: 26,338,573 ns/iter (+/- 2,124,778) = 193 MB/s
test regexdna::subst8 ... bench: 26,468,652 ns/iter (+/- 1,923,567) = 192 MB/s
test regexdna::subst9 ... bench: 26,487,784 ns/iter (+/- 1,250,319) = 191 MB/s
test regexdna::variant1 ... bench: 16,325,983 ns/iter (+/- 491,000) = 311 MB/s
test regexdna::variant2 ... bench: 16,845,952 ns/iter (+/- 470,062) = 301 MB/s
test regexdna::variant3 ... bench: 19,258,030 ns/iter (+/- 525,045) = 263 MB/s
test regexdna::variant4 ... bench: 18,018,713 ns/iter (+/- 1,235,670) = 282 MB/s
test regexdna::variant5 ... bench: 19,583,528 ns/iter (+/- 1,756,762) = 259 MB/s
test regexdna::variant6 ... bench: 17,630,308 ns/iter (+/- 973,191) = 288 MB/s
test regexdna::variant7 ... bench: 17,121,666 ns/iter (+/- 1,274,478) = 296 MB/s
test regexdna::variant8 ... bench: 17,154,863 ns/iter (+/- 425,504) = 296 MB/s
test regexdna::variant9 ... bench: 17,930,482 ns/iter (+/- 587,712) = 283 MB/s
test sherlock::before_after_holmes ... bench: 2,600,503 ns/iter (+/- 383,440) = 228 MB/s
test sherlock::before_holmes ... bench: 3,145,648 ns/iter (+/- 37,316) = 189 MB/s
test sherlock::holmes_cochar_watson ... bench: 2,668,355 ns/iter (+/- 193,724) = 222 MB/s
test sherlock::ing_suffix ... bench: 5,638,296 ns/iter (+/- 69,345) = 105 MB/s
test sherlock::ing_suffix_limited_space ... bench: 22,466,946 ns/iter (+/- 659,956) = 26 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 2,251,996 ns/iter (+/- 66,639) = 264 MB/s
test sherlock::name_alt1 ... bench: 2,276,056 ns/iter (+/- 64,088) = 261 MB/s
test sherlock::name_alt2 ... bench: 3,196,348 ns/iter (+/- 202,979) = 186 MB/s
test sherlock::name_alt3 ... bench: 5,260,374 ns/iter (+/- 426,028) = 113 MB/s
test sherlock::name_alt3_nocase ... bench: 8,529,394 ns/iter (+/- 558,731) = 69 MB/s
test sherlock::name_alt4 ... bench: 2,787,972 ns/iter (+/- 153,839) = 213 MB/s
test sherlock::name_alt4_nocase ... bench: 3,370,452 ns/iter (+/- 140,385) = 176 MB/s
test sherlock::name_alt5 ... bench: 3,795,793 ns/iter (+/- 182,240) = 156 MB/s
test sherlock::name_alt5_nocase ... bench: 4,691,422 ns/iter (+/- 161,515) = 126 MB/s
test sherlock::name_holmes ... bench: 2,513,139 ns/iter (+/- 72,157) = 236 MB/s
test sherlock::name_holmes_nocase ... bench: 2,636,441 ns/iter (+/- 78,402) = 225 MB/s
test sherlock::name_sherlock ... bench: 2,015,753 ns/iter (+/- 104,000) = 295 MB/s
test sherlock::name_sherlock_holmes ... bench: 2,180,684 ns/iter (+/- 162,201) = 272 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 2,306,664 ns/iter (+/- 165,960) = 257 MB/s
test sherlock::name_sherlock_nocase ... bench: 2,065,630 ns/iter (+/- 155,223) = 288 MB/s
test sherlock::name_whitespace ... bench: 2,266,188 ns/iter (+/- 173,380) = 262 MB/s
test sherlock::no_match_common ... bench: 1,881,887 ns/iter (+/- 123,883) = 316 MB/s
test sherlock::no_match_really_common ... bench: 1,804,352 ns/iter (+/- 33,396) = 329 MB/s
test sherlock::no_match_uncommon ... bench: 1,809,300 ns/iter (+/- 123,888) = 328 MB/s
test sherlock::quotes ... bench: 9,682,507 ns/iter (+/- 1,200,909) = 61 MB/s
test sherlock::repeated_class_negation ... bench: 68,600,251 ns/iter (+/- 2,043,582) = 8 MB/s
test sherlock::the_lower ... bench: 6,849,558 ns/iter (+/- 517,709) = 86 MB/s
test sherlock::the_nocase ... bench: 7,354,742 ns/iter (+/- 390,834) = 80 MB/s
test sherlock::the_upper ... bench: 2,442,364 ns/iter (+/- 174,452) = 243 MB/s
test sherlock::the_whitespace ... bench: 9,210,338 ns/iter (+/- 651,675) = 64 MB/s
test sherlock::words ... bench: 47,863,652 ns/iter (+/- 3,536,998) = 12 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 89 measured

View file

@ -0,0 +1,90 @@
name tcl ns/iter rust ns/iter diff ns/iter diff %
misc::anchored_literal_long_match 662 (589 MB/s) 24 (16250 MB/s) -638 -96.37%
misc::anchored_literal_long_non_match 133 (2932 MB/s) 27 (14444 MB/s) -106 -79.70%
misc::anchored_literal_short_match 616 (42 MB/s) 22 (1181 MB/s) -594 -96.43%
misc::anchored_literal_short_non_match 122 (213 MB/s) 24 (1083 MB/s) -98 -80.33%
misc::easy0_1K 11,816 (88 MB/s) 16 (65687 MB/s) -11,800 -99.86%
misc::easy0_1MB 3,409,439 (307 MB/s) 20 (52430150 MB/s) -3,409,419 -100.00%
misc::easy0_32 8,785 (6 MB/s) 16 (3687 MB/s) -8,769 -99.82%
misc::easy0_32K 115,371 (284 MB/s) 16 (2049687 MB/s) -115,355 -99.99%
misc::easy1_1K 7,038 (148 MB/s) 48 (21750 MB/s) -6,990 -99.32%
misc::easy1_1MB 3,396,028 (308 MB/s) 48 (21845750 MB/s) -3,395,980 -100.00%
misc::easy1_32 3,687 (14 MB/s) 46 (1130 MB/s) -3,641 -98.75%
misc::easy1_32K 109,689 (298 MB/s) 47 (697617 MB/s) -109,642 -99.96%
misc::hard_1K 14,836 (70 MB/s) 58 (18120 MB/s) -14,778 -99.61%
misc::hard_1MB 3,376,015 (310 MB/s) 61 (17190213 MB/s) -3,375,954 -100.00%
misc::hard_32 11,278 (5 MB/s) 58 (1017 MB/s) -11,220 -99.49%
misc::hard_32K 115,400 (284 MB/s) 56 (585625 MB/s) -115,344 -99.95%
misc::literal 511 (99 MB/s) 16 (3187 MB/s) -495 -96.87%
misc::long_needle1 18,076,901 (5 MB/s) 2,226 (44924 MB/s) -18,074,675 -99.99%
misc::long_needle2 18,497,725 (5 MB/s) 576,997 (173 MB/s) -17,920,728 -96.88%
misc::match_class 620 (130 MB/s) 65 (1246 MB/s) -555 -89.52%
misc::match_class_in_range 605 (133 MB/s) 27 (3000 MB/s) -578 -95.54%
misc::medium_1K 12,355 (85 MB/s) 16 (65750 MB/s) -12,339 -99.87%
misc::medium_1MB 3,410,978 (307 MB/s) 21 (49933523 MB/s) -3,410,957 -100.00%
misc::medium_32 9,086 (6 MB/s) 17 (3529 MB/s) -9,069 -99.81%
misc::medium_32K 116,944 (280 MB/s) 17 (1929176 MB/s) -116,927 -99.99%
misc::no_exponential 2,379,518 394 (253 MB/s) -2,379,124 -99.98%
misc::not_literal 1,979 (25 MB/s) 105 (485 MB/s) -1,874 -94.69%
misc::one_pass_long_prefix 6,932 (3 MB/s) 68 (382 MB/s) -6,864 -99.02%
misc::one_pass_long_prefix_not 6,242 (4 MB/s) 58 (448 MB/s) -6,184 -99.07%
misc::one_pass_short 630 (26 MB/s) 45 (377 MB/s) -585 -92.86%
misc::one_pass_short_not 718 (23 MB/s) 50 (340 MB/s) -668 -93.04%
misc::reallyhard2_1K 108,421 (9 MB/s) 83 (12530 MB/s) -108,338 -99.92%
misc::reallyhard_1K 14,330 (73 MB/s) 1,822 (576 MB/s) -12,508 -87.29%
misc::reallyhard_1MB 3,287,965 (318 MB/s) 1,768,327 (592 MB/s) -1,519,638 -46.22%
misc::reallyhard_32 11,193 (5 MB/s) 121 (487 MB/s) -11,072 -98.92%
misc::reallyhard_32K 112,731 (290 MB/s) 56,375 (581 MB/s) -56,356 -49.99%
misc::reverse_suffix_no_quadratic 26,907 (297 MB/s) 5,803 (1378 MB/s) -21,104 -78.43%
regexdna::find_new_lines 48,223,361 (105 MB/s) 14,818,233 (343 MB/s) -33,405,128 -69.27%
regexdna::subst1 27,177,359 (187 MB/s) 896,790 (5668 MB/s) -26,280,569 -96.70%
regexdna::subst10 26,722,144 (190 MB/s) 957,325 (5310 MB/s) -25,764,819 -96.42%
regexdna::subst11 27,382,875 (185 MB/s) 917,248 (5542 MB/s) -26,465,627 -96.65%
regexdna::subst2 26,957,766 (188 MB/s) 892,129 (5698 MB/s) -26,065,637 -96.69%
regexdna::subst3 27,195,925 (186 MB/s) 929,250 (5470 MB/s) -26,266,675 -96.58%
regexdna::subst4 26,342,249 (192 MB/s) 872,581 (5825 MB/s) -25,469,668 -96.69%
regexdna::subst5 26,543,675 (191 MB/s) 875,804 (5804 MB/s) -25,667,871 -96.70%
regexdna::subst6 26,185,452 (194 MB/s) 884,639 (5746 MB/s) -25,300,813 -96.62%
regexdna::subst7 26,338,573 (193 MB/s) 872,791 (5824 MB/s) -25,465,782 -96.69%
regexdna::subst8 26,468,652 (192 MB/s) 873,833 (5817 MB/s) -25,594,819 -96.70%
regexdna::subst9 26,487,784 (191 MB/s) 886,744 (5732 MB/s) -25,601,040 -96.65%
regexdna::variant1 16,325,983 (311 MB/s) 3,699,267 (1374 MB/s) -12,626,716 -77.34%
regexdna::variant2 16,845,952 (301 MB/s) 6,760,952 (751 MB/s) -10,085,000 -59.87%
regexdna::variant3 19,258,030 (263 MB/s) 8,030,646 (633 MB/s) -11,227,384 -58.30%
regexdna::variant4 18,018,713 (282 MB/s) 8,077,290 (629 MB/s) -9,941,423 -55.17%
regexdna::variant5 19,583,528 (259 MB/s) 6,787,242 (748 MB/s) -12,796,286 -65.34%
regexdna::variant6 17,630,308 (288 MB/s) 6,577,777 (772 MB/s) -11,052,531 -62.69%
regexdna::variant7 17,121,666 (296 MB/s) 6,705,580 (758 MB/s) -10,416,086 -60.84%
regexdna::variant8 17,154,863 (296 MB/s) 6,818,785 (745 MB/s) -10,336,078 -60.25%
regexdna::variant9 17,930,482 (283 MB/s) 6,821,453 (745 MB/s) -11,109,029 -61.96%
sherlock::before_after_holmes 2,600,503 (228 MB/s) 1,029,866 (577 MB/s) -1,570,637 -60.40%
sherlock::before_holmes 3,145,648 (189 MB/s) 76,633 (7763 MB/s) -3,069,015 -97.56%
sherlock::holmes_cochar_watson 2,668,355 (222 MB/s) 144,725 (4110 MB/s) -2,523,630 -94.58%
sherlock::ing_suffix 5,638,296 (105 MB/s) 436,202 (1363 MB/s) -5,202,094 -92.26%
sherlock::ing_suffix_limited_space 22,466,946 (26 MB/s) 1,182,943 (502 MB/s) -21,284,003 -94.73%
sherlock::line_boundary_sherlock_holmes 2,251,996 (264 MB/s) 999,414 (595 MB/s) -1,252,582 -55.62%
sherlock::name_alt1 2,276,056 (261 MB/s) 34,298 (17345 MB/s) -2,241,758 -98.49%
sherlock::name_alt2 3,196,348 (186 MB/s) 124,226 (4789 MB/s) -3,072,122 -96.11%
sherlock::name_alt3 5,260,374 (113 MB/s) 137,742 (4319 MB/s) -5,122,632 -97.38%
sherlock::name_alt3_nocase 8,529,394 (69 MB/s) 1,293,763 (459 MB/s) -7,235,631 -84.83%
sherlock::name_alt4 2,787,972 (213 MB/s) 164,900 (3607 MB/s) -2,623,072 -94.09%
sherlock::name_alt4_nocase 3,370,452 (176 MB/s) 235,023 (2531 MB/s) -3,135,429 -93.03%
sherlock::name_alt5 3,795,793 (156 MB/s) 127,928 (4650 MB/s) -3,667,865 -96.63%
sherlock::name_alt5_nocase 4,691,422 (126 MB/s) 659,591 (901 MB/s) -4,031,831 -85.94%
sherlock::name_holmes 2,513,139 (236 MB/s) 40,902 (14545 MB/s) -2,472,237 -98.37%
sherlock::name_holmes_nocase 2,636,441 (225 MB/s) 198,658 (2994 MB/s) -2,437,783 -92.46%
sherlock::name_sherlock 2,015,753 (295 MB/s) 68,924 (8631 MB/s) -1,946,829 -96.58%
sherlock::name_sherlock_holmes 2,180,684 (272 MB/s) 31,640 (18803 MB/s) -2,149,044 -98.55%
sherlock::name_sherlock_holmes_nocase 2,306,664 (257 MB/s) 173,522 (3428 MB/s) -2,133,142 -92.48%
sherlock::name_sherlock_nocase 2,065,630 (288 MB/s) 170,888 (3481 MB/s) -1,894,742 -91.73%
sherlock::name_whitespace 2,266,188 (262 MB/s) 84,314 (7056 MB/s) -2,181,874 -96.28%
sherlock::no_match_common 1,881,887 (316 MB/s) 20,727 (28703 MB/s) -1,861,160 -98.90%
sherlock::no_match_really_common 1,804,352 (329 MB/s) 381,476 (1559 MB/s) -1,422,876 -78.86%
sherlock::no_match_uncommon 1,809,300 (328 MB/s) 20,786 (28621 MB/s) -1,788,514 -98.85%
sherlock::quotes 9,682,507 (61 MB/s) 531,487 (1119 MB/s) -9,151,020 -94.51%
sherlock::repeated_class_negation 68,600,251 (8 MB/s) 85,881,944 (6 MB/s) 17,281,693 25.19%
sherlock::the_lower 6,849,558 (86 MB/s) 654,110 (909 MB/s) -6,195,448 -90.45%
sherlock::the_nocase 7,354,742 (80 MB/s) 474,456 (1253 MB/s) -6,880,286 -93.55%
sherlock::the_upper 2,442,364 (243 MB/s) 43,746 (13599 MB/s) -2,398,618 -98.21%
sherlock::the_whitespace 9,210,338 (64 MB/s) 1,181,974 (503 MB/s) -8,028,364 -87.17%
sherlock::words 47,863,652 (12 MB/s) 9,697,201 (61 MB/s) -38,166,451 -79.74%

View file

@ -0,0 +1,98 @@
running 95 tests
test misc::anchored_literal_long_match ... bench: 356 ns/iter (+/- 4) = 1095 MB/s
test misc::anchored_literal_long_non_match ... bench: 280 ns/iter (+/- 18) = 1392 MB/s
test misc::anchored_literal_short_match ... bench: 351 ns/iter (+/- 16) = 74 MB/s
test misc::anchored_literal_short_non_match ... bench: 274 ns/iter (+/- 17) = 94 MB/s
test misc::easy0_1K ... bench: 810 ns/iter (+/- 38) = 1297 MB/s
test misc::easy0_1MB ... bench: 25,296 ns/iter (+/- 3,592) = 41453 MB/s
test misc::easy0_32 ... bench: 745 ns/iter (+/- 60) = 79 MB/s
test misc::easy0_32K ... bench: 1,111 ns/iter (+/- 82) = 29518 MB/s
test misc::easy1_1K ... bench: 730 ns/iter (+/- 20) = 1430 MB/s
test misc::easy1_1MB ... bench: 25,442 ns/iter (+/- 2,076) = 41215 MB/s
test misc::easy1_32 ... bench: 730 ns/iter (+/- 79) = 71 MB/s
test misc::easy1_32K ... bench: 1,104 ns/iter (+/- 93) = 29699 MB/s
test misc::hard_1K ... bench: 18,238 ns/iter (+/- 1,173) = 57 MB/s
test misc::hard_1MB ... bench: 19,302,344 ns/iter (+/- 2,039,538) = 54 MB/s
test misc::hard_32 ... bench: 2,508 ns/iter (+/- 119) = 23 MB/s
test misc::hard_32K ... bench: 666,948 ns/iter (+/- 58,067) = 49 MB/s
test misc::literal ... bench: 196 ns/iter (+/- 17) = 260 MB/s
test misc::long_needle1 ... bench: 82,532 ns/iter (+/- 4,618) = 1211 MB/s
test misc::long_needle2 ... bench: 84,079 ns/iter (+/- 5,930) = 1189 MB/s
test misc::match_class ... bench: 300 ns/iter (+/- 41) = 270 MB/s
test misc::match_class_in_range ... bench: 258 ns/iter (+/- 16) = 313 MB/s
test misc::match_class_unicode ... bench: 1,563 ns/iter (+/- 171) = 103 MB/s
test misc::medium_1K ... bench: 1,541 ns/iter (+/- 127) = 682 MB/s
test misc::medium_1MB ... bench: 617,650 ns/iter (+/- 59,618) = 1697 MB/s
test misc::medium_32 ... bench: 985 ns/iter (+/- 62) = 60 MB/s
test misc::medium_32K ... bench: 19,948 ns/iter (+/- 1,388) = 1644 MB/s
test misc::no_exponential ... bench: 430,777 ns/iter (+/- 52,435)
test misc::not_literal ... bench: 1,202 ns/iter (+/- 60) = 42 MB/s
test misc::one_pass_long_prefix ... bench: 630 ns/iter (+/- 45) = 41 MB/s
test misc::one_pass_long_prefix_not ... bench: 617 ns/iter (+/- 60) = 42 MB/s
test misc::one_pass_short ... bench: 1,102 ns/iter (+/- 38) = 15 MB/s
test misc::one_pass_short_not ... bench: 1,481 ns/iter (+/- 44) = 11 MB/s
test misc::reallyhard2_1K ... bench: 40,749 ns/iter (+/- 2,027) = 25 MB/s
test misc::reallyhard_1K ... bench: 18,987 ns/iter (+/- 1,419) = 55 MB/s
test misc::reallyhard_1MB ... bench: 19,923,786 ns/iter (+/- 1,499,750) = 52 MB/s
test misc::reallyhard_32 ... bench: 2,369 ns/iter (+/- 115) = 24 MB/s
test misc::reallyhard_32K ... bench: 627,664 ns/iter (+/- 30,507) = 52 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,933 ns/iter (+/- 700) = 1621 MB/s
test regexdna::find_new_lines ... bench: 28,886,666 ns/iter (+/- 1,969,669) = 175 MB/s
test regexdna::subst1 ... bench: 6,722,884 ns/iter (+/- 431,722) = 756 MB/s
test regexdna::subst10 ... bench: 6,923,833 ns/iter (+/- 677,840) = 734 MB/s
test regexdna::subst11 ... bench: 6,917,738 ns/iter (+/- 306,829) = 734 MB/s
test regexdna::subst2 ... bench: 6,914,593 ns/iter (+/- 625,342) = 735 MB/s
test regexdna::subst3 ... bench: 6,582,793 ns/iter (+/- 297,052) = 772 MB/s
test regexdna::subst4 ... bench: 6,528,804 ns/iter (+/- 463,331) = 778 MB/s
test regexdna::subst5 ... bench: 6,886,457 ns/iter (+/- 1,015,943) = 738 MB/s
test regexdna::subst6 ... bench: 6,789,493 ns/iter (+/- 573,137) = 748 MB/s
test regexdna::subst7 ... bench: 6,533,609 ns/iter (+/- 372,293) = 778 MB/s
test regexdna::subst8 ... bench: 6,536,845 ns/iter (+/- 290,249) = 777 MB/s
test regexdna::subst9 ... bench: 6,509,834 ns/iter (+/- 402,426) = 780 MB/s
test regexdna::variant1 ... bench: 5,746,639 ns/iter (+/- 205,103) = 884 MB/s
test regexdna::variant2 ... bench: 7,661,372 ns/iter (+/- 145,811) = 663 MB/s
test regexdna::variant3 ... bench: 12,801,668 ns/iter (+/- 337,572) = 397 MB/s
test regexdna::variant4 ... bench: 11,109,679 ns/iter (+/- 357,680) = 457 MB/s
test regexdna::variant5 ... bench: 11,238,093 ns/iter (+/- 1,571,929) = 452 MB/s
test regexdna::variant6 ... bench: 8,453,224 ns/iter (+/- 185,044) = 601 MB/s
test regexdna::variant7 ... bench: 8,784,446 ns/iter (+/- 153,626) = 578 MB/s
test regexdna::variant8 ... bench: 11,151,797 ns/iter (+/- 366,593) = 455 MB/s
test regexdna::variant9 ... bench: 22,206,248 ns/iter (+/- 1,143,965) = 228 MB/s
test sherlock::before_after_holmes ... bench: 23,458,512 ns/iter (+/- 1,982,069) = 25 MB/s
test sherlock::before_holmes ... bench: 23,040,796 ns/iter (+/- 688,881) = 25 MB/s
test sherlock::holmes_cochar_watson ... bench: 1,035,156 ns/iter (+/- 113,881) = 574 MB/s
test sherlock::holmes_coword_watson ... bench: 118,126,447 ns/iter (+/- 8,394,250) = 5 MB/s
test sherlock::ing_suffix ... bench: 16,122,434 ns/iter (+/- 236,636) = 36 MB/s
test sherlock::ing_suffix_limited_space ... bench: 22,239,435 ns/iter (+/- 364,604) = 26 MB/s
test sherlock::letters ... bench: 92,002,273 ns/iter (+/- 2,056,908) = 6 MB/s
test sherlock::letters_lower ... bench: 90,778,580 ns/iter (+/- 4,179,255) = 6 MB/s
test sherlock::letters_upper ... bench: 3,392,415 ns/iter (+/- 143,338) = 175 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 428,636 ns/iter (+/- 14,993) = 1387 MB/s
test sherlock::name_alt1 ... bench: 432,574 ns/iter (+/- 13,731) = 1375 MB/s
test sherlock::name_alt2 ... bench: 644,165 ns/iter (+/- 15,049) = 923 MB/s
test sherlock::name_alt3 ... bench: 1,176,979 ns/iter (+/- 105,694) = 505 MB/s
test sherlock::name_alt3_nocase ... bench: 2,054,990 ns/iter (+/- 91,909) = 289 MB/s
test sherlock::name_alt4 ... bench: 712,039 ns/iter (+/- 36,911) = 835 MB/s
test sherlock::name_alt4_nocase ... bench: 993,415 ns/iter (+/- 27,355) = 598 MB/s
test sherlock::name_alt5 ... bench: 757,045 ns/iter (+/- 29,126) = 785 MB/s
test sherlock::name_alt5_nocase ... bench: 953,821 ns/iter (+/- 37,252) = 623 MB/s
test sherlock::name_holmes ... bench: 186,801 ns/iter (+/- 6,676) = 3184 MB/s
test sherlock::name_holmes_nocase ... bench: 539,857 ns/iter (+/- 40,614) = 1102 MB/s
test sherlock::name_sherlock ... bench: 56,113 ns/iter (+/- 4,566) = 10602 MB/s
test sherlock::name_sherlock_holmes ... bench: 67,558 ns/iter (+/- 6,746) = 8806 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 429,123 ns/iter (+/- 51,647) = 1386 MB/s
test sherlock::name_sherlock_nocase ... bench: 396,070 ns/iter (+/- 33,934) = 1502 MB/s
test sherlock::name_whitespace ... bench: 84,630 ns/iter (+/- 6,285) = 7029 MB/s
test sherlock::no_match_common ... bench: 292,844 ns/iter (+/- 24,013) = 2031 MB/s
test sherlock::no_match_really_common ... bench: 290,986 ns/iter (+/- 10,163) = 2044 MB/s
test sherlock::no_match_uncommon ... bench: 14,041 ns/iter (+/- 599) = 42371 MB/s
test sherlock::quotes ... bench: 6,489,945 ns/iter (+/- 132,983) = 91 MB/s
test sherlock::repeated_class_negation ... bench: 49,479,000 ns/iter (+/- 965,144) = 12 MB/s
test sherlock::the_lower ... bench: 2,268,881 ns/iter (+/- 134,889) = 262 MB/s
test sherlock::the_nocase ... bench: 2,906,824 ns/iter (+/- 72,615) = 204 MB/s
test sherlock::the_upper ... bench: 211,138 ns/iter (+/- 9,935) = 2817 MB/s
test sherlock::the_whitespace ... bench: 3,488,249 ns/iter (+/- 254,294) = 170 MB/s
test sherlock::word_ending_n ... bench: 30,917,395 ns/iter (+/- 2,298,620) = 19 MB/s
test sherlock::words ... bench: 39,830,572 ns/iter (+/- 2,662,348) = 14 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 95 measured; 0 filtered out

View file

@ -0,0 +1,99 @@
running 94 tests
test misc::anchored_literal_long_match ... bench: 336 ns/iter (+/- 145) = 1160 MB/s
test misc::anchored_literal_long_non_match ... bench: 246 ns/iter (+/- 27) = 1585 MB/s
test misc::anchored_literal_short_match ... bench: 313 ns/iter (+/- 32) = 83 MB/s
test misc::anchored_literal_short_non_match ... bench: 248 ns/iter (+/- 31) = 104 MB/s
test misc::easy0_1K ... bench: 792 ns/iter (+/- 109) = 1327 MB/s
test misc::easy0_1MB ... bench: 24,706 ns/iter (+/- 812) = 42443 MB/s
test misc::easy0_32 ... bench: 793 ns/iter (+/- 77) = 74 MB/s
test misc::easy0_32K ... bench: 1,179 ns/iter (+/- 55) = 27815 MB/s
test misc::easy1_1K ... bench: 720 ns/iter (+/- 85) = 1450 MB/s
test misc::easy1_1MB ... bench: 24,647 ns/iter (+/- 761) = 42544 MB/s
test misc::easy1_32 ... bench: 717 ns/iter (+/- 28) = 72 MB/s
test misc::easy1_32K ... bench: 1,140 ns/iter (+/- 116) = 28761 MB/s
test misc::hard_1K ... bench: 19,153 ns/iter (+/- 2,063) = 54 MB/s
test misc::hard_1MB ... bench: 19,966,822 ns/iter (+/- 1,979,640) = 52 MB/s
test misc::hard_32 ... bench: 2,617 ns/iter (+/- 354) = 22 MB/s
test misc::hard_32K ... bench: 621,150 ns/iter (+/- 24,244) = 52 MB/s
test misc::literal ... bench: 194 ns/iter (+/- 28) = 262 MB/s
test misc::long_needle1 ... bench: 83,293 ns/iter (+/- 3,287) = 1200 MB/s
test misc::long_needle2 ... bench: 83,214 ns/iter (+/- 3,344) = 1201 MB/s
test misc::match_class ... bench: 301 ns/iter (+/- 38) = 269 MB/s
test misc::match_class_in_range ... bench: 258 ns/iter (+/- 27) = 313 MB/s
test misc::match_class_unicode ... bench: 1,565 ns/iter (+/- 187) = 102 MB/s
test misc::medium_1K ... bench: 1,572 ns/iter (+/- 230) = 669 MB/s
test misc::medium_1MB ... bench: 609,944 ns/iter (+/- 23,088) = 1719 MB/s
test misc::medium_32 ... bench: 980 ns/iter (+/- 112) = 61 MB/s
test misc::medium_32K ... bench: 20,058 ns/iter (+/- 884) = 1635 MB/s
test misc::not_literal ... bench: 1,218 ns/iter (+/- 67) = 41 MB/s
test misc::one_pass_long_prefix ... bench: 588 ns/iter (+/- 93) = 44 MB/s
test misc::one_pass_long_prefix_not ... bench: 595 ns/iter (+/- 77) = 43 MB/s
test misc::one_pass_short ... bench: 1,114 ns/iter (+/- 52) = 15 MB/s
test misc::one_pass_short_not ... bench: 1,481 ns/iter (+/- 183) = 11 MB/s
test misc::reallyhard2_1K ... bench: 40,858 ns/iter (+/- 1,860) = 25 MB/s
test misc::reallyhard_1K ... bench: 18,678 ns/iter (+/- 835) = 56 MB/s
test misc::reallyhard_1MB ... bench: 19,824,750 ns/iter (+/- 354,159) = 52 MB/s
test misc::reallyhard_32 ... bench: 2,340 ns/iter (+/- 68) = 25 MB/s
test misc::reallyhard_32K ... bench: 621,351 ns/iter (+/- 21,369) = 52 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,919 ns/iter (+/- 224) = 1626 MB/s
test regexdna::find_new_lines ... bench: 27,265,128 ns/iter (+/- 1,416,486) = 186 MB/s
test regexdna::subst1 ... bench: 6,414,636 ns/iter (+/- 696,943) = 792 MB/s
test regexdna::subst10 ... bench: 6,426,829 ns/iter (+/- 206,773) = 790 MB/s
test regexdna::subst11 ... bench: 6,435,800 ns/iter (+/- 439,175) = 789 MB/s
test regexdna::subst2 ... bench: 6,428,455 ns/iter (+/- 214,961) = 790 MB/s
test regexdna::subst3 ... bench: 6,428,692 ns/iter (+/- 681,910) = 790 MB/s
test regexdna::subst4 ... bench: 6,425,781 ns/iter (+/- 129,718) = 791 MB/s
test regexdna::subst5 ... bench: 6,414,376 ns/iter (+/- 151,827) = 792 MB/s
test regexdna::subst6 ... bench: 6,455,032 ns/iter (+/- 423,915) = 787 MB/s
test regexdna::subst7 ... bench: 6,668,649 ns/iter (+/- 686,734) = 762 MB/s
test regexdna::subst8 ... bench: 6,393,791 ns/iter (+/- 172,533) = 795 MB/s
test regexdna::subst9 ... bench: 6,426,100 ns/iter (+/- 175,951) = 791 MB/s
test regexdna::variant1 ... bench: 5,612,507 ns/iter (+/- 128,406) = 905 MB/s
test regexdna::variant2 ... bench: 7,572,661 ns/iter (+/- 159,047) = 671 MB/s
test regexdna::variant3 ... bench: 12,287,183 ns/iter (+/- 378,305) = 413 MB/s
test regexdna::variant4 ... bench: 11,223,976 ns/iter (+/- 1,191,250) = 452 MB/s
test regexdna::variant5 ... bench: 11,016,081 ns/iter (+/- 714,537) = 461 MB/s
test regexdna::variant6 ... bench: 8,198,798 ns/iter (+/- 471,338) = 620 MB/s
test regexdna::variant7 ... bench: 8,895,886 ns/iter (+/- 885,690) = 571 MB/s
test regexdna::variant8 ... bench: 11,000,942 ns/iter (+/- 886,538) = 462 MB/s
test regexdna::variant9 ... bench: 20,761,109 ns/iter (+/- 629,876) = 244 MB/s
test sherlock::before_after_holmes ... bench: 24,417,513 ns/iter (+/- 2,359,425) = 24 MB/s
test sherlock::before_holmes ... bench: 24,435,196 ns/iter (+/- 2,164,187) = 24 MB/s
test sherlock::holmes_cochar_watson ... bench: 1,025,780 ns/iter (+/- 121,876) = 579 MB/s
test sherlock::holmes_coword_watson ... bench: 122,988,753 ns/iter (+/- 7,606,302) = 4 MB/s
test sherlock::ing_suffix ... bench: 16,322,427 ns/iter (+/- 321,746) = 36 MB/s
test sherlock::ing_suffix_limited_space ... bench: 21,993,282 ns/iter (+/- 434,365) = 27 MB/s
test sherlock::letters ... bench: 88,877,258 ns/iter (+/- 504,024) = 6 MB/s
test sherlock::letters_lower ... bench: 87,709,419 ns/iter (+/- 659,859) = 6 MB/s
test sherlock::letters_upper ... bench: 3,299,811 ns/iter (+/- 78,850) = 180 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 431,548 ns/iter (+/- 54,716) = 1378 MB/s
test sherlock::name_alt1 ... bench: 470,052 ns/iter (+/- 49,985) = 1265 MB/s
test sherlock::name_alt2 ... bench: 705,694 ns/iter (+/- 45,724) = 843 MB/s
test sherlock::name_alt3 ... bench: 1,148,456 ns/iter (+/- 51,018) = 518 MB/s
test sherlock::name_alt3_nocase ... bench: 2,026,355 ns/iter (+/- 220,043) = 293 MB/s
test sherlock::name_alt4 ... bench: 699,625 ns/iter (+/- 40,361) = 850 MB/s
test sherlock::name_alt4_nocase ... bench: 979,151 ns/iter (+/- 41,460) = 607 MB/s
test sherlock::name_alt5 ... bench: 751,646 ns/iter (+/- 31,601) = 791 MB/s
test sherlock::name_alt5_nocase ... bench: 950,701 ns/iter (+/- 102,078) = 625 MB/s
test sherlock::name_holmes ... bench: 184,935 ns/iter (+/- 6,633) = 3216 MB/s
test sherlock::name_holmes_nocase ... bench: 532,703 ns/iter (+/- 33,919) = 1116 MB/s
test sherlock::name_sherlock ... bench: 55,468 ns/iter (+/- 1,776) = 10725 MB/s
test sherlock::name_sherlock_holmes ... bench: 67,327 ns/iter (+/- 5,464) = 8836 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 417,724 ns/iter (+/- 45,520) = 1424 MB/s
test sherlock::name_sherlock_nocase ... bench: 392,285 ns/iter (+/- 14,778) = 1516 MB/s
test sherlock::name_whitespace ... bench: 77,112 ns/iter (+/- 2,785) = 7715 MB/s
test sherlock::no_match_common ... bench: 291,222 ns/iter (+/- 10,477) = 2042 MB/s
test sherlock::no_match_really_common ... bench: 291,393 ns/iter (+/- 10,834) = 2041 MB/s
test sherlock::no_match_uncommon ... bench: 14,016 ns/iter (+/- 376) = 42446 MB/s
test sherlock::quotes ... bench: 6,557,639 ns/iter (+/- 158,929) = 90 MB/s
test sherlock::repeated_class_negation ... bench: 49,697,910 ns/iter (+/- 773,749) = 11 MB/s
test sherlock::the_lower ... bench: 2,236,055 ns/iter (+/- 72,024) = 266 MB/s
test sherlock::the_nocase ... bench: 2,892,430 ns/iter (+/- 89,222) = 205 MB/s
test sherlock::the_upper ... bench: 207,035 ns/iter (+/- 8,624) = 2873 MB/s
test sherlock::the_whitespace ... bench: 3,435,267 ns/iter (+/- 416,560) = 173 MB/s
test sherlock::word_ending_n ... bench: 31,751,871 ns/iter (+/- 374,472) = 18 MB/s
test sherlock::words ... bench: 38,793,659 ns/iter (+/- 3,022,370) = 15 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 94 measured; 0 filtered out

View file

@ -0,0 +1,100 @@
running 95 tests
test misc::anchored_literal_long_match ... bench: 203 ns/iter (+/- 13) = 1921 MB/s
test misc::anchored_literal_long_non_match ... bench: 126 ns/iter (+/- 5) = 3095 MB/s
test misc::anchored_literal_short_match ... bench: 204 ns/iter (+/- 4) = 127 MB/s
test misc::anchored_literal_short_non_match ... bench: 127 ns/iter (+/- 8) = 204 MB/s
test misc::easy0_1K ... bench: 571 ns/iter (+/- 44) = 1840 MB/s
test misc::easy0_1MB ... bench: 25,321 ns/iter (+/- 421) = 41412 MB/s
test misc::easy0_32 ... bench: 553 ns/iter (+/- 9) = 106 MB/s
test misc::easy0_32K ... bench: 971 ns/iter (+/- 29) = 33774 MB/s
test misc::easy1_1K ... bench: 508 ns/iter (+/- 22) = 2055 MB/s
test misc::easy1_1MB ... bench: 24,181 ns/iter (+/- 704) = 43364 MB/s
test misc::easy1_32 ... bench: 494 ns/iter (+/- 14) = 105 MB/s
test misc::easy1_32K ... bench: 892 ns/iter (+/- 82) = 36757 MB/s
test misc::hard_1K ... bench: 15,335 ns/iter (+/- 1,224) = 68 MB/s
test misc::hard_1MB ... bench: 16,105,838 ns/iter (+/- 319,567) = 65 MB/s
test misc::hard_32 ... bench: 1,798 ns/iter (+/- 79) = 32 MB/s
test misc::hard_32K ... bench: 504,123 ns/iter (+/- 44,829) = 65 MB/s
test misc::literal ... bench: 74 ns/iter (+/- 9) = 689 MB/s
test misc::long_needle1 ... bench: 56,853 ns/iter (+/- 3,662) = 1758 MB/s
test misc::long_needle2 ... bench: 57,038 ns/iter (+/- 2,532) = 1753 MB/s
test misc::match_class ... bench: 140 ns/iter (+/- 15) = 578 MB/s
test misc::match_class_in_range ... bench: 126 ns/iter (+/- 17) = 642 MB/s
test misc::match_class_unicode ... bench: 1,407 ns/iter (+/- 122) = 114 MB/s
test misc::medium_1K ... bench: 1,199 ns/iter (+/- 80) = 877 MB/s
test misc::medium_1MB ... bench: 558,323 ns/iter (+/- 20,908) = 1878 MB/s
test misc::medium_32 ... bench: 661 ns/iter (+/- 30) = 90 MB/s
test misc::medium_32K ... bench: 18,148 ns/iter (+/- 1,038) = 1807 MB/s
test misc::no_exponential ... bench: 334,786 ns/iter (+/- 18,234)
test misc::not_literal ... bench: 1,347 ns/iter (+/- 49) = 37 MB/s
test misc::one_pass_long_prefix ... bench: 499 ns/iter (+/- 59) = 52 MB/s
test misc::one_pass_long_prefix_not ... bench: 522 ns/iter (+/- 64) = 49 MB/s
test misc::one_pass_short ... bench: 804 ns/iter (+/- 37) = 21 MB/s
test misc::one_pass_short_not ... bench: 1,260 ns/iter (+/- 130) = 13 MB/s
test misc::reallyhard2_1K ... bench: 37,726 ns/iter (+/- 1,284) = 27 MB/s
test misc::reallyhard_1K ... bench: 15,246 ns/iter (+/- 901) = 68 MB/s
test misc::reallyhard_1MB ... bench: 16,187,692 ns/iter (+/- 1,552,760) = 64 MB/s
test misc::reallyhard_32 ... bench: 1,882 ns/iter (+/- 237) = 31 MB/s
test misc::reallyhard_32K ... bench: 541,567 ns/iter (+/- 64,929) = 60 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,576 ns/iter (+/- 185) = 1748 MB/s
test regexdna::find_new_lines ... bench: 14,744,849 ns/iter (+/- 1,141,621) = 344 MB/s
test regexdna::subst1 ... bench: 2,801,370 ns/iter (+/- 105,875) = 1814 MB/s
test regexdna::subst10 ... bench: 3,015,410 ns/iter (+/- 446,982) = 1685 MB/s
test regexdna::subst11 ... bench: 2,923,557 ns/iter (+/- 193,230) = 1738 MB/s
test regexdna::subst2 ... bench: 2,948,002 ns/iter (+/- 306,203) = 1724 MB/s
test regexdna::subst3 ... bench: 2,899,076 ns/iter (+/- 174,958) = 1753 MB/s
test regexdna::subst4 ... bench: 2,908,685 ns/iter (+/- 221,436) = 1747 MB/s
test regexdna::subst5 ... bench: 3,780,044 ns/iter (+/- 150,740) = 1344 MB/s
test regexdna::subst6 ... bench: 2,920,193 ns/iter (+/- 142,191) = 1740 MB/s
test regexdna::subst7 ... bench: 2,918,785 ns/iter (+/- 175,109) = 1741 MB/s
test regexdna::subst8 ... bench: 2,932,075 ns/iter (+/- 152,745) = 1733 MB/s
test regexdna::subst9 ... bench: 2,914,694 ns/iter (+/- 176,327) = 1744 MB/s
test regexdna::variant1 ... bench: 5,172,617 ns/iter (+/- 269,855) = 982 MB/s
test regexdna::variant2 ... bench: 6,770,702 ns/iter (+/- 474,076) = 750 MB/s
test regexdna::variant3 ... bench: 11,124,754 ns/iter (+/- 649,591) = 456 MB/s
test regexdna::variant4 ... bench: 9,751,982 ns/iter (+/- 460,679) = 521 MB/s
test regexdna::variant5 ... bench: 9,791,229 ns/iter (+/- 461,486) = 519 MB/s
test regexdna::variant6 ... bench: 7,417,031 ns/iter (+/- 275,225) = 685 MB/s
test regexdna::variant7 ... bench: 7,873,097 ns/iter (+/- 451,115) = 645 MB/s
test regexdna::variant8 ... bench: 9,707,683 ns/iter (+/- 418,865) = 523 MB/s
test regexdna::variant9 ... bench: 18,696,520 ns/iter (+/- 742,018) = 271 MB/s
test sherlock::before_after_holmes ... bench: 22,314,084 ns/iter (+/- 888,249) = 26 MB/s
test sherlock::before_holmes ... bench: 22,501,540 ns/iter (+/- 892,027) = 26 MB/s
test sherlock::holmes_cochar_watson ... bench: 929,372 ns/iter (+/- 46,859) = 640 MB/s
test sherlock::holmes_coword_watson ... bench: 125,548,613 ns/iter (+/- 3,297,687) = 4 MB/s
test sherlock::ing_suffix ... bench: 18,023,803 ns/iter (+/- 1,079,960) = 33 MB/s
test sherlock::ing_suffix_limited_space ... bench: 21,809,497 ns/iter (+/- 1,259,989) = 27 MB/s
test sherlock::letters ... bench: 39,512,315 ns/iter (+/- 3,309,084) = 15 MB/s
test sherlock::letters_lower ... bench: 37,160,354 ns/iter (+/- 3,084,525) = 16 MB/s
test sherlock::letters_upper ... bench: 1,721,867 ns/iter (+/- 66,812) = 345 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 378,307 ns/iter (+/- 30,914) = 1572 MB/s
test sherlock::name_alt1 ... bench: 381,242 ns/iter (+/- 41,954) = 1560 MB/s
test sherlock::name_alt2 ... bench: 503,558 ns/iter (+/- 46,044) = 1181 MB/s
test sherlock::name_alt3 ... bench: 912,340 ns/iter (+/- 79,787) = 652 MB/s
test sherlock::name_alt3_nocase ... bench: 1,515,048 ns/iter (+/- 74,623) = 392 MB/s
test sherlock::name_alt4 ... bench: 580,652 ns/iter (+/- 60,407) = 1024 MB/s
test sherlock::name_alt4_nocase ... bench: 826,866 ns/iter (+/- 58,485) = 719 MB/s
test sherlock::name_alt5 ... bench: 651,281 ns/iter (+/- 64,134) = 913 MB/s
test sherlock::name_alt5_nocase ... bench: 808,974 ns/iter (+/- 49,119) = 735 MB/s
test sherlock::name_holmes ... bench: 120,010 ns/iter (+/- 9,458) = 4957 MB/s
test sherlock::name_holmes_nocase ... bench: 441,316 ns/iter (+/- 56,990) = 1348 MB/s
test sherlock::name_sherlock ... bench: 39,935 ns/iter (+/- 4,078) = 14897 MB/s
test sherlock::name_sherlock_holmes ... bench: 49,126 ns/iter (+/- 3,082) = 12110 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 366,865 ns/iter (+/- 18,520) = 1621 MB/s
test sherlock::name_sherlock_nocase ... bench: 349,337 ns/iter (+/- 18,365) = 1703 MB/s
test sherlock::name_whitespace ... bench: 57,076 ns/iter (+/- 6,314) = 10423 MB/s
test sherlock::no_match_common ... bench: 291,022 ns/iter (+/- 30,143) = 2044 MB/s
test sherlock::no_match_really_common ... bench: 286,214 ns/iter (+/- 15,722) = 2078 MB/s
test sherlock::no_match_uncommon ... bench: 13,963 ns/iter (+/- 759) = 42607 MB/s
test sherlock::quotes ... bench: 5,580,378 ns/iter (+/- 295,941) = 106 MB/s
test sherlock::repeated_class_negation ... bench: 52,797,981 ns/iter (+/- 2,731,805) = 11 MB/s
test sherlock::the_lower ... bench: 1,295,105 ns/iter (+/- 62,365) = 459 MB/s
test sherlock::the_nocase ... bench: 1,620,713 ns/iter (+/- 73,503) = 367 MB/s
test sherlock::the_upper ... bench: 112,911 ns/iter (+/- 5,843) = 5269 MB/s
test sherlock::the_whitespace ... bench: 2,441,986 ns/iter (+/- 133,012) = 243 MB/s
test sherlock::word_ending_n ... bench: 26,478,327 ns/iter (+/- 1,361,757) = 22 MB/s
test sherlock::words ... bench: 23,948,872 ns/iter (+/- 2,323,993) = 24 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 95 measured; 0 filtered out

View file

@ -0,0 +1,99 @@
running 94 tests
test misc::anchored_literal_long_match ... bench: 189 ns/iter (+/- 23) = 2063 MB/s
test misc::anchored_literal_long_non_match ... bench: 128 ns/iter (+/- 14) = 3046 MB/s
test misc::anchored_literal_short_match ... bench: 191 ns/iter (+/- 20) = 136 MB/s
test misc::anchored_literal_short_non_match ... bench: 120 ns/iter (+/- 13) = 216 MB/s
test misc::easy0_1K ... bench: 536 ns/iter (+/- 49) = 1960 MB/s
test misc::easy0_1MB ... bench: 24,516 ns/iter (+/- 2,181) = 42772 MB/s
test misc::easy0_32 ... bench: 551 ns/iter (+/- 36) = 107 MB/s
test misc::easy0_32K ... bench: 961 ns/iter (+/- 105) = 34125 MB/s
test misc::easy1_1K ... bench: 518 ns/iter (+/- 59) = 2015 MB/s
test misc::easy1_1MB ... bench: 25,352 ns/iter (+/- 2,847) = 41361 MB/s
test misc::easy1_32 ... bench: 501 ns/iter (+/- 42) = 103 MB/s
test misc::easy1_32K ... bench: 919 ns/iter (+/- 69) = 35677 MB/s
test misc::hard_1K ... bench: 16,146 ns/iter (+/- 1,124) = 65 MB/s
test misc::hard_1MB ... bench: 16,482,695 ns/iter (+/- 805,077) = 63 MB/s
test misc::hard_32 ... bench: 1,807 ns/iter (+/- 173) = 32 MB/s
test misc::hard_32K ... bench: 516,772 ns/iter (+/- 33,884) = 63 MB/s
test misc::literal ... bench: 77 ns/iter (+/- 9) = 662 MB/s
test misc::long_needle1 ... bench: 56,900 ns/iter (+/- 3,087) = 1757 MB/s
test misc::long_needle2 ... bench: 57,364 ns/iter (+/- 4,166) = 1743 MB/s
test misc::match_class ... bench: 156 ns/iter (+/- 21) = 519 MB/s
test misc::match_class_in_range ... bench: 121 ns/iter (+/- 12) = 669 MB/s
test misc::match_class_unicode ... bench: 1,515 ns/iter (+/- 207) = 106 MB/s
test misc::medium_1K ... bench: 1,186 ns/iter (+/- 120) = 887 MB/s
test misc::medium_1MB ... bench: 559,677 ns/iter (+/- 59,284) = 1873 MB/s
test misc::medium_32 ... bench: 657 ns/iter (+/- 86) = 91 MB/s
test misc::medium_32K ... bench: 18,142 ns/iter (+/- 915) = 1807 MB/s
test misc::not_literal ... bench: 1,319 ns/iter (+/- 128) = 38 MB/s
test misc::one_pass_long_prefix ... bench: 509 ns/iter (+/- 56) = 51 MB/s
test misc::one_pass_long_prefix_not ... bench: 517 ns/iter (+/- 38) = 50 MB/s
test misc::one_pass_short ... bench: 783 ns/iter (+/- 83) = 21 MB/s
test misc::one_pass_short_not ... bench: 1,239 ns/iter (+/- 98) = 13 MB/s
test misc::reallyhard2_1K ... bench: 40,580 ns/iter (+/- 3,041) = 25 MB/s
test misc::reallyhard_1K ... bench: 15,162 ns/iter (+/- 652) = 69 MB/s
test misc::reallyhard_1MB ... bench: 16,065,920 ns/iter (+/- 886,245) = 65 MB/s
test misc::reallyhard_32 ... bench: 1,829 ns/iter (+/- 90) = 32 MB/s
test misc::reallyhard_32K ... bench: 520,572 ns/iter (+/- 88,290) = 62 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,423 ns/iter (+/- 493) = 1808 MB/s
test regexdna::find_new_lines ... bench: 14,658,357 ns/iter (+/- 1,784,941) = 346 MB/s
test regexdna::subst1 ... bench: 2,984,959 ns/iter (+/- 422,186) = 1703 MB/s
test regexdna::subst10 ... bench: 2,836,747 ns/iter (+/- 274,300) = 1791 MB/s
test regexdna::subst11 ... bench: 2,809,880 ns/iter (+/- 309,516) = 1809 MB/s
test regexdna::subst2 ... bench: 2,868,765 ns/iter (+/- 435,511) = 1771 MB/s
test regexdna::subst3 ... bench: 2,837,000 ns/iter (+/- 319,135) = 1791 MB/s
test regexdna::subst4 ... bench: 2,856,540 ns/iter (+/- 320,458) = 1779 MB/s
test regexdna::subst5 ... bench: 2,820,953 ns/iter (+/- 340,996) = 1802 MB/s
test regexdna::subst6 ... bench: 3,588,607 ns/iter (+/- 462,158) = 1416 MB/s
test regexdna::subst7 ... bench: 2,896,235 ns/iter (+/- 165,525) = 1755 MB/s
test regexdna::subst8 ... bench: 2,982,961 ns/iter (+/- 315,768) = 1704 MB/s
test regexdna::subst9 ... bench: 3,024,311 ns/iter (+/- 300,274) = 1680 MB/s
test regexdna::variant1 ... bench: 5,234,342 ns/iter (+/- 269,577) = 971 MB/s
test regexdna::variant2 ... bench: 6,463,683 ns/iter (+/- 532,663) = 786 MB/s
test regexdna::variant3 ... bench: 10,720,523 ns/iter (+/- 414,684) = 474 MB/s
test regexdna::variant4 ... bench: 9,882,647 ns/iter (+/- 297,904) = 514 MB/s
test regexdna::variant5 ... bench: 9,664,151 ns/iter (+/- 659,587) = 526 MB/s
test regexdna::variant6 ... bench: 7,174,368 ns/iter (+/- 322,025) = 708 MB/s
test regexdna::variant7 ... bench: 7,605,668 ns/iter (+/- 411,605) = 668 MB/s
test regexdna::variant8 ... bench: 9,580,481 ns/iter (+/- 373,332) = 530 MB/s
test regexdna::variant9 ... bench: 18,270,186 ns/iter (+/- 986,510) = 278 MB/s
test sherlock::before_after_holmes ... bench: 21,982,853 ns/iter (+/- 1,032,853) = 27 MB/s
test sherlock::before_holmes ... bench: 21,947,949 ns/iter (+/- 848,014) = 27 MB/s
test sherlock::holmes_cochar_watson ... bench: 909,691 ns/iter (+/- 48,847) = 653 MB/s
test sherlock::holmes_coword_watson ... bench: 124,771,191 ns/iter (+/- 8,084,768) = 4 MB/s
test sherlock::ing_suffix ... bench: 17,864,129 ns/iter (+/- 1,343,114) = 33 MB/s
test sherlock::ing_suffix_limited_space ... bench: 21,009,249 ns/iter (+/- 452,676) = 28 MB/s
test sherlock::letters ... bench: 37,888,421 ns/iter (+/- 2,482,541) = 15 MB/s
test sherlock::letters_lower ... bench: 37,029,883 ns/iter (+/- 481,280) = 16 MB/s
test sherlock::letters_upper ... bench: 1,627,107 ns/iter (+/- 51,063) = 365 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 370,850 ns/iter (+/- 15,384) = 1604 MB/s
test sherlock::name_alt1 ... bench: 371,780 ns/iter (+/- 28,486) = 1600 MB/s
test sherlock::name_alt2 ... bench: 506,859 ns/iter (+/- 17,553) = 1173 MB/s
test sherlock::name_alt3 ... bench: 915,729 ns/iter (+/- 99,429) = 649 MB/s
test sherlock::name_alt3_nocase ... bench: 1,512,050 ns/iter (+/- 186,130) = 393 MB/s
test sherlock::name_alt4 ... bench: 578,710 ns/iter (+/- 18,089) = 1028 MB/s
test sherlock::name_alt4_nocase ... bench: 752,912 ns/iter (+/- 51,342) = 790 MB/s
test sherlock::name_alt5 ... bench: 595,803 ns/iter (+/- 15,053) = 998 MB/s
test sherlock::name_alt5_nocase ... bench: 730,149 ns/iter (+/- 40,662) = 814 MB/s
test sherlock::name_holmes ... bench: 115,596 ns/iter (+/- 4,597) = 5146 MB/s
test sherlock::name_holmes_nocase ... bench: 429,765 ns/iter (+/- 16,685) = 1384 MB/s
test sherlock::name_sherlock ... bench: 38,985 ns/iter (+/- 2,195) = 15260 MB/s
test sherlock::name_sherlock_holmes ... bench: 49,610 ns/iter (+/- 2,005) = 11992 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 374,335 ns/iter (+/- 37,062) = 1589 MB/s
test sherlock::name_sherlock_nocase ... bench: 355,559 ns/iter (+/- 40,873) = 1673 MB/s
test sherlock::name_whitespace ... bench: 57,616 ns/iter (+/- 5,124) = 10325 MB/s
test sherlock::no_match_common ... bench: 284,228 ns/iter (+/- 29,087) = 2093 MB/s
test sherlock::no_match_really_common ... bench: 287,263 ns/iter (+/- 22,755) = 2071 MB/s
test sherlock::no_match_uncommon ... bench: 14,030 ns/iter (+/- 526) = 42404 MB/s
test sherlock::quotes ... bench: 5,563,019 ns/iter (+/- 537,611) = 106 MB/s
test sherlock::repeated_class_negation ... bench: 54,831,275 ns/iter (+/- 5,982,214) = 10 MB/s
test sherlock::the_lower ... bench: 1,298,205 ns/iter (+/- 73,265) = 458 MB/s
test sherlock::the_nocase ... bench: 1,572,579 ns/iter (+/- 63,536) = 378 MB/s
test sherlock::the_upper ... bench: 112,795 ns/iter (+/- 4,179) = 5274 MB/s
test sherlock::the_whitespace ... bench: 2,630,026 ns/iter (+/- 227,760) = 226 MB/s
test sherlock::word_ending_n ... bench: 26,975,356 ns/iter (+/- 2,531,982) = 22 MB/s
test sherlock::words ... bench: 23,116,326 ns/iter (+/- 458,721) = 25 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 94 measured; 0 filtered out

View file

@ -0,0 +1,98 @@
running 93 tests
test misc::anchored_literal_long_match ... bench: 32 ns/iter (+/- 38) = 12187 MB/s
test misc::anchored_literal_long_non_match ... bench: 23 ns/iter (+/- 1) = 16956 MB/s
test misc::anchored_literal_short_match ... bench: 30 ns/iter (+/- 1) = 866 MB/s
test misc::anchored_literal_short_non_match ... bench: 23 ns/iter (+/- 0) = 1130 MB/s
test misc::easy0_1K ... bench: 261 ns/iter (+/- 21) = 4026 MB/s
test misc::easy0_1MB ... bench: 202,218 ns/iter (+/- 16,050) = 5185 MB/s
test misc::easy0_32 ... bench: 49 ns/iter (+/- 3) = 1204 MB/s
test misc::easy0_32K ... bench: 6,305 ns/iter (+/- 448) = 5201 MB/s
test misc::easy1_1K ... bench: 245 ns/iter (+/- 5) = 4261 MB/s
test misc::easy1_1MB ... bench: 198,215 ns/iter (+/- 10,461) = 5290 MB/s
test misc::easy1_32 ... bench: 49 ns/iter (+/- 1) = 1061 MB/s
test misc::easy1_32K ... bench: 6,309 ns/iter (+/- 358) = 5197 MB/s
test misc::hard_1K ... bench: 1,306 ns/iter (+/- 50) = 804 MB/s
test misc::hard_1MB ... bench: 1,219,034 ns/iter (+/- 92,693) = 860 MB/s
test misc::hard_32 ... bench: 95 ns/iter (+/- 7) = 621 MB/s
test misc::hard_32K ... bench: 37,713 ns/iter (+/- 948) = 869 MB/s
test misc::literal ... bench: 29 ns/iter (+/- 1) = 1758 MB/s
test misc::long_needle1 ... bench: 548,012 ns/iter (+/- 26,029) = 182 MB/s
test misc::long_needle2 ... bench: 538,536 ns/iter (+/- 54,612) = 185 MB/s
test misc::match_class ... bench: 94 ns/iter (+/- 3) = 861 MB/s
test misc::match_class_in_range ... bench: 29 ns/iter (+/- 1) = 2793 MB/s
test misc::match_class_unicode ... bench: 370 ns/iter (+/- 19) = 435 MB/s
test misc::medium_1K ... bench: 256 ns/iter (+/- 13) = 4109 MB/s
test misc::medium_1MB ... bench: 207,655 ns/iter (+/- 9,168) = 5049 MB/s
test misc::medium_32 ... bench: 51 ns/iter (+/- 5) = 1176 MB/s
test misc::medium_32K ... bench: 6,144 ns/iter (+/- 327) = 5337 MB/s
test misc::not_literal ... bench: 166 ns/iter (+/- 14) = 307 MB/s
test misc::one_pass_long_prefix ... bench: 27 ns/iter (+/- 2) = 962 MB/s
test misc::one_pass_long_prefix_not ... bench: 29 ns/iter (+/- 1) = 896 MB/s
test misc::one_pass_short ... bench: 55 ns/iter (+/- 2) = 309 MB/s
test misc::one_pass_short_not ... bench: 55 ns/iter (+/- 3) = 309 MB/s
test misc::reallyhard2_1K ... bench: 4,404 ns/iter (+/- 346) = 236 MB/s
test misc::reallyhard_1K ... bench: 1,365 ns/iter (+/- 52) = 769 MB/s
test misc::reallyhard_1MB ... bench: 1,118,777 ns/iter (+/- 72,209) = 937 MB/s
test misc::reallyhard_32 ... bench: 112 ns/iter (+/- 4) = 526 MB/s
test misc::reallyhard_32K ... bench: 41,164 ns/iter (+/- 2,351) = 796 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,413 ns/iter (+/- 304) = 1812 MB/s
test regexdna::find_new_lines ... bench: 2,802,109 ns/iter (+/- 129,768) = 1814 MB/s
test regexdna::subst1 ... bench: 1,263,401 ns/iter (+/- 54,374) = 4023 MB/s
test regexdna::subst10 ... bench: 1,254,544 ns/iter (+/- 101,656) = 4051 MB/s
test regexdna::subst11 ... bench: 1,408,321 ns/iter (+/- 121,522) = 3609 MB/s
test regexdna::subst2 ... bench: 1,364,704 ns/iter (+/- 106,508) = 3724 MB/s
test regexdna::subst3 ... bench: 1,258,687 ns/iter (+/- 84,504) = 4038 MB/s
test regexdna::subst4 ... bench: 1,301,822 ns/iter (+/- 62,866) = 3904 MB/s
test regexdna::subst5 ... bench: 1,338,338 ns/iter (+/- 313,996) = 3798 MB/s
test regexdna::subst6 ... bench: 1,349,310 ns/iter (+/- 117,181) = 3767 MB/s
test regexdna::subst7 ... bench: 1,390,090 ns/iter (+/- 210,430) = 3656 MB/s
test regexdna::subst8 ... bench: 1,293,481 ns/iter (+/- 38,532) = 3930 MB/s
test regexdna::subst9 ... bench: 1,245,652 ns/iter (+/- 58,026) = 4080 MB/s
test regexdna::variant1 ... bench: 15,239,324 ns/iter (+/- 414,621) = 333 MB/s
test regexdna::variant2 ... bench: 16,489,922 ns/iter (+/- 825,229) = 308 MB/s
test regexdna::variant3 ... bench: 19,945,871 ns/iter (+/- 665,046) = 254 MB/s
test regexdna::variant4 ... bench: 18,604,011 ns/iter (+/- 712,670) = 273 MB/s
test regexdna::variant5 ... bench: 17,084,919 ns/iter (+/- 1,379,879) = 297 MB/s
test regexdna::variant6 ... bench: 16,918,130 ns/iter (+/- 975,620) = 300 MB/s
test regexdna::variant7 ... bench: 19,114,194 ns/iter (+/- 857,330) = 265 MB/s
test regexdna::variant8 ... bench: 23,831,138 ns/iter (+/- 878,576) = 213 MB/s
test regexdna::variant9 ... bench: 21,835,777 ns/iter (+/- 1,339,143) = 232 MB/s
test sherlock::before_after_holmes ... bench: 4,401,834 ns/iter (+/- 218,696) = 135 MB/s
test sherlock::before_holmes ... bench: 4,436,717 ns/iter (+/- 109,324) = 134 MB/s
test sherlock::holmes_cochar_watson ... bench: 497,667 ns/iter (+/- 19,212) = 1195 MB/s
test sherlock::ing_suffix ... bench: 1,852,390 ns/iter (+/- 77,888) = 321 MB/s
test sherlock::ing_suffix_limited_space ... bench: 4,775,078 ns/iter (+/- 152,556) = 124 MB/s
test sherlock::letters ... bench: 13,888,750 ns/iter (+/- 668,831) = 42 MB/s
test sherlock::letters_lower ... bench: 13,452,405 ns/iter (+/- 453,184) = 44 MB/s
test sherlock::letters_upper ... bench: 1,870,502 ns/iter (+/- 57,825) = 318 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 198,649 ns/iter (+/- 9,080) = 2994 MB/s
test sherlock::name_alt1 ... bench: 464,513 ns/iter (+/- 29,935) = 1280 MB/s
test sherlock::name_alt2 ... bench: 470,746 ns/iter (+/- 12,931) = 1263 MB/s
test sherlock::name_alt3 ... bench: 874,352 ns/iter (+/- 38,618) = 680 MB/s
test sherlock::name_alt3_nocase ... bench: 2,821,106 ns/iter (+/- 113,055) = 210 MB/s
test sherlock::name_alt4 ... bench: 78,753 ns/iter (+/- 3,111) = 7554 MB/s
test sherlock::name_alt4_nocase ... bench: 1,596,406 ns/iter (+/- 62,919) = 372 MB/s
test sherlock::name_alt5 ... bench: 655,870 ns/iter (+/- 32,597) = 907 MB/s
test sherlock::name_alt5_nocase ... bench: 1,732,595 ns/iter (+/- 75,827) = 343 MB/s
test sherlock::name_holmes ... bench: 400,037 ns/iter (+/- 16,935) = 1487 MB/s
test sherlock::name_holmes_nocase ... bench: 501,467 ns/iter (+/- 20,805) = 1186 MB/s
test sherlock::name_sherlock ... bench: 267,873 ns/iter (+/- 10,199) = 2220 MB/s
test sherlock::name_sherlock_holmes ... bench: 202,107 ns/iter (+/- 10,314) = 2943 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,070,780 ns/iter (+/- 43,144) = 555 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,074,139 ns/iter (+/- 48,270) = 553 MB/s
test sherlock::name_whitespace ... bench: 271,978 ns/iter (+/- 10,137) = 2187 MB/s
test sherlock::no_match_common ... bench: 411,484 ns/iter (+/- 13,213) = 1445 MB/s
test sherlock::no_match_really_common ... bench: 403,709 ns/iter (+/- 12,415) = 1473 MB/s
test sherlock::no_match_uncommon ... bench: 27,730 ns/iter (+/- 928) = 21454 MB/s
test sherlock::quotes ... bench: 515,141 ns/iter (+/- 17,799) = 1154 MB/s
test sherlock::repeated_class_negation ... bench: 5,842,243 ns/iter (+/- 282,478) = 101 MB/s
test sherlock::the_lower ... bench: 725,059 ns/iter (+/- 36,233) = 820 MB/s
test sherlock::the_nocase ... bench: 812,888 ns/iter (+/- 34,200) = 731 MB/s
test sherlock::the_upper ... bench: 56,746 ns/iter (+/- 2,186) = 10484 MB/s
test sherlock::the_whitespace ... bench: 920,705 ns/iter (+/- 37,325) = 646 MB/s
test sherlock::word_ending_n ... bench: 5,625,614 ns/iter (+/- 199,408) = 105 MB/s
test sherlock::words ... bench: 7,122,561 ns/iter (+/- 161,013) = 83 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 93 measured; 0 filtered out

View file

@ -0,0 +1,98 @@
running 93 tests
test misc::anchored_literal_long_match ... bench: 16 ns/iter (+/- 0) = 24375 MB/s
test misc::anchored_literal_long_non_match ... bench: 13 ns/iter (+/- 1) = 30000 MB/s
test misc::anchored_literal_short_match ... bench: 16 ns/iter (+/- 1) = 1625 MB/s
test misc::anchored_literal_short_non_match ... bench: 13 ns/iter (+/- 1) = 2000 MB/s
test misc::easy0_1K ... bench: 104 ns/iter (+/- 5) = 10105 MB/s
test misc::easy0_1MB ... bench: 64,102 ns/iter (+/- 4,103) = 16358 MB/s
test misc::easy0_32 ... bench: 32 ns/iter (+/- 4) = 1843 MB/s
test misc::easy0_32K ... bench: 2,042 ns/iter (+/- 152) = 16060 MB/s
test misc::easy1_1K ... bench: 102 ns/iter (+/- 11) = 10235 MB/s
test misc::easy1_1MB ... bench: 63,117 ns/iter (+/- 4,547) = 16613 MB/s
test misc::easy1_32 ... bench: 33 ns/iter (+/- 4) = 1575 MB/s
test misc::easy1_32K ... bench: 2,019 ns/iter (+/- 181) = 16239 MB/s
test misc::hard_1K ... bench: 1,236 ns/iter (+/- 82) = 850 MB/s
test misc::hard_1MB ... bench: 1,041,354 ns/iter (+/- 39,123) = 1006 MB/s
test misc::hard_32 ... bench: 86 ns/iter (+/- 8) = 686 MB/s
test misc::hard_32K ... bench: 33,054 ns/iter (+/- 1,813) = 992 MB/s
test misc::literal ... bench: 20 ns/iter (+/- 2) = 2550 MB/s
test misc::long_needle1 ... bench: 501,732 ns/iter (+/- 52,173) = 199 MB/s
test misc::long_needle2 ... bench: 515,127 ns/iter (+/- 48,790) = 194 MB/s
test misc::match_class ... bench: 55 ns/iter (+/- 7) = 1472 MB/s
test misc::match_class_in_range ... bench: 19 ns/iter (+/- 2) = 4263 MB/s
test misc::match_class_unicode ... bench: 342 ns/iter (+/- 60) = 470 MB/s
test misc::medium_1K ... bench: 106 ns/iter (+/- 4) = 9924 MB/s
test misc::medium_1MB ... bench: 63,011 ns/iter (+/- 4,942) = 16641 MB/s
test misc::medium_32 ... bench: 32 ns/iter (+/- 3) = 1875 MB/s
test misc::medium_32K ... bench: 2,068 ns/iter (+/- 189) = 15858 MB/s
test misc::not_literal ... bench: 147 ns/iter (+/- 13) = 346 MB/s
test misc::one_pass_long_prefix ... bench: 15 ns/iter (+/- 1) = 1733 MB/s
test misc::one_pass_long_prefix_not ... bench: 15 ns/iter (+/- 1) = 1733 MB/s
test misc::one_pass_short ... bench: 42 ns/iter (+/- 3) = 404 MB/s
test misc::one_pass_short_not ... bench: 43 ns/iter (+/- 5) = 395 MB/s
test misc::reallyhard2_1K ... bench: 4,356 ns/iter (+/- 499) = 238 MB/s
test misc::reallyhard_1K ... bench: 1,196 ns/iter (+/- 113) = 878 MB/s
test misc::reallyhard_1MB ... bench: 1,070,155 ns/iter (+/- 90,895) = 979 MB/s
test misc::reallyhard_32 ... bench: 93 ns/iter (+/- 12) = 634 MB/s
test misc::reallyhard_32K ... bench: 33,521 ns/iter (+/- 2,663) = 978 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 3,065 ns/iter (+/- 393) = 2610 MB/s
test regexdna::find_new_lines ... bench: 1,891,736 ns/iter (+/- 232,990) = 2687 MB/s
test regexdna::subst1 ... bench: 920,853 ns/iter (+/- 75,276) = 5520 MB/s
test regexdna::subst10 ... bench: 892,533 ns/iter (+/- 77,177) = 5695 MB/s
test regexdna::subst11 ... bench: 869,335 ns/iter (+/- 75,754) = 5847 MB/s
test regexdna::subst2 ... bench: 901,876 ns/iter (+/- 75,287) = 5636 MB/s
test regexdna::subst3 ... bench: 870,185 ns/iter (+/- 53,535) = 5841 MB/s
test regexdna::subst4 ... bench: 859,924 ns/iter (+/- 63,888) = 5911 MB/s
test regexdna::subst5 ... bench: 886,748 ns/iter (+/- 87,929) = 5732 MB/s
test regexdna::subst6 ... bench: 870,428 ns/iter (+/- 47,015) = 5840 MB/s
test regexdna::subst7 ... bench: 865,513 ns/iter (+/- 41,507) = 5873 MB/s
test regexdna::subst8 ... bench: 870,030 ns/iter (+/- 110,449) = 5842 MB/s
test regexdna::subst9 ... bench: 875,649 ns/iter (+/- 32,905) = 5805 MB/s
test regexdna::variant1 ... bench: 9,234,989 ns/iter (+/- 127,076) = 550 MB/s
test regexdna::variant2 ... bench: 11,759,628 ns/iter (+/- 575,788) = 432 MB/s
test regexdna::variant3 ... bench: 11,229,965 ns/iter (+/- 522,759) = 452 MB/s
test regexdna::variant4 ... bench: 10,040,716 ns/iter (+/- 309,357) = 506 MB/s
test regexdna::variant5 ... bench: 10,052,052 ns/iter (+/- 522,338) = 505 MB/s
test regexdna::variant6 ... bench: 10,719,366 ns/iter (+/- 577,988) = 474 MB/s
test regexdna::variant7 ... bench: 11,076,094 ns/iter (+/- 1,291,237) = 458 MB/s
test regexdna::variant8 ... bench: 11,855,290 ns/iter (+/- 667,429) = 428 MB/s
test regexdna::variant9 ... bench: 12,531,240 ns/iter (+/- 606,198) = 405 MB/s
test sherlock::before_after_holmes ... bench: 4,169,656 ns/iter (+/- 222,900) = 142 MB/s
test sherlock::before_holmes ... bench: 4,144,394 ns/iter (+/- 170,133) = 143 MB/s
test sherlock::holmes_cochar_watson ... bench: 74,437 ns/iter (+/- 4,266) = 7992 MB/s
test sherlock::ing_suffix ... bench: 1,731,507 ns/iter (+/- 162,892) = 343 MB/s
test sherlock::ing_suffix_limited_space ... bench: 4,418,194 ns/iter (+/- 240,220) = 134 MB/s
test sherlock::letters ... bench: 8,847,041 ns/iter (+/- 392,402) = 67 MB/s
test sherlock::letters_lower ... bench: 8,547,432 ns/iter (+/- 304,256) = 69 MB/s
test sherlock::letters_upper ... bench: 1,584,248 ns/iter (+/- 51,331) = 375 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 38,057 ns/iter (+/- 1,666) = 15632 MB/s
test sherlock::name_alt1 ... bench: 50,415 ns/iter (+/- 3,173) = 11800 MB/s
test sherlock::name_alt2 ... bench: 66,062 ns/iter (+/- 2,807) = 9005 MB/s
test sherlock::name_alt3 ... bench: 720,097 ns/iter (+/- 32,351) = 826 MB/s
test sherlock::name_alt3_nocase ... bench: 2,591,049 ns/iter (+/- 86,537) = 229 MB/s
test sherlock::name_alt4 ... bench: 65,860 ns/iter (+/- 2,780) = 9033 MB/s
test sherlock::name_alt4_nocase ... bench: 1,204,839 ns/iter (+/- 41,087) = 493 MB/s
test sherlock::name_alt5 ... bench: 615,483 ns/iter (+/- 24,177) = 966 MB/s
test sherlock::name_alt5_nocase ... bench: 1,467,461 ns/iter (+/- 71,032) = 405 MB/s
test sherlock::name_holmes ... bench: 48,997 ns/iter (+/- 2,471) = 12142 MB/s
test sherlock::name_holmes_nocase ... bench: 88,549 ns/iter (+/- 4,814) = 6718 MB/s
test sherlock::name_sherlock ... bench: 38,309 ns/iter (+/- 1,354) = 15529 MB/s
test sherlock::name_sherlock_holmes ... bench: 39,062 ns/iter (+/- 4,253) = 15230 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 713,355 ns/iter (+/- 77,990) = 833 MB/s
test sherlock::name_sherlock_nocase ... bench: 719,747 ns/iter (+/- 85,736) = 826 MB/s
test sherlock::name_whitespace ... bench: 39,161 ns/iter (+/- 3,678) = 15191 MB/s
test sherlock::no_match_common ... bench: 35,574 ns/iter (+/- 3,433) = 16723 MB/s
test sherlock::no_match_really_common ... bench: 56,847 ns/iter (+/- 7,068) = 10465 MB/s
test sherlock::no_match_uncommon ... bench: 36,185 ns/iter (+/- 4,938) = 16441 MB/s
test sherlock::quotes ... bench: 454,135 ns/iter (+/- 18,816) = 1310 MB/s
test sherlock::repeated_class_negation ... bench: 5,724,068 ns/iter (+/- 342,211) = 103 MB/s
test sherlock::the_lower ... bench: 256,190 ns/iter (+/- 25,452) = 2322 MB/s
test sherlock::the_nocase ... bench: 284,080 ns/iter (+/- 17,165) = 2094 MB/s
test sherlock::the_upper ... bench: 56,120 ns/iter (+/- 2,826) = 10601 MB/s
test sherlock::the_whitespace ... bench: 456,734 ns/iter (+/- 23,405) = 1302 MB/s
test sherlock::word_ending_n ... bench: 5,079,288 ns/iter (+/- 214,895) = 117 MB/s
test sherlock::words ... bench: 5,200,092 ns/iter (+/- 250,085) = 114 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 93 measured; 0 filtered out

View file

@ -0,0 +1,101 @@
running 96 tests
test misc::anchored_literal_long_match ... bench: 73 ns/iter (+/- 8) = 5342 MB/s
test misc::anchored_literal_long_non_match ... bench: 16 ns/iter (+/- 1) = 24375 MB/s
test misc::anchored_literal_short_match ... bench: 73 ns/iter (+/- 9) = 356 MB/s
test misc::anchored_literal_short_non_match ... bench: 16 ns/iter (+/- 1) = 1625 MB/s
test misc::easy0_1K ... bench: 119 ns/iter (+/- 11) = 8831 MB/s
test misc::easy0_1MB ... bench: 25,312 ns/iter (+/- 875) = 41427 MB/s
test misc::easy0_32 ... bench: 112 ns/iter (+/- 5) = 526 MB/s
test misc::easy0_32K ... bench: 534 ns/iter (+/- 43) = 61413 MB/s
test misc::easy1_1K ... bench: 109 ns/iter (+/- 9) = 9577 MB/s
test misc::easy1_1MB ... bench: 23,892 ns/iter (+/- 715) = 43889 MB/s
test misc::easy1_32 ... bench: 102 ns/iter (+/- 8) = 509 MB/s
test misc::easy1_32K ... bench: 519 ns/iter (+/- 54) = 63175 MB/s
test misc::hard_1K ... bench: 1,859 ns/iter (+/- 202) = 565 MB/s
test misc::hard_1MB ... bench: 1,871,446 ns/iter (+/- 99,961) = 560 MB/s
test misc::hard_32 ... bench: 162 ns/iter (+/- 20) = 364 MB/s
test misc::hard_32K ... bench: 57,459 ns/iter (+/- 4,672) = 570 MB/s
test misc::literal ... bench: 70 ns/iter (+/- 8) = 728 MB/s
test misc::long_needle1 ... bench: 130,995 ns/iter (+/- 4,935) = 763 MB/s
test misc::long_needle2 ... bench: 129,668 ns/iter (+/- 8,852) = 771 MB/s
test misc::match_class ... bench: 195 ns/iter (+/- 16) = 415 MB/s
test misc::match_class_in_range ... bench: 194 ns/iter (+/- 22) = 417 MB/s
test misc::match_class_unicode ... bench: 630 ns/iter (+/- 61) = 255 MB/s
test misc::medium_1K ... bench: 1,699 ns/iter (+/- 147) = 619 MB/s
test misc::medium_1MB ... bench: 1,633,131 ns/iter (+/- 65,889) = 642 MB/s
test misc::medium_32 ... bench: 169 ns/iter (+/- 18) = 355 MB/s
test misc::medium_32K ... bench: 51,313 ns/iter (+/- 1,855) = 639 MB/s
test misc::no_exponential ... bench: 216 ns/iter (+/- 13) = 462 MB/s
test misc::not_literal ... bench: 140 ns/iter (+/- 6) = 364 MB/s
test misc::one_pass_long_prefix ... bench: 71 ns/iter (+/- 2) = 366 MB/s
test misc::one_pass_long_prefix_not ... bench: 109 ns/iter (+/- 9) = 238 MB/s
test misc::one_pass_short ... bench: 99 ns/iter (+/- 7) = 171 MB/s
test misc::one_pass_short_not ... bench: 96 ns/iter (+/- 5) = 177 MB/s
test misc::reallyhard2_1K ... bench: 1,405 ns/iter (+/- 134) = 740 MB/s
test misc::reallyhard_1K ... bench: 1,875 ns/iter (+/- 168) = 560 MB/s
test misc::reallyhard_1MB ... bench: 1,853,207 ns/iter (+/- 103,218) = 565 MB/s
test misc::reallyhard_32 ... bench: 157 ns/iter (+/- 11) = 375 MB/s
test misc::reallyhard_32K ... bench: 57,880 ns/iter (+/- 5,319) = 566 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 12,686 ns/iter (+/- 536) = 630 MB/s
test regexdna::find_new_lines ... bench: 28,761,913 ns/iter (+/- 1,447,326) = 176 MB/s
test regexdna::subst1 ... bench: 4,629,782 ns/iter (+/- 142,214) = 1097 MB/s
test regexdna::subst10 ... bench: 4,692,819 ns/iter (+/- 156,805) = 1083 MB/s
test regexdna::subst11 ... bench: 4,652,438 ns/iter (+/- 206,457) = 1092 MB/s
test regexdna::subst2 ... bench: 4,682,943 ns/iter (+/- 176,335) = 1085 MB/s
test regexdna::subst3 ... bench: 4,646,162 ns/iter (+/- 241,873) = 1094 MB/s
test regexdna::subst4 ... bench: 4,653,380 ns/iter (+/- 188,899) = 1092 MB/s
test regexdna::subst5 ... bench: 4,770,480 ns/iter (+/- 238,930) = 1065 MB/s
test regexdna::subst6 ... bench: 4,671,427 ns/iter (+/- 286,241) = 1088 MB/s
test regexdna::subst7 ... bench: 4,658,214 ns/iter (+/- 210,723) = 1091 MB/s
test regexdna::subst8 ... bench: 4,909,600 ns/iter (+/- 417,894) = 1035 MB/s
test regexdna::subst9 ... bench: 4,910,285 ns/iter (+/- 587,024) = 1035 MB/s
test regexdna::variant1 ... bench: 20,895,772 ns/iter (+/- 2,313,771) = 243 MB/s
test regexdna::variant2 ... bench: 20,465,984 ns/iter (+/- 1,913,613) = 248 MB/s
test regexdna::variant3 ... bench: 19,469,527 ns/iter (+/- 1,367,226) = 261 MB/s
test regexdna::variant4 ... bench: 21,662,238 ns/iter (+/- 1,489,235) = 234 MB/s
test regexdna::variant5 ... bench: 21,808,098 ns/iter (+/- 2,294,522) = 233 MB/s
test regexdna::variant6 ... bench: 21,208,952 ns/iter (+/- 986,848) = 239 MB/s
test regexdna::variant7 ... bench: 20,289,473 ns/iter (+/- 595,084) = 250 MB/s
test regexdna::variant8 ... bench: 17,765,356 ns/iter (+/- 503,529) = 286 MB/s
test regexdna::variant9 ... bench: 13,222,010 ns/iter (+/- 509,278) = 384 MB/s
test sherlock::before_after_holmes ... bench: 1,313,676 ns/iter (+/- 52,992) = 452 MB/s
test sherlock::before_holmes ... bench: 1,337,432 ns/iter (+/- 37,054) = 444 MB/s
test sherlock::everything_greedy ... bench: 6,080,272 ns/iter (+/- 110,011) = 97 MB/s
test sherlock::everything_greedy_nl ... bench: 2,395,932 ns/iter (+/- 123,521) = 248 MB/s
test sherlock::holmes_cochar_watson ... bench: 1,052,245 ns/iter (+/- 33,929) = 565 MB/s
test sherlock::holmes_coword_watson ... bench: 1,063,007 ns/iter (+/- 34,462) = 559 MB/s
test sherlock::ing_suffix ... bench: 2,703,395 ns/iter (+/- 63,263) = 220 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,608,756 ns/iter (+/- 42,100) = 369 MB/s
test sherlock::letters ... bench: 68,220,129 ns/iter (+/- 3,602,216) = 8 MB/s
test sherlock::letters_lower ... bench: 67,390,101 ns/iter (+/- 6,032,867) = 8 MB/s
test sherlock::letters_upper ... bench: 3,708,482 ns/iter (+/- 235,128) = 160 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 2,816,517 ns/iter (+/- 99,081) = 211 MB/s
test sherlock::name_alt1 ... bench: 53,193 ns/iter (+/- 1,575) = 11184 MB/s
test sherlock::name_alt2 ... bench: 1,133,704 ns/iter (+/- 36,634) = 524 MB/s
test sherlock::name_alt3 ... bench: 1,227,785 ns/iter (+/- 31,742) = 484 MB/s
test sherlock::name_alt3_nocase ... bench: 2,451,285 ns/iter (+/- 103,766) = 242 MB/s
test sherlock::name_alt4 ... bench: 1,168,955 ns/iter (+/- 87,785) = 508 MB/s
test sherlock::name_alt4_nocase ... bench: 1,699,899 ns/iter (+/- 91,762) = 349 MB/s
test sherlock::name_alt5 ... bench: 1,167,232 ns/iter (+/- 51,695) = 509 MB/s
test sherlock::name_alt5_nocase ... bench: 1,805,463 ns/iter (+/- 74,631) = 329 MB/s
test sherlock::name_holmes ... bench: 108,195 ns/iter (+/- 3,815) = 5498 MB/s
test sherlock::name_holmes_nocase ... bench: 1,360,092 ns/iter (+/- 60,416) = 437 MB/s
test sherlock::name_sherlock ... bench: 40,376 ns/iter (+/- 5,104) = 14734 MB/s
test sherlock::name_sherlock_holmes ... bench: 41,361 ns/iter (+/- 2,553) = 14383 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,317,594 ns/iter (+/- 168,248) = 451 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,284,026 ns/iter (+/- 92,188) = 463 MB/s
test sherlock::name_whitespace ... bench: 44,973 ns/iter (+/- 5,888) = 13228 MB/s
test sherlock::no_match_common ... bench: 341,867 ns/iter (+/- 32,045) = 1740 MB/s
test sherlock::no_match_really_common ... bench: 331,760 ns/iter (+/- 43,608) = 1793 MB/s
test sherlock::no_match_uncommon ... bench: 14,285 ns/iter (+/- 760) = 41647 MB/s
test sherlock::quotes ... bench: 1,342,144 ns/iter (+/- 96,471) = 443 MB/s
test sherlock::the_lower ... bench: 1,722,919 ns/iter (+/- 83,873) = 345 MB/s
test sherlock::the_nocase ... bench: 2,866,258 ns/iter (+/- 117,349) = 207 MB/s
test sherlock::the_upper ... bench: 151,020 ns/iter (+/- 13,454) = 3939 MB/s
test sherlock::the_whitespace ... bench: 1,597,329 ns/iter (+/- 149,689) = 372 MB/s
test sherlock::word_ending_n ... bench: 2,193,027 ns/iter (+/- 136,408) = 271 MB/s
test sherlock::words ... bench: 20,721,148 ns/iter (+/- 1,968,912) = 28 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 96 measured; 0 filtered out

View file

@ -0,0 +1,113 @@
running 108 tests
test misc::anchored_literal_long_match ... bench: 22 ns/iter (+/- 2) = 17727 MB/s
test misc::anchored_literal_long_non_match ... bench: 27 ns/iter (+/- 2) = 14444 MB/s
test misc::anchored_literal_short_match ... bench: 22 ns/iter (+/- 1) = 1181 MB/s
test misc::anchored_literal_short_non_match ... bench: 26 ns/iter (+/- 2) = 1000 MB/s
test misc::easy0_1K ... bench: 16 ns/iter (+/- 1) = 65687 MB/s
test misc::easy0_1MB ... bench: 19 ns/iter (+/- 2) = 55189631 MB/s
test misc::easy0_32 ... bench: 15 ns/iter (+/- 1) = 3933 MB/s
test misc::easy0_32K ... bench: 16 ns/iter (+/- 0) = 2049687 MB/s
test misc::easy1_1K ... bench: 43 ns/iter (+/- 2) = 24279 MB/s
test misc::easy1_1MB ... bench: 45 ns/iter (+/- 4) = 23302133 MB/s
test misc::easy1_32 ... bench: 43 ns/iter (+/- 5) = 1209 MB/s
test misc::easy1_32K ... bench: 43 ns/iter (+/- 2) = 762511 MB/s
test misc::hard_1K ... bench: 53 ns/iter (+/- 6) = 19830 MB/s
test misc::hard_1MB ... bench: 57 ns/iter (+/- 1) = 18396543 MB/s
test misc::hard_32 ... bench: 53 ns/iter (+/- 4) = 1113 MB/s
test misc::hard_32K ... bench: 53 ns/iter (+/- 6) = 618773 MB/s
test misc::literal ... bench: 13 ns/iter (+/- 1) = 3923 MB/s
test misc::long_needle1 ... bench: 1,203 ns/iter (+/- 55) = 83126 MB/s
test misc::long_needle2 ... bench: 149,418 ns/iter (+/- 13,825) = 669 MB/s
test misc::match_class ... bench: 62 ns/iter (+/- 6) = 1306 MB/s
test misc::match_class_in_range ... bench: 23 ns/iter (+/- 2) = 3521 MB/s
test misc::match_class_unicode ... bench: 268 ns/iter (+/- 30) = 600 MB/s
test misc::medium_1K ... bench: 16 ns/iter (+/- 0) = 65750 MB/s
test misc::medium_1MB ... bench: 20 ns/iter (+/- 15) = 52430200 MB/s
test misc::medium_32 ... bench: 16 ns/iter (+/- 2) = 3750 MB/s
test misc::medium_32K ... bench: 16 ns/iter (+/- 1) = 2049750 MB/s
test misc::no_exponential ... bench: 353 ns/iter (+/- 26) = 283 MB/s
test misc::not_literal ... bench: 97 ns/iter (+/- 9) = 525 MB/s
test misc::one_pass_long_prefix ... bench: 58 ns/iter (+/- 5) = 448 MB/s
test misc::one_pass_long_prefix_not ... bench: 60 ns/iter (+/- 6) = 433 MB/s
test misc::one_pass_short ... bench: 43 ns/iter (+/- 4) = 395 MB/s
test misc::one_pass_short_not ... bench: 46 ns/iter (+/- 2) = 369 MB/s
test misc::reallyhard2_1K ... bench: 62 ns/iter (+/- 5) = 16774 MB/s
test misc::reallyhard_1K ... bench: 1,650 ns/iter (+/- 176) = 636 MB/s
test misc::reallyhard_1MB ... bench: 1,635,447 ns/iter (+/- 97,611) = 641 MB/s
test misc::reallyhard_32 ... bench: 109 ns/iter (+/- 9) = 541 MB/s
test misc::reallyhard_32K ... bench: 50,991 ns/iter (+/- 4,031) = 643 MB/s
test misc::replace_all ... bench: 155 ns/iter (+/- 8)
test misc::reverse_suffix_no_quadratic ... bench: 4,254 ns/iter (+/- 489) = 1880 MB/s
test misc::short_haystack_1000000x ... bench: 91,124 ns/iter (+/- 4,584) = 87792 MB/s
test misc::short_haystack_100000x ... bench: 10,681 ns/iter (+/- 420) = 74900 MB/s
test misc::short_haystack_10000x ... bench: 3,240 ns/iter (+/- 395) = 24694 MB/s
test misc::short_haystack_1000x ... bench: 403 ns/iter (+/- 48) = 19878 MB/s
test misc::short_haystack_100x ... bench: 303 ns/iter (+/- 27) = 2676 MB/s
test misc::short_haystack_10x ... bench: 272 ns/iter (+/- 27) = 334 MB/s
test misc::short_haystack_1x ... bench: 264 ns/iter (+/- 32) = 71 MB/s
test misc::short_haystack_2x ... bench: 269 ns/iter (+/- 25) = 100 MB/s
test misc::short_haystack_3x ... bench: 264 ns/iter (+/- 26) = 132 MB/s
test misc::short_haystack_4x ... bench: 271 ns/iter (+/- 28) = 158 MB/s
test regexdna::find_new_lines ... bench: 13,700,405 ns/iter (+/- 647,840) = 371 MB/s
test regexdna::subst1 ... bench: 806,342 ns/iter (+/- 48,014) = 6304 MB/s
test regexdna::subst10 ... bench: 794,403 ns/iter (+/- 40,393) = 6399 MB/s
test regexdna::subst11 ... bench: 801,963 ns/iter (+/- 46,164) = 6338 MB/s
test regexdna::subst2 ... bench: 779,768 ns/iter (+/- 81,505) = 6519 MB/s
test regexdna::subst3 ... bench: 777,024 ns/iter (+/- 52,795) = 6542 MB/s
test regexdna::subst4 ... bench: 769,862 ns/iter (+/- 48,980) = 6603 MB/s
test regexdna::subst5 ... bench: 779,754 ns/iter (+/- 39,784) = 6519 MB/s
test regexdna::subst6 ... bench: 769,400 ns/iter (+/- 69,980) = 6606 MB/s
test regexdna::subst7 ... bench: 771,457 ns/iter (+/- 40,490) = 6589 MB/s
test regexdna::subst8 ... bench: 808,468 ns/iter (+/- 53,093) = 6287 MB/s
test regexdna::subst9 ... bench: 771,869 ns/iter (+/- 50,966) = 6585 MB/s
test regexdna::variant1 ... bench: 3,093,422 ns/iter (+/- 222,818) = 1643 MB/s
test regexdna::variant2 ... bench: 6,520,178 ns/iter (+/- 400,704) = 779 MB/s
test regexdna::variant3 ... bench: 7,297,818 ns/iter (+/- 319,866) = 696 MB/s
test regexdna::variant4 ... bench: 7,356,045 ns/iter (+/- 530,375) = 691 MB/s
test regexdna::variant5 ... bench: 5,977,343 ns/iter (+/- 296,375) = 850 MB/s
test regexdna::variant6 ... bench: 6,045,776 ns/iter (+/- 270,954) = 840 MB/s
test regexdna::variant7 ... bench: 5,447,060 ns/iter (+/- 223,542) = 933 MB/s
test regexdna::variant8 ... bench: 5,615,676 ns/iter (+/- 419,756) = 905 MB/s
test regexdna::variant9 ... bench: 5,457,949 ns/iter (+/- 439,821) = 931 MB/s
test sherlock::before_after_holmes ... bench: 957,660 ns/iter (+/- 96,491) = 621 MB/s
test sherlock::before_holmes ... bench: 65,680 ns/iter (+/- 3,085) = 9058 MB/s
test sherlock::everything_greedy ... bench: 2,151,577 ns/iter (+/- 70,114) = 276 MB/s
test sherlock::everything_greedy_nl ... bench: 836,942 ns/iter (+/- 81,010) = 710 MB/s
test sherlock::holmes_cochar_watson ... bench: 137,441 ns/iter (+/- 14,157) = 4328 MB/s
test sherlock::holmes_coword_watson ... bench: 514,100 ns/iter (+/- 48,210) = 1157 MB/s
test sherlock::ing_suffix ... bench: 409,126 ns/iter (+/- 23,370) = 1454 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,117,457 ns/iter (+/- 53,545) = 532 MB/s
test sherlock::letters ... bench: 23,152,671 ns/iter (+/- 1,002,203) = 25 MB/s
test sherlock::letters_lower ... bench: 22,521,833 ns/iter (+/- 1,178,375) = 26 MB/s
test sherlock::letters_upper ... bench: 1,841,871 ns/iter (+/- 108,471) = 323 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 946,126 ns/iter (+/- 53,405) = 628 MB/s
test sherlock::name_alt1 ... bench: 25,830 ns/iter (+/- 1,054) = 23032 MB/s
test sherlock::name_alt2 ... bench: 116,879 ns/iter (+/- 6,000) = 5090 MB/s
test sherlock::name_alt3 ... bench: 125,746 ns/iter (+/- 7,121) = 4731 MB/s
test sherlock::name_alt3_nocase ... bench: 1,203,114 ns/iter (+/- 72,037) = 494 MB/s
test sherlock::name_alt4 ... bench: 156,208 ns/iter (+/- 5,188) = 3808 MB/s
test sherlock::name_alt4_nocase ... bench: 222,618 ns/iter (+/- 30,017) = 2672 MB/s
test sherlock::name_alt5 ... bench: 133,440 ns/iter (+/- 14,831) = 4458 MB/s
test sherlock::name_alt5_nocase ... bench: 558,482 ns/iter (+/- 22,435) = 1065 MB/s
test sherlock::name_holmes ... bench: 30,800 ns/iter (+/- 2,933) = 19316 MB/s
test sherlock::name_holmes_nocase ... bench: 190,736 ns/iter (+/- 24,310) = 3119 MB/s
test sherlock::name_sherlock ... bench: 56,238 ns/iter (+/- 3,310) = 10578 MB/s
test sherlock::name_sherlock_holmes ... bench: 24,129 ns/iter (+/- 2,662) = 24656 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 174,649 ns/iter (+/- 13,487) = 3406 MB/s
test sherlock::name_sherlock_nocase ... bench: 157,674 ns/iter (+/- 7,888) = 3773 MB/s
test sherlock::name_whitespace ... bench: 74,637 ns/iter (+/- 6,523) = 7971 MB/s
test sherlock::no_match_common ... bench: 15,140 ns/iter (+/- 969) = 39295 MB/s
test sherlock::no_match_really_common ... bench: 305,112 ns/iter (+/- 31,314) = 1949 MB/s
test sherlock::no_match_uncommon ... bench: 15,539 ns/iter (+/- 1,269) = 38286 MB/s
test sherlock::quotes ... bench: 482,180 ns/iter (+/- 33,736) = 1233 MB/s
test sherlock::repeated_class_negation ... bench: 78,428,426 ns/iter (+/- 6,705,217) = 7 MB/s
test sherlock::the_lower ... bench: 576,511 ns/iter (+/- 21,735) = 1031 MB/s
test sherlock::the_nocase ... bench: 413,565 ns/iter (+/- 42,941) = 1438 MB/s
test sherlock::the_upper ... bench: 34,491 ns/iter (+/- 1,901) = 17248 MB/s
test sherlock::the_whitespace ... bench: 1,061,365 ns/iter (+/- 66,639) = 560 MB/s
test sherlock::word_ending_n ... bench: 1,763,795 ns/iter (+/- 83,031) = 337 MB/s
test sherlock::words ... bench: 9,281,896 ns/iter (+/- 934,308) = 64 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 108 measured; 0 filtered out

View file

@ -0,0 +1,97 @@
running 92 tests
test misc::anchored_literal_long_match ... bench: 174 ns/iter (+/- 0) = 2241 MB/s
test misc::anchored_literal_long_non_match ... bench: 329 ns/iter (+/- 3) = 1185 MB/s
test misc::anchored_literal_short_match ... bench: 168 ns/iter (+/- 0) = 154 MB/s
test misc::anchored_literal_short_non_match ... bench: 121 ns/iter (+/- 0) = 214 MB/s
test misc::easy0_1K ... bench: 660 ns/iter (+/- 3) = 1592 MB/s
test misc::easy0_1MB ... bench: 514,707 ns/iter (+/- 2,689) = 2037 MB/s
test misc::easy0_32 ... bench: 170 ns/iter (+/- 2) = 347 MB/s
test misc::easy0_32K ... bench: 16,208 ns/iter (+/- 99) = 2023 MB/s
test misc::easy1_1K ... bench: 756 ns/iter (+/- 1) = 1380 MB/s
test misc::easy1_1MB ... bench: 514,816 ns/iter (+/- 2,832) = 2036 MB/s
test misc::easy1_32 ... bench: 271 ns/iter (+/- 3) = 191 MB/s
test misc::easy1_32K ... bench: 16,316 ns/iter (+/- 93) = 2009 MB/s
test misc::hard_1K ... bench: 63,089 ns/iter (+/- 594) = 16 MB/s
test misc::hard_1MB ... bench: 66,537,328 ns/iter (+/- 866,695) = 15 MB/s
test misc::hard_32 ... bench: 2,125 ns/iter (+/- 8) = 27 MB/s
test misc::hard_32K ... bench: 2,075,568 ns/iter (+/- 6,634) = 15 MB/s
test misc::literal ... bench: 143 ns/iter (+/- 1) = 356 MB/s
test misc::long_needle1 ... bench: 6,557,839 ns/iter (+/- 27,779) = 15 MB/s
test misc::long_needle2 ... bench: 6,557,332 ns/iter (+/- 101,494) = 15 MB/s
test misc::match_class ... bench: 157 ns/iter (+/- 0) = 515 MB/s
test misc::match_class_in_range ... bench: 157 ns/iter (+/- 4) = 515 MB/s
test misc::medium_1K ... bench: 665 ns/iter (+/- 2) = 1581 MB/s
test misc::medium_1MB ... bench: 514,869 ns/iter (+/- 5,832) = 2036 MB/s
test misc::medium_32 ... bench: 167 ns/iter (+/- 1) = 359 MB/s
test misc::medium_32K ... bench: 16,253 ns/iter (+/- 74) = 2017 MB/s
test misc::no_exponential ... bench: 1,717 ns/iter (+/- 13) = 58 MB/s
test misc::not_literal ... bench: 1,084 ns/iter (+/- 16) = 47 MB/s
test misc::one_pass_long_prefix ... bench: 169 ns/iter (+/- 2) = 153 MB/s
test misc::one_pass_long_prefix_not ... bench: 169 ns/iter (+/- 6) = 153 MB/s
test misc::one_pass_short ... bench: 1,105 ns/iter (+/- 2) = 15 MB/s
test misc::one_pass_short_not ... bench: 1,076 ns/iter (+/- 10) = 15 MB/s
test misc::reallyhard2_1K ... bench: 4,935 ns/iter (+/- 39) = 210 MB/s
test misc::reallyhard_1K ... bench: 63,076 ns/iter (+/- 226) = 16 MB/s
test misc::reallyhard_1MB ... bench: 68,534,102 ns/iter (+/- 125,043) = 15 MB/s
test misc::reallyhard_32 ... bench: 2,134 ns/iter (+/- 8) = 27 MB/s
test misc::reallyhard_32K ... bench: 2,074,582 ns/iter (+/- 5,943) = 15 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,001 ns/iter (+/- 5) = 1999 MB/s
test regexdna::find_new_lines ... bench: 12,942,765 ns/iter (+/- 21,828) = 392 MB/s
test regexdna::subst1 ... bench: 6,241,036 ns/iter (+/- 13,806) = 814 MB/s
test regexdna::subst10 ... bench: 6,247,896 ns/iter (+/- 28,406) = 813 MB/s
test regexdna::subst11 ... bench: 6,240,960 ns/iter (+/- 20,660) = 814 MB/s
test regexdna::subst2 ... bench: 6,245,156 ns/iter (+/- 17,639) = 813 MB/s
test regexdna::subst3 ... bench: 6,276,881 ns/iter (+/- 14,851) = 809 MB/s
test regexdna::subst4 ... bench: 6,249,549 ns/iter (+/- 30,600) = 813 MB/s
test regexdna::subst5 ... bench: 6,251,942 ns/iter (+/- 33,889) = 813 MB/s
test regexdna::subst6 ... bench: 6,244,011 ns/iter (+/- 11,642) = 814 MB/s
test regexdna::subst7 ... bench: 6,283,445 ns/iter (+/- 11,693) = 809 MB/s
test regexdna::subst8 ... bench: 6,247,310 ns/iter (+/- 11,590) = 813 MB/s
test regexdna::subst9 ... bench: 6,249,184 ns/iter (+/- 8,159) = 813 MB/s
test regexdna::variant1 ... bench: 73,947,890 ns/iter (+/- 930,039) = 68 MB/s
test regexdna::variant2 ... bench: 108,486,922 ns/iter (+/- 181,287) = 46 MB/s
test regexdna::variant3 ... bench: 93,241,161 ns/iter (+/- 143,224) = 54 MB/s
test regexdna::variant4 ... bench: 75,615,061 ns/iter (+/- 107,918) = 67 MB/s
test regexdna::variant5 ... bench: 74,484,623 ns/iter (+/- 121,807) = 68 MB/s
test regexdna::variant6 ... bench: 74,594,078 ns/iter (+/- 121,252) = 68 MB/s
test regexdna::variant7 ... bench: 77,064,066 ns/iter (+/- 123,262) = 65 MB/s
test regexdna::variant8 ... bench: 87,267,656 ns/iter (+/- 128,639) = 58 MB/s
test regexdna::variant9 ... bench: 98,197,000 ns/iter (+/- 149,379) = 51 MB/s
test sherlock::before_after_holmes ... bench: 7,100,744 ns/iter (+/- 29,939) = 83 MB/s
test sherlock::before_holmes ... bench: 7,120,564 ns/iter (+/- 32,659) = 83 MB/s
test sherlock::everything_greedy ... bench: 3,777,458 ns/iter (+/- 8,802) = 157 MB/s
test sherlock::everything_greedy_nl ... bench: 282 ns/iter (+/- 2) = 2109691 MB/s
test sherlock::holmes_cochar_watson ... bench: 389,335 ns/iter (+/- 1,472) = 1528 MB/s
test sherlock::ing_suffix ... bench: 6,256,416 ns/iter (+/- 8,735) = 95 MB/s
test sherlock::ing_suffix_limited_space ... bench: 7,572,167 ns/iter (+/- 15,521) = 78 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 343,402 ns/iter (+/- 3,693) = 1732 MB/s
test sherlock::name_alt1 ... bench: 347,605 ns/iter (+/- 916) = 1711 MB/s
test sherlock::name_alt2 ... bench: 420,500 ns/iter (+/- 2,846) = 1414 MB/s
test sherlock::name_alt3 ... bench: 762,684 ns/iter (+/- 3,834) = 780 MB/s
test sherlock::name_alt3_nocase ... bench: 9,980,804 ns/iter (+/- 49,424) = 59 MB/s
test sherlock::name_alt4 ... bench: 431,744 ns/iter (+/- 682) = 1377 MB/s
test sherlock::name_alt4_nocase ... bench: 3,464,135 ns/iter (+/- 11,476) = 171 MB/s
test sherlock::name_alt5 ... bench: 472,923 ns/iter (+/- 846) = 1257 MB/s
test sherlock::name_alt5_nocase ... bench: 4,338,924 ns/iter (+/- 31,118) = 137 MB/s
test sherlock::name_holmes ... bench: 378,950 ns/iter (+/- 865) = 1569 MB/s
test sherlock::name_holmes_nocase ... bench: 1,952,035 ns/iter (+/- 8,233) = 304 MB/s
test sherlock::name_sherlock ... bench: 324,845 ns/iter (+/- 8,376) = 1831 MB/s
test sherlock::name_sherlock_holmes ... bench: 324,647 ns/iter (+/- 2,901) = 1832 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,870,400 ns/iter (+/- 10,609) = 318 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,814,172 ns/iter (+/- 16,455) = 327 MB/s
test sherlock::name_whitespace ... bench: 326,252 ns/iter (+/- 1,557) = 1823 MB/s
test sherlock::no_match_common ... bench: 1,154,445 ns/iter (+/- 8,544) = 515 MB/s
test sherlock::no_match_really_common ... bench: 1,154,314 ns/iter (+/- 5,467) = 515 MB/s
test sherlock::no_match_uncommon ... bench: 295,301 ns/iter (+/- 906) = 2014 MB/s
test sherlock::quotes ... bench: 863,138 ns/iter (+/- 3,072) = 689 MB/s
test sherlock::repeated_class_negation ... bench: 13,594,294 ns/iter (+/- 40,354) = 43 MB/s
test sherlock::the_lower ... bench: 2,171,731 ns/iter (+/- 7,148) = 273 MB/s
test sherlock::the_nocase ... bench: 3,556,278 ns/iter (+/- 7,269) = 167 MB/s
test sherlock::the_upper ... bench: 404,851 ns/iter (+/- 865) = 1469 MB/s
test sherlock::the_whitespace ... bench: 2,139,597 ns/iter (+/- 7,427) = 278 MB/s
test sherlock::word_ending_n ... bench: 7,824,965 ns/iter (+/- 30,691) = 76 MB/s
test sherlock::words ... bench: 18,386,285 ns/iter (+/- 34,161) = 32 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 92 measured; 0 filtered out

View file

@ -0,0 +1,100 @@
running 95 tests
test misc::anchored_literal_long_match ... bench: 365 ns/iter (+/- 2) = 1068 MB/s
test misc::anchored_literal_long_non_match ... bench: 300 ns/iter (+/- 0) = 1300 MB/s
test misc::anchored_literal_short_match ... bench: 364 ns/iter (+/- 2) = 71 MB/s
test misc::anchored_literal_short_non_match ... bench: 306 ns/iter (+/- 9) = 84 MB/s
test misc::easy0_1K ... bench: 768 ns/iter (+/- 5) = 1368 MB/s
test misc::easy0_1MB ... bench: 17,062 ns/iter (+/- 252) = 61458 MB/s
test misc::easy0_32 ... bench: 759 ns/iter (+/- 7) = 77 MB/s
test misc::easy0_32K ... bench: 1,095 ns/iter (+/- 20) = 29949 MB/s
test misc::easy1_1K ... bench: 723 ns/iter (+/- 1) = 1443 MB/s
test misc::easy1_1MB ... bench: 17,021 ns/iter (+/- 229) = 61606 MB/s
test misc::easy1_32 ... bench: 714 ns/iter (+/- 1) = 72 MB/s
test misc::easy1_32K ... bench: 1,052 ns/iter (+/- 12) = 31167 MB/s
test misc::hard_1K ... bench: 17,044 ns/iter (+/- 176) = 61 MB/s
test misc::hard_1MB ... bench: 17,965,420 ns/iter (+/- 72,226) = 58 MB/s
test misc::hard_32 ... bench: 2,171 ns/iter (+/- 2) = 27 MB/s
test misc::hard_32K ... bench: 561,207 ns/iter (+/- 5,654) = 58 MB/s
test misc::literal ... bench: 240 ns/iter (+/- 0) = 212 MB/s
test misc::long_needle1 ... bench: 76,640 ns/iter (+/- 1,043) = 1304 MB/s
test misc::long_needle2 ... bench: 76,747 ns/iter (+/- 3,299) = 1302 MB/s
test misc::match_class ... bench: 344 ns/iter (+/- 1) = 235 MB/s
test misc::match_class_in_range ... bench: 306 ns/iter (+/- 9) = 264 MB/s
test misc::match_class_unicode ... bench: 1,435 ns/iter (+/- 9) = 112 MB/s
test misc::medium_1K ... bench: 1,480 ns/iter (+/- 16) = 710 MB/s
test misc::medium_1MB ... bench: 564,378 ns/iter (+/- 18,695) = 1857 MB/s
test misc::medium_32 ... bench: 941 ns/iter (+/- 32) = 63 MB/s
test misc::medium_32K ... bench: 18,465 ns/iter (+/- 116) = 1776 MB/s
test misc::no_exponential ... bench: 367,476 ns/iter (+/- 15,176)
test misc::not_literal ... bench: 1,165 ns/iter (+/- 9) = 43 MB/s
test misc::one_pass_long_prefix ... bench: 596 ns/iter (+/- 2) = 43 MB/s
test misc::one_pass_long_prefix_not ... bench: 602 ns/iter (+/- 6) = 43 MB/s
test misc::one_pass_short ... bench: 1,068 ns/iter (+/- 3) = 15 MB/s
test misc::one_pass_short_not ... bench: 1,434 ns/iter (+/- 11) = 11 MB/s
test misc::reallyhard2_1K ... bench: 36,539 ns/iter (+/- 281) = 28 MB/s
test misc::reallyhard_1K ... bench: 17,086 ns/iter (+/- 94) = 61 MB/s
test misc::reallyhard_1MB ... bench: 17,973,007 ns/iter (+/- 64,010) = 58 MB/s
test misc::reallyhard_32 ... bench: 2,200 ns/iter (+/- 16) = 26 MB/s
test misc::reallyhard_32K ... bench: 561,371 ns/iter (+/- 8,688) = 58 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,606 ns/iter (+/- 16) = 1736 MB/s
test regexdna::find_new_lines ... bench: 31,579,756 ns/iter (+/- 121,047) = 160 MB/s
test regexdna::subst1 ... bench: 7,930,333 ns/iter (+/- 27,118) = 641 MB/s
test regexdna::subst10 ... bench: 7,942,534 ns/iter (+/- 36,470) = 640 MB/s
test regexdna::subst11 ... bench: 7,934,646 ns/iter (+/- 42,013) = 640 MB/s
test regexdna::subst2 ... bench: 7,947,802 ns/iter (+/- 53,427) = 639 MB/s
test regexdna::subst3 ... bench: 7,941,691 ns/iter (+/- 122,303) = 640 MB/s
test regexdna::subst4 ... bench: 7,928,228 ns/iter (+/- 30,493) = 641 MB/s
test regexdna::subst5 ... bench: 7,936,901 ns/iter (+/- 37,894) = 640 MB/s
test regexdna::subst6 ... bench: 7,936,211 ns/iter (+/- 46,269) = 640 MB/s
test regexdna::subst7 ... bench: 7,946,477 ns/iter (+/- 62,660) = 639 MB/s
test regexdna::subst8 ... bench: 7,930,830 ns/iter (+/- 31,234) = 640 MB/s
test regexdna::subst9 ... bench: 7,937,951 ns/iter (+/- 36,425) = 640 MB/s
test regexdna::variant1 ... bench: 5,104,224 ns/iter (+/- 26,612) = 995 MB/s
test regexdna::variant2 ... bench: 6,847,162 ns/iter (+/- 31,233) = 742 MB/s
test regexdna::variant3 ... bench: 11,153,739 ns/iter (+/- 114,193) = 455 MB/s
test regexdna::variant4 ... bench: 9,665,797 ns/iter (+/- 47,148) = 525 MB/s
test regexdna::variant5 ... bench: 9,645,193 ns/iter (+/- 35,250) = 527 MB/s
test regexdna::variant6 ... bench: 7,280,069 ns/iter (+/- 21,171) = 698 MB/s
test regexdna::variant7 ... bench: 7,841,177 ns/iter (+/- 20,797) = 648 MB/s
test regexdna::variant8 ... bench: 9,783,978 ns/iter (+/- 35,231) = 519 MB/s
test regexdna::variant9 ... bench: 19,157,329 ns/iter (+/- 445,911) = 265 MB/s
test sherlock::before_after_holmes ... bench: 20,995,307 ns/iter (+/- 258,419) = 28 MB/s
test sherlock::before_holmes ... bench: 20,899,416 ns/iter (+/- 122,256) = 28 MB/s
test sherlock::holmes_cochar_watson ... bench: 904,439 ns/iter (+/- 6,934) = 657 MB/s
test sherlock::holmes_coword_watson ... bench: 103,706,930 ns/iter (+/- 176,711) = 5 MB/s
test sherlock::ing_suffix ... bench: 14,927,612 ns/iter (+/- 90,346) = 39 MB/s
test sherlock::ing_suffix_limited_space ... bench: 19,743,662 ns/iter (+/- 78,506) = 30 MB/s
test sherlock::letters ... bench: 112,708,213 ns/iter (+/- 251,690) = 5 MB/s
test sherlock::letters_lower ... bench: 111,058,829 ns/iter (+/- 192,793) = 5 MB/s
test sherlock::letters_upper ... bench: 4,072,062 ns/iter (+/- 20,273) = 146 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 399,796 ns/iter (+/- 4,222) = 1488 MB/s
test sherlock::name_alt1 ... bench: 411,415 ns/iter (+/- 2,257) = 1446 MB/s
test sherlock::name_alt2 ... bench: 626,671 ns/iter (+/- 5,745) = 949 MB/s
test sherlock::name_alt3 ... bench: 1,086,570 ns/iter (+/- 6,105) = 547 MB/s
test sherlock::name_alt3_nocase ... bench: 1,827,028 ns/iter (+/- 12,788) = 325 MB/s
test sherlock::name_alt4 ... bench: 687,454 ns/iter (+/- 11,421) = 865 MB/s
test sherlock::name_alt4_nocase ... bench: 943,925 ns/iter (+/- 4,108) = 630 MB/s
test sherlock::name_alt5 ... bench: 734,969 ns/iter (+/- 7,215) = 809 MB/s
test sherlock::name_alt5_nocase ... bench: 895,903 ns/iter (+/- 5,647) = 664 MB/s
test sherlock::name_holmes ... bench: 199,880 ns/iter (+/- 1,654) = 2976 MB/s
test sherlock::name_holmes_nocase ... bench: 529,590 ns/iter (+/- 1,288) = 1123 MB/s
test sherlock::name_sherlock ... bench: 57,720 ns/iter (+/- 555) = 10307 MB/s
test sherlock::name_sherlock_holmes ... bench: 67,596 ns/iter (+/- 580) = 8801 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 393,903 ns/iter (+/- 2,700) = 1510 MB/s
test sherlock::name_sherlock_nocase ... bench: 373,411 ns/iter (+/- 3,264) = 1593 MB/s
test sherlock::name_whitespace ... bench: 79,175 ns/iter (+/- 1,288) = 7514 MB/s
test sherlock::no_match_common ... bench: 276,503 ns/iter (+/- 2,155) = 2151 MB/s
test sherlock::no_match_really_common ... bench: 276,535 ns/iter (+/- 416) = 2151 MB/s
test sherlock::no_match_uncommon ... bench: 10,535 ns/iter (+/- 105) = 56472 MB/s
test sherlock::quotes ... bench: 5,746,202 ns/iter (+/- 33,993) = 103 MB/s
test sherlock::repeated_class_negation ... bench: 46,124,528 ns/iter (+/- 125,861) = 12 MB/s
test sherlock::the_lower ... bench: 2,527,960 ns/iter (+/- 12,351) = 235 MB/s
test sherlock::the_nocase ... bench: 3,210,112 ns/iter (+/- 10,799) = 185 MB/s
test sherlock::the_upper ... bench: 240,272 ns/iter (+/- 3,902) = 2476 MB/s
test sherlock::the_whitespace ... bench: 3,511,711 ns/iter (+/- 17,181) = 169 MB/s
test sherlock::word_ending_n ... bench: 29,535,089 ns/iter (+/- 95,201) = 20 MB/s
test sherlock::words ... bench: 43,341,782 ns/iter (+/- 110,038) = 13 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 95 measured; 0 filtered out

View file

@ -0,0 +1,98 @@
running 93 tests
test misc::anchored_literal_long_match ... bench: 354 ns/iter (+/- 25) = 1101 MB/s
test misc::anchored_literal_long_non_match ... bench: 314 ns/iter (+/- 3) = 1242 MB/s
test misc::anchored_literal_short_match ... bench: 331 ns/iter (+/- 0) = 78 MB/s
test misc::anchored_literal_short_non_match ... bench: 314 ns/iter (+/- 4) = 82 MB/s
test misc::easy0_1K ... bench: 430 ns/iter (+/- 2) = 2444 MB/s
test misc::easy0_1MB ... bench: 16,692 ns/iter (+/- 222) = 62820 MB/s
test misc::easy0_32 ... bench: 420 ns/iter (+/- 4) = 140 MB/s
test misc::easy0_32K ... bench: 755 ns/iter (+/- 5) = 43437 MB/s
test misc::easy1_1K ... bench: 407 ns/iter (+/- 10) = 2565 MB/s
test misc::easy1_1MB ... bench: 16,670 ns/iter (+/- 205) = 62903 MB/s
test misc::easy1_32 ... bench: 389 ns/iter (+/- 0) = 133 MB/s
test misc::easy1_32K ... bench: 732 ns/iter (+/- 6) = 44792 MB/s
test misc::hard_1K ... bench: 35,518 ns/iter (+/- 346) = 29 MB/s
test misc::hard_1MB ... bench: 31,657,473 ns/iter (+/- 512,618) = 33 MB/s
test misc::hard_32 ... bench: 1,057 ns/iter (+/- 7) = 55 MB/s
test misc::hard_32K ... bench: 950,905 ns/iter (+/- 13,239) = 34 MB/s
test misc::literal ... bench: 320 ns/iter (+/- 3) = 159 MB/s
test misc::long_needle1 ... bench: 73,954 ns/iter (+/- 331) = 1352 MB/s
test misc::long_needle2 ... bench: 73,915 ns/iter (+/- 199) = 1352 MB/s
test misc::match_class ... bench: 374 ns/iter (+/- 3) = 216 MB/s
test misc::match_class_in_range ... bench: 372 ns/iter (+/- 0) = 217 MB/s
test misc::match_class_unicode ... bench: 1,631 ns/iter (+/- 8) = 98 MB/s
test misc::medium_1K ... bench: 965 ns/iter (+/- 10) = 1090 MB/s
test misc::medium_1MB ... bench: 563,242 ns/iter (+/- 6,767) = 1861 MB/s
test misc::medium_32 ... bench: 434 ns/iter (+/- 3) = 138 MB/s
test misc::medium_32K ... bench: 17,976 ns/iter (+/- 137) = 1824 MB/s
test misc::not_literal ... bench: 1,063 ns/iter (+/- 2) = 47 MB/s
test misc::one_pass_long_prefix ... bench: 405 ns/iter (+/- 4) = 64 MB/s
test misc::one_pass_long_prefix_not ... bench: 410 ns/iter (+/- 2) = 63 MB/s
test misc::one_pass_short ... bench: 539 ns/iter (+/- 12) = 31 MB/s
test misc::one_pass_short_not ... bench: 534 ns/iter (+/- 1) = 31 MB/s
test misc::reallyhard2_1K ... bench: 75,108 ns/iter (+/- 699) = 13 MB/s
test misc::reallyhard_1K ... bench: 34,681 ns/iter (+/- 268) = 30 MB/s
test misc::reallyhard_1MB ... bench: 30,579,065 ns/iter (+/- 389,443) = 34 MB/s
test misc::reallyhard_32 ... bench: 1,025 ns/iter (+/- 22) = 57 MB/s
test misc::reallyhard_32K ... bench: 920,515 ns/iter (+/- 26,281) = 35 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,607 ns/iter (+/- 36) = 1736 MB/s
test regexdna::find_new_lines ... bench: 34,122,227 ns/iter (+/- 842,345) = 148 MB/s
test regexdna::subst1 ... bench: 9,932,271 ns/iter (+/- 86,915) = 511 MB/s
test regexdna::subst10 ... bench: 9,977,738 ns/iter (+/- 51,656) = 509 MB/s
test regexdna::subst11 ... bench: 9,945,085 ns/iter (+/- 53,175) = 511 MB/s
test regexdna::subst2 ... bench: 9,928,284 ns/iter (+/- 32,335) = 512 MB/s
test regexdna::subst3 ... bench: 9,968,901 ns/iter (+/- 41,254) = 509 MB/s
test regexdna::subst4 ... bench: 9,912,463 ns/iter (+/- 28,171) = 512 MB/s
test regexdna::subst5 ... bench: 9,948,128 ns/iter (+/- 22,949) = 510 MB/s
test regexdna::subst6 ... bench: 9,916,200 ns/iter (+/- 28,947) = 512 MB/s
test regexdna::subst7 ... bench: 9,996,277 ns/iter (+/- 37,585) = 508 MB/s
test regexdna::subst8 ... bench: 9,974,849 ns/iter (+/- 41,503) = 509 MB/s
test regexdna::subst9 ... bench: 9,961,948 ns/iter (+/- 28,254) = 510 MB/s
test regexdna::variant1 ... bench: 3,504,049 ns/iter (+/- 15,090) = 1450 MB/s
test regexdna::variant2 ... bench: 3,800,264 ns/iter (+/- 12,123) = 1337 MB/s
test regexdna::variant3 ... bench: 4,932,027 ns/iter (+/- 15,553) = 1030 MB/s
test regexdna::variant4 ... bench: 4,709,109 ns/iter (+/- 15,213) = 1079 MB/s
test regexdna::variant5 ... bench: 4,918,928 ns/iter (+/- 19,196) = 1033 MB/s
test regexdna::variant6 ... bench: 4,244,250 ns/iter (+/- 24,367) = 1197 MB/s
test regexdna::variant7 ... bench: 4,245,530 ns/iter (+/- 16,178) = 1197 MB/s
test regexdna::variant8 ... bench: 4,205,036 ns/iter (+/- 10,733) = 1208 MB/s
test regexdna::variant9 ... bench: 3,864,771 ns/iter (+/- 11,864) = 1315 MB/s
test sherlock::before_after_holmes ... bench: 22,490,817 ns/iter (+/- 571,510) = 26 MB/s
test sherlock::before_holmes ... bench: 22,603,264 ns/iter (+/- 74,703) = 26 MB/s
test sherlock::holmes_cochar_watson ... bench: 519,710 ns/iter (+/- 5,878) = 1144 MB/s
test sherlock::ing_suffix ... bench: 9,237,783 ns/iter (+/- 30,188) = 64 MB/s
test sherlock::ing_suffix_limited_space ... bench: 12,074,301 ns/iter (+/- 30,860) = 49 MB/s
test sherlock::letters ... bench: 137,678,575 ns/iter (+/- 131,761) = 4 MB/s
test sherlock::letters_lower ... bench: 135,414,657 ns/iter (+/- 134,307) = 4 MB/s
test sherlock::letters_upper ... bench: 5,004,996 ns/iter (+/- 23,224) = 118 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 341,556 ns/iter (+/- 1,500) = 1741 MB/s
test sherlock::name_alt1 ... bench: 378,291 ns/iter (+/- 1,545) = 1572 MB/s
test sherlock::name_alt2 ... bench: 528,403 ns/iter (+/- 2,273) = 1125 MB/s
test sherlock::name_alt3 ... bench: 685,634 ns/iter (+/- 17,205) = 867 MB/s
test sherlock::name_alt3_nocase ... bench: 825,069 ns/iter (+/- 10,490) = 721 MB/s
test sherlock::name_alt4 ... bench: 555,717 ns/iter (+/- 3,223) = 1070 MB/s
test sherlock::name_alt4_nocase ... bench: 649,913 ns/iter (+/- 4,543) = 915 MB/s
test sherlock::name_alt5 ... bench: 570,036 ns/iter (+/- 543) = 1043 MB/s
test sherlock::name_alt5_nocase ... bench: 580,445 ns/iter (+/- 2,100) = 1024 MB/s
test sherlock::name_holmes ... bench: 185,140 ns/iter (+/- 2,100) = 3213 MB/s
test sherlock::name_holmes_nocase ... bench: 479,902 ns/iter (+/- 5,898) = 1239 MB/s
test sherlock::name_sherlock ... bench: 51,053 ns/iter (+/- 491) = 11653 MB/s
test sherlock::name_sherlock_holmes ... bench: 50,722 ns/iter (+/- 296) = 11729 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 355,142 ns/iter (+/- 1,424) = 1675 MB/s
test sherlock::name_sherlock_nocase ... bench: 354,932 ns/iter (+/- 1,554) = 1676 MB/s
test sherlock::name_whitespace ... bench: 56,972 ns/iter (+/- 271) = 10442 MB/s
test sherlock::no_match_common ... bench: 274,260 ns/iter (+/- 3,092) = 2169 MB/s
test sherlock::no_match_really_common ... bench: 273,984 ns/iter (+/- 2,202) = 2171 MB/s
test sherlock::no_match_uncommon ... bench: 10,444 ns/iter (+/- 68) = 56964 MB/s
test sherlock::quotes ... bench: 2,755,414 ns/iter (+/- 11,488) = 215 MB/s
test sherlock::repeated_class_negation ... bench: 21,585,138 ns/iter (+/- 50,347) = 27 MB/s
test sherlock::the_lower ... bench: 2,835,360 ns/iter (+/- 10,083) = 209 MB/s
test sherlock::the_nocase ... bench: 3,060,088 ns/iter (+/- 10,321) = 194 MB/s
test sherlock::the_upper ... bench: 272,416 ns/iter (+/- 3,308) = 2183 MB/s
test sherlock::the_whitespace ... bench: 2,991,214 ns/iter (+/- 27,223) = 198 MB/s
test sherlock::word_ending_n ... bench: 30,726,303 ns/iter (+/- 83,743) = 19 MB/s
test sherlock::words ... bench: 42,256,710 ns/iter (+/- 88,302) = 14 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 93 measured; 0 filtered out

View file

@ -0,0 +1,99 @@
running 94 tests
test misc::anchored_literal_long_match ... bench: 129 ns/iter (+/- 3) = 3023 MB/s
test misc::anchored_literal_long_non_match ... bench: 402 ns/iter (+/- 1) = 970 MB/s
test misc::anchored_literal_short_match ... bench: 130 ns/iter (+/- 1) = 200 MB/s
test misc::anchored_literal_short_non_match ... bench: 49 ns/iter (+/- 0) = 530 MB/s
test misc::easy0_1K ... bench: 281 ns/iter (+/- 3) = 3740 MB/s
test misc::easy0_1MB ... bench: 119,847 ns/iter (+/- 713) = 8749 MB/s
test misc::easy0_32 ... bench: 154 ns/iter (+/- 4) = 383 MB/s
test misc::easy0_32K ... bench: 3,985 ns/iter (+/- 24) = 8229 MB/s
test misc::easy1_1K ... bench: 3,472 ns/iter (+/- 11) = 300 MB/s
test misc::easy1_1MB ... bench: 3,385,764 ns/iter (+/- 6,630) = 309 MB/s
test misc::easy1_32 ... bench: 283 ns/iter (+/- 6) = 183 MB/s
test misc::easy1_32K ... bench: 105,977 ns/iter (+/- 319) = 309 MB/s
test misc::hard_1K ... bench: 106,973 ns/iter (+/- 1,091) = 9 MB/s
test misc::hard_1MB ... bench: 114,602,847 ns/iter (+/- 336,051) = 9 MB/s
test misc::hard_32 ... bench: 3,569 ns/iter (+/- 3) = 16 MB/s
test misc::hard_32K ... bench: 3,570,108 ns/iter (+/- 17,057) = 9 MB/s
test misc::literal ... bench: 287 ns/iter (+/- 1) = 177 MB/s
test misc::long_needle1 ... bench: 5,430,190 ns/iter (+/- 271,737) = 18 MB/s
test misc::long_needle2 ... bench: 5,651,748 ns/iter (+/- 260,960) = 17 MB/s
test misc::match_class ... bench: 369 ns/iter (+/- 0) = 219 MB/s
test misc::match_class_in_range ... bench: 370 ns/iter (+/- 8) = 218 MB/s
test misc::match_class_unicode ... bench: 1,600 ns/iter (+/- 24) = 100 MB/s
test misc::medium_1K ... bench: 295 ns/iter (+/- 4) = 3566 MB/s
test misc::medium_1MB ... bench: 119,845 ns/iter (+/- 707) = 8749 MB/s
test misc::medium_32 ... bench: 166 ns/iter (+/- 0) = 361 MB/s
test misc::medium_32K ... bench: 3,995 ns/iter (+/- 30) = 8209 MB/s
test misc::not_literal ... bench: 365 ns/iter (+/- 1) = 139 MB/s
test misc::one_pass_long_prefix ... bench: 155 ns/iter (+/- 0) = 167 MB/s
test misc::one_pass_long_prefix_not ... bench: 162 ns/iter (+/- 0) = 160 MB/s
test misc::one_pass_short ... bench: 279 ns/iter (+/- 0) = 60 MB/s
test misc::one_pass_short_not ... bench: 269 ns/iter (+/- 3) = 63 MB/s
test misc::reallyhard2_1K ... bench: 227,630 ns/iter (+/- 963) = 4 MB/s
test misc::reallyhard_1K ... bench: 106,964 ns/iter (+/- 1,199) = 9 MB/s
test misc::reallyhard_1MB ... bench: 114,622,989 ns/iter (+/- 206,430) = 9 MB/s
test misc::reallyhard_32 ... bench: 3,477 ns/iter (+/- 13) = 16 MB/s
test misc::reallyhard_32K ... bench: 3,580,927 ns/iter (+/- 15,784) = 9 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 23,518 ns/iter (+/- 105) = 340 MB/s
test regexdna::find_new_lines ... bench: 33,300,039 ns/iter (+/- 827,837) = 152 MB/s
test regexdna::subst1 ... bench: 22,829,688 ns/iter (+/- 81,653) = 222 MB/s
test regexdna::subst10 ... bench: 22,843,694 ns/iter (+/- 94,299) = 222 MB/s
test regexdna::subst11 ... bench: 22,827,872 ns/iter (+/- 84,129) = 222 MB/s
test regexdna::subst2 ... bench: 22,841,925 ns/iter (+/- 84,394) = 222 MB/s
test regexdna::subst3 ... bench: 22,885,409 ns/iter (+/- 114,277) = 222 MB/s
test regexdna::subst4 ... bench: 22,837,475 ns/iter (+/- 58,938) = 222 MB/s
test regexdna::subst5 ... bench: 22,835,207 ns/iter (+/- 39,862) = 222 MB/s
test regexdna::subst6 ... bench: 22,833,199 ns/iter (+/- 77,142) = 222 MB/s
test regexdna::subst7 ... bench: 22,851,757 ns/iter (+/- 322,186) = 222 MB/s
test regexdna::subst8 ... bench: 22,842,892 ns/iter (+/- 86,166) = 222 MB/s
test regexdna::subst9 ... bench: 22,840,862 ns/iter (+/- 105,926) = 222 MB/s
test regexdna::variant1 ... bench: 91,691,325 ns/iter (+/- 194,247) = 55 MB/s
test regexdna::variant2 ... bench: 105,586,659 ns/iter (+/- 320,354) = 48 MB/s
test regexdna::variant3 ... bench: 94,437,485 ns/iter (+/- 277,744) = 53 MB/s
test regexdna::variant4 ... bench: 90,399,600 ns/iter (+/- 184,588) = 56 MB/s
test regexdna::variant5 ... bench: 90,332,232 ns/iter (+/- 174,254) = 56 MB/s
test regexdna::variant6 ... bench: 90,519,504 ns/iter (+/- 227,643) = 56 MB/s
test regexdna::variant7 ... bench: 90,881,562 ns/iter (+/- 221,861) = 55 MB/s
test regexdna::variant8 ... bench: 96,962,980 ns/iter (+/- 180,002) = 52 MB/s
test regexdna::variant9 ... bench: 109,558,711 ns/iter (+/- 166,337) = 46 MB/s
test sherlock::before_after_holmes ... bench: 31,530,493 ns/iter (+/- 112,639) = 18 MB/s
test sherlock::before_holmes ... bench: 30,420,729 ns/iter (+/- 114,072) = 19 MB/s
test sherlock::everything_greedy ... bench: 6,656,677 ns/iter (+/- 167,110) = 89 MB/s
test sherlock::holmes_cochar_watson ... bench: 1,992,839 ns/iter (+/- 8,037) = 298 MB/s
test sherlock::ing_suffix ... bench: 15,878,331 ns/iter (+/- 150,901) = 37 MB/s
test sherlock::ing_suffix_limited_space ... bench: 2,085,471 ns/iter (+/- 8,438) = 285 MB/s
test sherlock::letters ... bench: 89,091,241 ns/iter (+/- 182,225) = 6 MB/s
test sherlock::letters_lower ... bench: 55,634,237 ns/iter (+/- 115,097) = 10 MB/s
test sherlock::letters_upper ... bench: 10,126,641 ns/iter (+/- 36,015) = 58 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 191,963 ns/iter (+/- 687) = 3099 MB/s
test sherlock::name_alt1 ... bench: 1,983,070 ns/iter (+/- 5,863) = 300 MB/s
test sherlock::name_alt2 ... bench: 1,972,746 ns/iter (+/- 14,082) = 301 MB/s
test sherlock::name_alt3 ... bench: 2,424,033 ns/iter (+/- 13,209) = 245 MB/s
test sherlock::name_alt3_nocase ... bench: 16,876,942 ns/iter (+/- 77,218) = 35 MB/s
test sherlock::name_alt4 ... bench: 1,986,579 ns/iter (+/- 9,195) = 299 MB/s
test sherlock::name_alt4_nocase ... bench: 4,992,277 ns/iter (+/- 10,882) = 119 MB/s
test sherlock::name_alt5 ... bench: 2,033,937 ns/iter (+/- 13,627) = 292 MB/s
test sherlock::name_alt5_nocase ... bench: 6,292,627 ns/iter (+/- 14,666) = 94 MB/s
test sherlock::name_holmes ... bench: 450,290 ns/iter (+/- 1,882) = 1321 MB/s
test sherlock::name_holmes_nocase ... bench: 3,032,489 ns/iter (+/- 8,728) = 196 MB/s
test sherlock::name_sherlock ... bench: 265,379 ns/iter (+/- 865) = 2241 MB/s
test sherlock::name_sherlock_holmes ... bench: 201,375 ns/iter (+/- 2,146) = 2954 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 3,010,059 ns/iter (+/- 7,093) = 197 MB/s
test sherlock::name_sherlock_nocase ... bench: 3,016,713 ns/iter (+/- 11,280) = 197 MB/s
test sherlock::name_whitespace ... bench: 266,706 ns/iter (+/- 908) = 2230 MB/s
test sherlock::no_match_common ... bench: 544,428 ns/iter (+/- 7,562) = 1092 MB/s
test sherlock::no_match_really_common ... bench: 626,986 ns/iter (+/- 2,959) = 948 MB/s
test sherlock::no_match_uncommon ... bench: 534,517 ns/iter (+/- 4,342) = 1113 MB/s
test sherlock::quotes ... bench: 3,210,614 ns/iter (+/- 15,699) = 185 MB/s
test sherlock::repeated_class_negation ... bench: 31,147,103 ns/iter (+/- 117,471) = 19 MB/s
test sherlock::the_lower ... bench: 2,275,468 ns/iter (+/- 19,220) = 261 MB/s
test sherlock::the_nocase ... bench: 4,999,086 ns/iter (+/- 20,184) = 119 MB/s
test sherlock::the_upper ... bench: 893,288 ns/iter (+/- 11,368) = 666 MB/s
test sherlock::the_whitespace ... bench: 2,364,893 ns/iter (+/- 21,124) = 251 MB/s
test sherlock::word_ending_n ... bench: 18,221,921 ns/iter (+/- 62,927) = 32 MB/s
test sherlock::words ... bench: 27,552,543 ns/iter (+/- 89,437) = 21 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 94 measured; 0 filtered out

View file

@ -0,0 +1,98 @@
running 93 tests
test misc::anchored_literal_long_match ... bench: 23 ns/iter (+/- 0) = 16956 MB/s
test misc::anchored_literal_long_non_match ... bench: 19 ns/iter (+/- 0) = 20526 MB/s
test misc::anchored_literal_short_match ... bench: 23 ns/iter (+/- 0) = 1130 MB/s
test misc::anchored_literal_short_non_match ... bench: 19 ns/iter (+/- 0) = 1368 MB/s
test misc::easy0_1K ... bench: 223 ns/iter (+/- 2) = 4713 MB/s
test misc::easy0_1MB ... bench: 178,098 ns/iter (+/- 3,124) = 5887 MB/s
test misc::easy0_32 ... bench: 39 ns/iter (+/- 0) = 1512 MB/s
test misc::easy0_32K ... bench: 5,600 ns/iter (+/- 27) = 5856 MB/s
test misc::easy1_1K ... bench: 210 ns/iter (+/- 7) = 4971 MB/s
test misc::easy1_1MB ... bench: 178,177 ns/iter (+/- 1,024) = 5885 MB/s
test misc::easy1_32 ... bench: 40 ns/iter (+/- 0) = 1300 MB/s
test misc::easy1_32K ... bench: 5,592 ns/iter (+/- 52) = 5863 MB/s
test misc::hard_1K ... bench: 1,223 ns/iter (+/- 14) = 859 MB/s
test misc::hard_1MB ... bench: 983,169 ns/iter (+/- 13,398) = 1066 MB/s
test misc::hard_32 ... bench: 99 ns/iter (+/- 0) = 595 MB/s
test misc::hard_32K ... bench: 31,422 ns/iter (+/- 326) = 1043 MB/s
test misc::literal ... bench: 23 ns/iter (+/- 0) = 2217 MB/s
test misc::long_needle1 ... bench: 464,932 ns/iter (+/- 1,869) = 215 MB/s
test misc::long_needle2 ... bench: 462,587 ns/iter (+/- 6,375) = 216 MB/s
test misc::match_class ... bench: 73 ns/iter (+/- 0) = 1109 MB/s
test misc::match_class_in_range ... bench: 25 ns/iter (+/- 0) = 3240 MB/s
test misc::match_class_unicode ... bench: 263 ns/iter (+/- 2) = 612 MB/s
test misc::medium_1K ... bench: 213 ns/iter (+/- 3) = 4938 MB/s
test misc::medium_1MB ... bench: 178,077 ns/iter (+/- 1,844) = 5888 MB/s
test misc::medium_32 ... bench: 48 ns/iter (+/- 0) = 1250 MB/s
test misc::medium_32K ... bench: 5,598 ns/iter (+/- 38) = 5858 MB/s
test misc::not_literal ... bench: 131 ns/iter (+/- 0) = 389 MB/s
test misc::one_pass_long_prefix ... bench: 22 ns/iter (+/- 0) = 1181 MB/s
test misc::one_pass_long_prefix_not ... bench: 22 ns/iter (+/- 0) = 1181 MB/s
test misc::one_pass_short ... bench: 44 ns/iter (+/- 0) = 386 MB/s
test misc::one_pass_short_not ... bench: 44 ns/iter (+/- 0) = 386 MB/s
test misc::reallyhard2_1K ... bench: 3,503 ns/iter (+/- 29) = 296 MB/s
test misc::reallyhard_1K ... bench: 1,276 ns/iter (+/- 14) = 823 MB/s
test misc::reallyhard_1MB ... bench: 1,003,152 ns/iter (+/- 10,884) = 1045 MB/s
test misc::reallyhard_32 ... bench: 102 ns/iter (+/- 7) = 578 MB/s
test misc::reallyhard_32K ... bench: 31,035 ns/iter (+/- 221) = 1056 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 3,924 ns/iter (+/- 23) = 2038 MB/s
test regexdna::find_new_lines ... bench: 2,398,578 ns/iter (+/- 28,663) = 2119 MB/s
test regexdna::subst1 ... bench: 1,073,632 ns/iter (+/- 7,567) = 4734 MB/s
test regexdna::subst10 ... bench: 1,068,696 ns/iter (+/- 14,896) = 4756 MB/s
test regexdna::subst11 ... bench: 1,071,991 ns/iter (+/- 21,623) = 4742 MB/s
test regexdna::subst2 ... bench: 1,064,244 ns/iter (+/- 22,701) = 4776 MB/s
test regexdna::subst3 ... bench: 1,081,402 ns/iter (+/- 25,919) = 4700 MB/s
test regexdna::subst4 ... bench: 1,078,319 ns/iter (+/- 8,278) = 4714 MB/s
test regexdna::subst5 ... bench: 1,067,600 ns/iter (+/- 6,079) = 4761 MB/s
test regexdna::subst6 ... bench: 1,073,509 ns/iter (+/- 8,068) = 4735 MB/s
test regexdna::subst7 ... bench: 1,075,462 ns/iter (+/- 9,145) = 4726 MB/s
test regexdna::subst8 ... bench: 1,073,592 ns/iter (+/- 10,284) = 4734 MB/s
test regexdna::subst9 ... bench: 1,074,960 ns/iter (+/- 11,802) = 4728 MB/s
test regexdna::variant1 ... bench: 14,120,901 ns/iter (+/- 85,462) = 359 MB/s
test regexdna::variant2 ... bench: 15,606,152 ns/iter (+/- 128,452) = 325 MB/s
test regexdna::variant3 ... bench: 18,892,502 ns/iter (+/- 82,790) = 269 MB/s
test regexdna::variant4 ... bench: 17,988,621 ns/iter (+/- 50,462) = 282 MB/s
test regexdna::variant5 ... bench: 15,854,890 ns/iter (+/- 54,745) = 320 MB/s
test regexdna::variant6 ... bench: 16,126,069 ns/iter (+/- 76,013) = 315 MB/s
test regexdna::variant7 ... bench: 17,997,470 ns/iter (+/- 94,472) = 282 MB/s
test regexdna::variant8 ... bench: 23,004,949 ns/iter (+/- 81,626) = 220 MB/s
test regexdna::variant9 ... bench: 20,272,633 ns/iter (+/- 99,674) = 250 MB/s
test sherlock::before_after_holmes ... bench: 3,660,138 ns/iter (+/- 41,095) = 162 MB/s
test sherlock::before_holmes ... bench: 3,632,955 ns/iter (+/- 25,761) = 163 MB/s
test sherlock::holmes_cochar_watson ... bench: 458,639 ns/iter (+/- 9,185) = 1297 MB/s
test sherlock::ing_suffix ... bench: 1,746,052 ns/iter (+/- 31,762) = 340 MB/s
test sherlock::ing_suffix_limited_space ... bench: 4,067,141 ns/iter (+/- 12,943) = 146 MB/s
test sherlock::letters ... bench: 11,360,188 ns/iter (+/- 22,264) = 52 MB/s
test sherlock::letters_lower ... bench: 11,137,940 ns/iter (+/- 35,225) = 53 MB/s
test sherlock::letters_upper ... bench: 1,505,435 ns/iter (+/- 10,318) = 395 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 181,084 ns/iter (+/- 3,121) = 3285 MB/s
test sherlock::name_alt1 ... bench: 427,474 ns/iter (+/- 1,601) = 1391 MB/s
test sherlock::name_alt2 ... bench: 434,858 ns/iter (+/- 6,444) = 1368 MB/s
test sherlock::name_alt3 ... bench: 747,274 ns/iter (+/- 7,303) = 796 MB/s
test sherlock::name_alt3_nocase ... bench: 2,574,102 ns/iter (+/- 44,203) = 231 MB/s
test sherlock::name_alt4 ... bench: 66,428 ns/iter (+/- 336) = 8956 MB/s
test sherlock::name_alt4_nocase ... bench: 1,333,932 ns/iter (+/- 6,683) = 445 MB/s
test sherlock::name_alt5 ... bench: 598,062 ns/iter (+/- 4,936) = 994 MB/s
test sherlock::name_alt5_nocase ... bench: 1,496,292 ns/iter (+/- 6,595) = 397 MB/s
test sherlock::name_holmes ... bench: 359,203 ns/iter (+/- 6,202) = 1656 MB/s
test sherlock::name_holmes_nocase ... bench: 454,624 ns/iter (+/- 2,658) = 1308 MB/s
test sherlock::name_sherlock ... bench: 243,450 ns/iter (+/- 2,435) = 2443 MB/s
test sherlock::name_sherlock_holmes ... bench: 182,407 ns/iter (+/- 878) = 3261 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 940,244 ns/iter (+/- 6,064) = 632 MB/s
test sherlock::name_sherlock_nocase ... bench: 904,285 ns/iter (+/- 9,405) = 657 MB/s
test sherlock::name_whitespace ... bench: 244,114 ns/iter (+/- 1,875) = 2437 MB/s
test sherlock::no_match_common ... bench: 358,735 ns/iter (+/- 4,090) = 1658 MB/s
test sherlock::no_match_really_common ... bench: 348,964 ns/iter (+/- 6,060) = 1704 MB/s
test sherlock::no_match_uncommon ... bench: 21,256 ns/iter (+/- 144) = 27988 MB/s
test sherlock::quotes ... bench: 422,149 ns/iter (+/- 1,540) = 1409 MB/s
test sherlock::repeated_class_negation ... bench: 5,232,683 ns/iter (+/- 21,609) = 113 MB/s
test sherlock::the_lower ... bench: 651,539 ns/iter (+/- 1,763) = 913 MB/s
test sherlock::the_nocase ... bench: 693,506 ns/iter (+/- 13,143) = 857 MB/s
test sherlock::the_upper ... bench: 46,904 ns/iter (+/- 657) = 12684 MB/s
test sherlock::the_whitespace ... bench: 788,070 ns/iter (+/- 17,403) = 754 MB/s
test sherlock::word_ending_n ... bench: 4,545,774 ns/iter (+/- 26,965) = 130 MB/s
test sherlock::words ... bench: 5,493,039 ns/iter (+/- 16,767) = 108 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 93 measured; 0 filtered out

View file

@ -0,0 +1,98 @@
running 93 tests
test misc::anchored_literal_long_match ... bench: 15 ns/iter (+/- 0) = 26000 MB/s
test misc::anchored_literal_long_non_match ... bench: 12 ns/iter (+/- 0) = 32500 MB/s
test misc::anchored_literal_short_match ... bench: 14 ns/iter (+/- 0) = 1857 MB/s
test misc::anchored_literal_short_non_match ... bench: 11 ns/iter (+/- 0) = 2363 MB/s
test misc::easy0_1K ... bench: 81 ns/iter (+/- 4) = 12975 MB/s
test misc::easy0_1MB ... bench: 60,199 ns/iter (+/- 658) = 17418 MB/s
test misc::easy0_32 ... bench: 28 ns/iter (+/- 0) = 2107 MB/s
test misc::easy0_32K ... bench: 1,878 ns/iter (+/- 25) = 17462 MB/s
test misc::easy1_1K ... bench: 81 ns/iter (+/- 0) = 12888 MB/s
test misc::easy1_1MB ... bench: 59,222 ns/iter (+/- 598) = 17706 MB/s
test misc::easy1_32 ... bench: 28 ns/iter (+/- 0) = 1857 MB/s
test misc::easy1_32K ... bench: 1,819 ns/iter (+/- 6) = 18025 MB/s
test misc::hard_1K ... bench: 1,147 ns/iter (+/- 13) = 916 MB/s
test misc::hard_1MB ... bench: 990,924 ns/iter (+/- 6,065) = 1058 MB/s
test misc::hard_32 ... bench: 82 ns/iter (+/- 3) = 719 MB/s
test misc::hard_32K ... bench: 32,218 ns/iter (+/- 471) = 1017 MB/s
test misc::literal ... bench: 15 ns/iter (+/- 0) = 3400 MB/s
test misc::long_needle1 ... bench: 464,061 ns/iter (+/- 2,241) = 215 MB/s
test misc::long_needle2 ... bench: 465,191 ns/iter (+/- 823) = 214 MB/s
test misc::match_class ... bench: 46 ns/iter (+/- 1) = 1760 MB/s
test misc::match_class_in_range ... bench: 16 ns/iter (+/- 0) = 5062 MB/s
test misc::match_class_unicode ... bench: 246 ns/iter (+/- 0) = 654 MB/s
test misc::medium_1K ... bench: 102 ns/iter (+/- 9) = 10313 MB/s
test misc::medium_1MB ... bench: 60,042 ns/iter (+/- 585) = 17464 MB/s
test misc::medium_32 ... bench: 29 ns/iter (+/- 1) = 2068 MB/s
test misc::medium_32K ... bench: 1,901 ns/iter (+/- 23) = 17251 MB/s
test misc::not_literal ... bench: 122 ns/iter (+/- 2) = 418 MB/s
test misc::one_pass_long_prefix ... bench: 13 ns/iter (+/- 0) = 2000 MB/s
test misc::one_pass_long_prefix_not ... bench: 13 ns/iter (+/- 0) = 2000 MB/s
test misc::one_pass_short ... bench: 36 ns/iter (+/- 0) = 472 MB/s
test misc::one_pass_short_not ... bench: 36 ns/iter (+/- 0) = 472 MB/s
test misc::reallyhard2_1K ... bench: 3,517 ns/iter (+/- 39) = 295 MB/s
test misc::reallyhard_1K ... bench: 1,123 ns/iter (+/- 12) = 935 MB/s
test misc::reallyhard_1MB ... bench: 992,521 ns/iter (+/- 13,407) = 1056 MB/s
test misc::reallyhard_32 ... bench: 71 ns/iter (+/- 0) = 830 MB/s
test misc::reallyhard_32K ... bench: 30,626 ns/iter (+/- 206) = 1070 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 2,824 ns/iter (+/- 21) = 2832 MB/s
test regexdna::find_new_lines ... bench: 1,500,377 ns/iter (+/- 8,152) = 3388 MB/s
test regexdna::subst1 ... bench: 815,769 ns/iter (+/- 14,286) = 6231 MB/s
test regexdna::subst10 ... bench: 820,459 ns/iter (+/- 57,098) = 6195 MB/s
test regexdna::subst11 ... bench: 810,986 ns/iter (+/- 4,270) = 6268 MB/s
test regexdna::subst2 ... bench: 815,568 ns/iter (+/- 35,148) = 6232 MB/s
test regexdna::subst3 ... bench: 812,590 ns/iter (+/- 6,782) = 6255 MB/s
test regexdna::subst4 ... bench: 831,679 ns/iter (+/- 12,372) = 6112 MB/s
test regexdna::subst5 ... bench: 823,207 ns/iter (+/- 12,977) = 6175 MB/s
test regexdna::subst6 ... bench: 815,506 ns/iter (+/- 11,610) = 6233 MB/s
test regexdna::subst7 ... bench: 818,104 ns/iter (+/- 4,807) = 6213 MB/s
test regexdna::subst8 ... bench: 815,265 ns/iter (+/- 21,504) = 6235 MB/s
test regexdna::subst9 ... bench: 809,236 ns/iter (+/- 7,003) = 6281 MB/s
test regexdna::variant1 ... bench: 8,375,573 ns/iter (+/- 80,345) = 606 MB/s
test regexdna::variant2 ... bench: 11,207,698 ns/iter (+/- 45,582) = 453 MB/s
test regexdna::variant3 ... bench: 10,505,744 ns/iter (+/- 69,756) = 483 MB/s
test regexdna::variant4 ... bench: 9,276,177 ns/iter (+/- 50,904) = 548 MB/s
test regexdna::variant5 ... bench: 9,333,446 ns/iter (+/- 41,108) = 544 MB/s
test regexdna::variant6 ... bench: 9,865,395 ns/iter (+/- 26,010) = 515 MB/s
test regexdna::variant7 ... bench: 10,033,179 ns/iter (+/- 28,272) = 506 MB/s
test regexdna::variant8 ... bench: 10,752,604 ns/iter (+/- 37,714) = 472 MB/s
test regexdna::variant9 ... bench: 11,397,272 ns/iter (+/- 41,200) = 446 MB/s
test sherlock::before_after_holmes ... bench: 3,627,616 ns/iter (+/- 18,202) = 164 MB/s
test sherlock::before_holmes ... bench: 3,614,713 ns/iter (+/- 18,191) = 164 MB/s
test sherlock::holmes_cochar_watson ... bench: 68,419 ns/iter (+/- 918) = 8695 MB/s
test sherlock::ing_suffix ... bench: 1,766,571 ns/iter (+/- 16,612) = 336 MB/s
test sherlock::ing_suffix_limited_space ... bench: 4,018,396 ns/iter (+/- 11,822) = 148 MB/s
test sherlock::letters ... bench: 8,058,390 ns/iter (+/- 39,083) = 73 MB/s
test sherlock::letters_lower ... bench: 8,014,051 ns/iter (+/- 33,500) = 74 MB/s
test sherlock::letters_upper ... bench: 1,452,421 ns/iter (+/- 157,023) = 409 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 36,248 ns/iter (+/- 252) = 16412 MB/s
test sherlock::name_alt1 ... bench: 45,538 ns/iter (+/- 235) = 13064 MB/s
test sherlock::name_alt2 ... bench: 62,202 ns/iter (+/- 892) = 9564 MB/s
test sherlock::name_alt3 ... bench: 623,900 ns/iter (+/- 3,139) = 953 MB/s
test sherlock::name_alt3_nocase ... bench: 2,518,464 ns/iter (+/- 31,943) = 236 MB/s
test sherlock::name_alt4 ... bench: 62,015 ns/iter (+/- 712) = 9593 MB/s
test sherlock::name_alt4_nocase ... bench: 1,162,489 ns/iter (+/- 14,622) = 511 MB/s
test sherlock::name_alt5 ... bench: 589,686 ns/iter (+/- 6,775) = 1008 MB/s
test sherlock::name_alt5_nocase ... bench: 1,359,066 ns/iter (+/- 7,487) = 437 MB/s
test sherlock::name_holmes ... bench: 45,993 ns/iter (+/- 812) = 12935 MB/s
test sherlock::name_holmes_nocase ... bench: 82,326 ns/iter (+/- 758) = 7226 MB/s
test sherlock::name_sherlock ... bench: 36,848 ns/iter (+/- 50) = 16145 MB/s
test sherlock::name_sherlock_holmes ... bench: 36,778 ns/iter (+/- 621) = 16176 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 636,825 ns/iter (+/- 2,957) = 934 MB/s
test sherlock::name_sherlock_nocase ... bench: 635,313 ns/iter (+/- 10,776) = 936 MB/s
test sherlock::name_whitespace ... bench: 37,360 ns/iter (+/- 132) = 15924 MB/s
test sherlock::no_match_common ... bench: 34,545 ns/iter (+/- 239) = 17221 MB/s
test sherlock::no_match_really_common ... bench: 49,019 ns/iter (+/- 590) = 12136 MB/s
test sherlock::no_match_uncommon ... bench: 34,410 ns/iter (+/- 182) = 17289 MB/s
test sherlock::quotes ... bench: 414,599 ns/iter (+/- 3,528) = 1434 MB/s
test sherlock::repeated_class_negation ... bench: 5,106,885 ns/iter (+/- 23,660) = 116 MB/s
test sherlock::the_lower ... bench: 234,135 ns/iter (+/- 3,821) = 2540 MB/s
test sherlock::the_nocase ... bench: 261,765 ns/iter (+/- 2,272) = 2272 MB/s
test sherlock::the_upper ... bench: 50,816 ns/iter (+/- 583) = 11707 MB/s
test sherlock::the_whitespace ... bench: 408,355 ns/iter (+/- 5,463) = 1456 MB/s
test sherlock::word_ending_n ... bench: 4,367,721 ns/iter (+/- 55,474) = 136 MB/s
test sherlock::words ... bench: 4,640,171 ns/iter (+/- 20,462) = 128 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 93 measured; 0 filtered out

View file

@ -0,0 +1,101 @@
running 96 tests
test misc::anchored_literal_long_match ... bench: 69 ns/iter (+/- 0) = 5652 MB/s
test misc::anchored_literal_long_non_match ... bench: 15 ns/iter (+/- 0) = 26000 MB/s
test misc::anchored_literal_short_match ... bench: 69 ns/iter (+/- 0) = 376 MB/s
test misc::anchored_literal_short_non_match ... bench: 15 ns/iter (+/- 0) = 1733 MB/s
test misc::easy0_1K ... bench: 106 ns/iter (+/- 0) = 9915 MB/s
test misc::easy0_1MB ... bench: 15,311 ns/iter (+/- 113) = 68486 MB/s
test misc::easy0_32 ... bench: 100 ns/iter (+/- 3) = 590 MB/s
test misc::easy0_32K ... bench: 426 ns/iter (+/- 1) = 76983 MB/s
test misc::easy1_1K ... bench: 98 ns/iter (+/- 0) = 10653 MB/s
test misc::easy1_1MB ... bench: 15,299 ns/iter (+/- 136) = 68540 MB/s
test misc::easy1_32 ... bench: 91 ns/iter (+/- 0) = 571 MB/s
test misc::easy1_32K ... bench: 413 ns/iter (+/- 5) = 79389 MB/s
test misc::hard_1K ... bench: 1,815 ns/iter (+/- 43) = 579 MB/s
test misc::hard_1MB ... bench: 1,842,293 ns/iter (+/- 10,227) = 569 MB/s
test misc::hard_32 ... bench: 146 ns/iter (+/- 4) = 404 MB/s
test misc::hard_32K ... bench: 57,638 ns/iter (+/- 481) = 568 MB/s
test misc::literal ... bench: 64 ns/iter (+/- 1) = 796 MB/s
test misc::long_needle1 ... bench: 122,154 ns/iter (+/- 840) = 818 MB/s
test misc::long_needle2 ... bench: 122,105 ns/iter (+/- 578) = 818 MB/s
test misc::match_class ... bench: 178 ns/iter (+/- 0) = 455 MB/s
test misc::match_class_in_range ... bench: 178 ns/iter (+/- 2) = 455 MB/s
test misc::match_class_unicode ... bench: 293 ns/iter (+/- 2) = 549 MB/s
test misc::medium_1K ... bench: 1,610 ns/iter (+/- 26) = 653 MB/s
test misc::medium_1MB ... bench: 1,537,932 ns/iter (+/- 4,134) = 681 MB/s
test misc::medium_32 ... bench: 158 ns/iter (+/- 1) = 379 MB/s
test misc::medium_32K ... bench: 48,172 ns/iter (+/- 390) = 680 MB/s
test misc::no_exponential ... bench: 216 ns/iter (+/- 1) = 462 MB/s
test misc::not_literal ... bench: 127 ns/iter (+/- 1) = 401 MB/s
test misc::one_pass_long_prefix ... bench: 64 ns/iter (+/- 0) = 406 MB/s
test misc::one_pass_long_prefix_not ... bench: 100 ns/iter (+/- 1) = 260 MB/s
test misc::one_pass_short ... bench: 88 ns/iter (+/- 0) = 193 MB/s
test misc::one_pass_short_not ... bench: 86 ns/iter (+/- 0) = 197 MB/s
test misc::reallyhard2_1K ... bench: 1,332 ns/iter (+/- 41) = 780 MB/s
test misc::reallyhard_1K ... bench: 1,815 ns/iter (+/- 16) = 579 MB/s
test misc::reallyhard_1MB ... bench: 1,842,206 ns/iter (+/- 9,086) = 569 MB/s
test misc::reallyhard_32 ... bench: 149 ns/iter (+/- 1) = 395 MB/s
test misc::reallyhard_32K ... bench: 57,591 ns/iter (+/- 101) = 569 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 11,753 ns/iter (+/- 130) = 680 MB/s
test regexdna::find_new_lines ... bench: 24,330,235 ns/iter (+/- 374,274) = 208 MB/s
test regexdna::subst1 ... bench: 4,079,631 ns/iter (+/- 51,348) = 1246 MB/s
test regexdna::subst10 ... bench: 4,080,803 ns/iter (+/- 30,966) = 1245 MB/s
test regexdna::subst11 ... bench: 4,154,389 ns/iter (+/- 34,825) = 1223 MB/s
test regexdna::subst2 ... bench: 4,076,784 ns/iter (+/- 102,863) = 1246 MB/s
test regexdna::subst3 ... bench: 4,074,850 ns/iter (+/- 52,106) = 1247 MB/s
test regexdna::subst4 ... bench: 4,078,456 ns/iter (+/- 12,343) = 1246 MB/s
test regexdna::subst5 ... bench: 4,075,812 ns/iter (+/- 24,524) = 1247 MB/s
test regexdna::subst6 ... bench: 4,097,009 ns/iter (+/- 13,240) = 1240 MB/s
test regexdna::subst7 ... bench: 4,069,096 ns/iter (+/- 29,794) = 1249 MB/s
test regexdna::subst8 ... bench: 4,078,838 ns/iter (+/- 20,713) = 1246 MB/s
test regexdna::subst9 ... bench: 4,116,905 ns/iter (+/- 14,130) = 1234 MB/s
test regexdna::variant1 ... bench: 21,411,252 ns/iter (+/- 568,076) = 237 MB/s
test regexdna::variant2 ... bench: 21,082,571 ns/iter (+/- 92,912) = 241 MB/s
test regexdna::variant3 ... bench: 20,302,954 ns/iter (+/- 118,421) = 250 MB/s
test regexdna::variant4 ... bench: 21,290,669 ns/iter (+/- 102,527) = 238 MB/s
test regexdna::variant5 ... bench: 21,451,671 ns/iter (+/- 99,524) = 236 MB/s
test regexdna::variant6 ... bench: 21,057,017 ns/iter (+/- 530,904) = 241 MB/s
test regexdna::variant7 ... bench: 20,394,037 ns/iter (+/- 128,973) = 249 MB/s
test regexdna::variant8 ... bench: 17,839,069 ns/iter (+/- 122,671) = 284 MB/s
test regexdna::variant9 ... bench: 12,720,049 ns/iter (+/- 76,816) = 399 MB/s
test sherlock::before_after_holmes ... bench: 1,044,129 ns/iter (+/- 4,967) = 569 MB/s
test sherlock::before_holmes ... bench: 1,067,879 ns/iter (+/- 11,345) = 557 MB/s
test sherlock::everything_greedy ... bench: 5,193,222 ns/iter (+/- 10,990) = 114 MB/s
test sherlock::everything_greedy_nl ... bench: 2,038,599 ns/iter (+/- 18,946) = 291 MB/s
test sherlock::holmes_cochar_watson ... bench: 909,342 ns/iter (+/- 5,295) = 654 MB/s
test sherlock::holmes_coword_watson ... bench: 939,154 ns/iter (+/- 6,087) = 633 MB/s
test sherlock::ing_suffix ... bench: 2,729,081 ns/iter (+/- 15,969) = 217 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,373,143 ns/iter (+/- 17,068) = 433 MB/s
test sherlock::letters ... bench: 56,266,035 ns/iter (+/- 165,398) = 10 MB/s
test sherlock::letters_lower ... bench: 54,590,671 ns/iter (+/- 138,842) = 10 MB/s
test sherlock::letters_upper ... bench: 2,702,242 ns/iter (+/- 9,889) = 220 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 2,430,065 ns/iter (+/- 27,756) = 244 MB/s
test sherlock::name_alt1 ... bench: 45,514 ns/iter (+/- 403) = 13071 MB/s
test sherlock::name_alt2 ... bench: 975,861 ns/iter (+/- 11,553) = 609 MB/s
test sherlock::name_alt3 ... bench: 1,070,967 ns/iter (+/- 11,065) = 555 MB/s
test sherlock::name_alt3_nocase ... bench: 2,574,585 ns/iter (+/- 39,816) = 231 MB/s
test sherlock::name_alt4 ... bench: 978,776 ns/iter (+/- 25,503) = 607 MB/s
test sherlock::name_alt4_nocase ... bench: 1,643,230 ns/iter (+/- 27,685) = 362 MB/s
test sherlock::name_alt5 ... bench: 998,349 ns/iter (+/- 6,658) = 595 MB/s
test sherlock::name_alt5_nocase ... bench: 1,781,006 ns/iter (+/- 22,507) = 334 MB/s
test sherlock::name_holmes ... bench: 92,561 ns/iter (+/- 1,358) = 6427 MB/s
test sherlock::name_holmes_nocase ... bench: 1,281,827 ns/iter (+/- 7,651) = 464 MB/s
test sherlock::name_sherlock ... bench: 31,994 ns/iter (+/- 326) = 18595 MB/s
test sherlock::name_sherlock_holmes ... bench: 34,272 ns/iter (+/- 445) = 17359 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,218,006 ns/iter (+/- 19,301) = 488 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,214,744 ns/iter (+/- 11,473) = 489 MB/s
test sherlock::name_whitespace ... bench: 35,455 ns/iter (+/- 412) = 16779 MB/s
test sherlock::no_match_common ... bench: 299,771 ns/iter (+/- 7,799) = 1984 MB/s
test sherlock::no_match_really_common ... bench: 299,595 ns/iter (+/- 926) = 1985 MB/s
test sherlock::no_match_uncommon ... bench: 9,803 ns/iter (+/- 139) = 60688 MB/s
test sherlock::quotes ... bench: 1,033,423 ns/iter (+/- 9,177) = 575 MB/s
test sherlock::the_lower ... bench: 1,454,358 ns/iter (+/- 75,304) = 409 MB/s
test sherlock::the_nocase ... bench: 2,486,681 ns/iter (+/- 9,026) = 239 MB/s
test sherlock::the_upper ... bench: 123,989 ns/iter (+/- 1,097) = 4798 MB/s
test sherlock::the_whitespace ... bench: 1,454,732 ns/iter (+/- 118,006) = 408 MB/s
test sherlock::word_ending_n ... bench: 1,922,008 ns/iter (+/- 15,040) = 309 MB/s
test sherlock::words ... bench: 16,054,888 ns/iter (+/- 90,684) = 37 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 96 measured; 0 filtered out

View file

@ -0,0 +1,113 @@
running 108 tests
test misc::anchored_literal_long_match ... bench: 15 ns/iter (+/- 0) = 26000 MB/s
test misc::anchored_literal_long_non_match ... bench: 16 ns/iter (+/- 0) = 24375 MB/s
test misc::anchored_literal_short_match ... bench: 14 ns/iter (+/- 0) = 1857 MB/s
test misc::anchored_literal_short_non_match ... bench: 16 ns/iter (+/- 0) = 1625 MB/s
test misc::easy0_1K ... bench: 11 ns/iter (+/- 0) = 95545 MB/s
test misc::easy0_1MB ... bench: 15 ns/iter (+/- 0) = 69906866 MB/s
test misc::easy0_32 ... bench: 11 ns/iter (+/- 0) = 5363 MB/s
test misc::easy0_32K ... bench: 11 ns/iter (+/- 0) = 2981363 MB/s
test misc::easy1_1K ... bench: 36 ns/iter (+/- 0) = 29000 MB/s
test misc::easy1_1MB ... bench: 38 ns/iter (+/- 0) = 27594631 MB/s
test misc::easy1_32 ... bench: 39 ns/iter (+/- 0) = 1333 MB/s
test misc::easy1_32K ... bench: 36 ns/iter (+/- 0) = 910777 MB/s
test misc::hard_1K ... bench: 48 ns/iter (+/- 0) = 21895 MB/s
test misc::hard_1MB ... bench: 51 ns/iter (+/- 0) = 20560843 MB/s
test misc::hard_32 ... bench: 48 ns/iter (+/- 1) = 1229 MB/s
test misc::hard_32K ... bench: 48 ns/iter (+/- 0) = 683229 MB/s
test misc::literal ... bench: 10 ns/iter (+/- 0) = 5100 MB/s
test misc::long_needle1 ... bench: 956 ns/iter (+/- 14) = 104603 MB/s
test misc::long_needle2 ... bench: 538,237 ns/iter (+/- 8,739) = 185 MB/s
test misc::match_class ... bench: 57 ns/iter (+/- 0) = 1421 MB/s
test misc::match_class_in_range ... bench: 22 ns/iter (+/- 0) = 3681 MB/s
test misc::match_class_unicode ... bench: 245 ns/iter (+/- 4) = 657 MB/s
test misc::medium_1K ... bench: 13 ns/iter (+/- 0) = 80923 MB/s
test misc::medium_1MB ... bench: 15 ns/iter (+/- 0) = 69906933 MB/s
test misc::medium_32 ... bench: 12 ns/iter (+/- 0) = 5000 MB/s
test misc::medium_32K ... bench: 12 ns/iter (+/- 0) = 2733000 MB/s
test misc::no_exponential ... bench: 318 ns/iter (+/- 0) = 314 MB/s
test misc::not_literal ... bench: 85 ns/iter (+/- 0) = 600 MB/s
test misc::one_pass_long_prefix ... bench: 48 ns/iter (+/- 0) = 541 MB/s
test misc::one_pass_long_prefix_not ... bench: 48 ns/iter (+/- 0) = 541 MB/s
test misc::one_pass_short ... bench: 34 ns/iter (+/- 0) = 500 MB/s
test misc::one_pass_short_not ... bench: 37 ns/iter (+/- 0) = 459 MB/s
test misc::reallyhard2_1K ... bench: 51 ns/iter (+/- 0) = 20392 MB/s
test misc::reallyhard_1K ... bench: 1,547 ns/iter (+/- 19) = 679 MB/s
test misc::reallyhard_1MB ... bench: 1,533,883 ns/iter (+/- 9,553) = 683 MB/s
test misc::reallyhard_32 ... bench: 96 ns/iter (+/- 0) = 614 MB/s
test misc::reallyhard_32K ... bench: 47,989 ns/iter (+/- 198) = 683 MB/s
test misc::replace_all ... bench: 136 ns/iter (+/- 0)
test misc::reverse_suffix_no_quadratic ... bench: 4,016 ns/iter (+/- 21) = 1992 MB/s
test misc::short_haystack_1000000x ... bench: 64,033 ns/iter (+/- 470) = 124935 MB/s
test misc::short_haystack_100000x ... bench: 6,472 ns/iter (+/- 44) = 123611 MB/s
test misc::short_haystack_10000x ... bench: 1,906 ns/iter (+/- 49) = 41978 MB/s
test misc::short_haystack_1000x ... bench: 362 ns/iter (+/- 1) = 22129 MB/s
test misc::short_haystack_100x ... bench: 259 ns/iter (+/- 2) = 3131 MB/s
test misc::short_haystack_10x ... bench: 228 ns/iter (+/- 0) = 399 MB/s
test misc::short_haystack_1x ... bench: 223 ns/iter (+/- 2) = 85 MB/s
test misc::short_haystack_2x ... bench: 224 ns/iter (+/- 2) = 120 MB/s
test misc::short_haystack_3x ... bench: 221 ns/iter (+/- 2) = 158 MB/s
test misc::short_haystack_4x ... bench: 223 ns/iter (+/- 2) = 192 MB/s
test regexdna::find_new_lines ... bench: 11,885,905 ns/iter (+/- 23,501) = 427 MB/s
test regexdna::subst1 ... bench: 712,544 ns/iter (+/- 16,100) = 7134 MB/s
test regexdna::subst10 ... bench: 709,739 ns/iter (+/- 8,467) = 7162 MB/s
test regexdna::subst11 ... bench: 714,261 ns/iter (+/- 8,495) = 7117 MB/s
test regexdna::subst2 ... bench: 711,197 ns/iter (+/- 14,736) = 7147 MB/s
test regexdna::subst3 ... bench: 718,083 ns/iter (+/- 5,050) = 7079 MB/s
test regexdna::subst4 ... bench: 725,196 ns/iter (+/- 20,044) = 7009 MB/s
test regexdna::subst5 ... bench: 709,301 ns/iter (+/- 10,961) = 7166 MB/s
test regexdna::subst6 ... bench: 715,658 ns/iter (+/- 16,431) = 7103 MB/s
test regexdna::subst7 ... bench: 707,472 ns/iter (+/- 5,764) = 7185 MB/s
test regexdna::subst8 ... bench: 707,300 ns/iter (+/- 19,545) = 7187 MB/s
test regexdna::subst9 ... bench: 709,950 ns/iter (+/- 11,319) = 7160 MB/s
test regexdna::variant1 ... bench: 2,498,980 ns/iter (+/- 67,933) = 2034 MB/s
test regexdna::variant2 ... bench: 5,544,923 ns/iter (+/- 31,911) = 916 MB/s
test regexdna::variant3 ... bench: 6,441,568 ns/iter (+/- 20,197) = 789 MB/s
test regexdna::variant4 ... bench: 6,421,276 ns/iter (+/- 161,499) = 791 MB/s
test regexdna::variant5 ... bench: 5,093,567 ns/iter (+/- 18,696) = 998 MB/s
test regexdna::variant6 ... bench: 5,094,859 ns/iter (+/- 22,894) = 997 MB/s
test regexdna::variant7 ... bench: 4,540,111 ns/iter (+/- 11,863) = 1119 MB/s
test regexdna::variant8 ... bench: 4,636,741 ns/iter (+/- 23,448) = 1096 MB/s
test regexdna::variant9 ... bench: 4,557,500 ns/iter (+/- 16,168) = 1115 MB/s
test sherlock::before_after_holmes ... bench: 880,959 ns/iter (+/- 3,004) = 675 MB/s
test sherlock::before_holmes ... bench: 54,416 ns/iter (+/- 1,099) = 10933 MB/s
test sherlock::everything_greedy ... bench: 1,736,180 ns/iter (+/- 9,410) = 342 MB/s
test sherlock::everything_greedy_nl ... bench: 783,848 ns/iter (+/- 19,640) = 758 MB/s
test sherlock::holmes_cochar_watson ... bench: 90,085 ns/iter (+/- 499) = 6604 MB/s
test sherlock::holmes_coword_watson ... bench: 459,431 ns/iter (+/- 830) = 1294 MB/s
test sherlock::ing_suffix ... bench: 348,103 ns/iter (+/- 9,052) = 1709 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,017,387 ns/iter (+/- 3,906) = 584 MB/s
test sherlock::letters ... bench: 18,265,074 ns/iter (+/- 463,241) = 32 MB/s
test sherlock::letters_lower ... bench: 17,846,209 ns/iter (+/- 431,089) = 33 MB/s
test sherlock::letters_upper ... bench: 1,594,743 ns/iter (+/- 3,151) = 373 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 873,308 ns/iter (+/- 1,379) = 681 MB/s
test sherlock::name_alt1 ... bench: 21,144 ns/iter (+/- 315) = 28137 MB/s
test sherlock::name_alt2 ... bench: 71,354 ns/iter (+/- 1,432) = 8337 MB/s
test sherlock::name_alt3 ... bench: 79,167 ns/iter (+/- 294) = 7514 MB/s
test sherlock::name_alt3_nocase ... bench: 1,111,300 ns/iter (+/- 4,434) = 535 MB/s
test sherlock::name_alt4 ... bench: 100,864 ns/iter (+/- 570) = 5898 MB/s
test sherlock::name_alt4_nocase ... bench: 157,266 ns/iter (+/- 4,048) = 3782 MB/s
test sherlock::name_alt5 ... bench: 74,375 ns/iter (+/- 576) = 7999 MB/s
test sherlock::name_alt5_nocase ... bench: 467,879 ns/iter (+/- 2,115) = 1271 MB/s
test sherlock::name_holmes ... bench: 26,856 ns/iter (+/- 345) = 22152 MB/s
test sherlock::name_holmes_nocase ... bench: 124,140 ns/iter (+/- 1,111) = 4792 MB/s
test sherlock::name_sherlock ... bench: 52,330 ns/iter (+/- 316) = 11368 MB/s
test sherlock::name_sherlock_holmes ... bench: 19,646 ns/iter (+/- 355) = 30282 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 107,973 ns/iter (+/- 508) = 5510 MB/s
test sherlock::name_sherlock_nocase ... bench: 105,141 ns/iter (+/- 426) = 5658 MB/s
test sherlock::name_whitespace ... bench: 61,149 ns/iter (+/- 350) = 9729 MB/s
test sherlock::no_match_common ... bench: 11,735 ns/iter (+/- 185) = 50697 MB/s
test sherlock::no_match_really_common ... bench: 274,089 ns/iter (+/- 617) = 2170 MB/s
test sherlock::no_match_uncommon ... bench: 11,581 ns/iter (+/- 298) = 51371 MB/s
test sherlock::quotes ... bench: 447,749 ns/iter (+/- 1,173) = 1328 MB/s
test sherlock::repeated_class_negation ... bench: 69,119,491 ns/iter (+/- 117,739) = 8 MB/s
test sherlock::the_lower ... bench: 492,559 ns/iter (+/- 1,674) = 1207 MB/s
test sherlock::the_nocase ... bench: 341,445 ns/iter (+/- 6,455) = 1742 MB/s
test sherlock::the_upper ... bench: 30,555 ns/iter (+/- 168) = 19470 MB/s
test sherlock::the_whitespace ... bench: 950,630 ns/iter (+/- 25,179) = 625 MB/s
test sherlock::word_ending_n ... bench: 1,551,930 ns/iter (+/- 17,792) = 383 MB/s
test sherlock::words ... bench: 7,229,870 ns/iter (+/- 25,046) = 82 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 108 measured; 0 filtered out

View file

@ -0,0 +1,101 @@
running 96 tests
test misc::anchored_literal_long_match ... bench: 16 ns/iter (+/- 0) = 24375 MB/s
test misc::anchored_literal_long_non_match ... bench: 16 ns/iter (+/- 0) = 24375 MB/s
test misc::anchored_literal_short_match ... bench: 14 ns/iter (+/- 0) = 1857 MB/s
test misc::anchored_literal_short_non_match ... bench: 16 ns/iter (+/- 0) = 1625 MB/s
test misc::easy0_1K ... bench: 11 ns/iter (+/- 0) = 95545 MB/s
test misc::easy0_1MB ... bench: 14 ns/iter (+/- 0) = 74900214 MB/s
test misc::easy0_32 ... bench: 11 ns/iter (+/- 0) = 5363 MB/s
test misc::easy0_32K ... bench: 11 ns/iter (+/- 0) = 2981363 MB/s
test misc::easy1_1K ... bench: 36 ns/iter (+/- 0) = 29000 MB/s
test misc::easy1_1MB ... bench: 38 ns/iter (+/- 0) = 27594631 MB/s
test misc::easy1_32 ... bench: 36 ns/iter (+/- 0) = 1444 MB/s
test misc::easy1_32K ... bench: 36 ns/iter (+/- 0) = 910777 MB/s
test misc::hard_1K ... bench: 46 ns/iter (+/- 0) = 22847 MB/s
test misc::hard_1MB ... bench: 49 ns/iter (+/- 0) = 21400061 MB/s
test misc::hard_32 ... bench: 46 ns/iter (+/- 0) = 1282 MB/s
test misc::hard_32K ... bench: 46 ns/iter (+/- 0) = 712934 MB/s
test misc::literal ... bench: 10 ns/iter (+/- 0) = 5100 MB/s
test misc::long_needle1 ... bench: 1,119 ns/iter (+/- 22) = 89366 MB/s
test misc::long_needle2 ... bench: 535,168 ns/iter (+/- 2,976) = 186 MB/s
test misc::match_class ... bench: 67 ns/iter (+/- 0) = 1208 MB/s
test misc::match_class_in_range ... bench: 21 ns/iter (+/- 0) = 3857 MB/s
test misc::medium_1K ... bench: 12 ns/iter (+/- 0) = 87666 MB/s
test misc::medium_1MB ... bench: 16 ns/iter (+/- 0) = 65537750 MB/s
test misc::medium_32 ... bench: 12 ns/iter (+/- 0) = 5000 MB/s
test misc::medium_32K ... bench: 12 ns/iter (+/- 0) = 2733000 MB/s
test misc::no_exponential ... bench: 320 ns/iter (+/- 3) = 312 MB/s
test misc::not_literal ... bench: 86 ns/iter (+/- 0) = 593 MB/s
test misc::one_pass_long_prefix ... bench: 48 ns/iter (+/- 0) = 541 MB/s
test misc::one_pass_long_prefix_not ... bench: 48 ns/iter (+/- 0) = 541 MB/s
test misc::one_pass_short ... bench: 34 ns/iter (+/- 0) = 500 MB/s
test misc::one_pass_short_not ... bench: 37 ns/iter (+/- 0) = 459 MB/s
test misc::reallyhard2_1K ... bench: 50 ns/iter (+/- 0) = 20800 MB/s
test misc::reallyhard_1K ... bench: 1,548 ns/iter (+/- 0) = 678 MB/s
test misc::reallyhard_1MB ... bench: 1,534,068 ns/iter (+/- 14,813) = 683 MB/s
test misc::reallyhard_32 ... bench: 98 ns/iter (+/- 1) = 602 MB/s
test misc::reallyhard_32K ... bench: 48,003 ns/iter (+/- 128) = 683 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,015 ns/iter (+/- 11) = 1992 MB/s
test regexdna::find_new_lines ... bench: 11,859,603 ns/iter (+/- 22,707) = 428 MB/s
test regexdna::subst1 ... bench: 717,255 ns/iter (+/- 3,261) = 7087 MB/s
test regexdna::subst10 ... bench: 719,600 ns/iter (+/- 4,712) = 7064 MB/s
test regexdna::subst11 ... bench: 708,612 ns/iter (+/- 6,314) = 7173 MB/s
test regexdna::subst2 ... bench: 715,174 ns/iter (+/- 5,097) = 7107 MB/s
test regexdna::subst3 ... bench: 711,261 ns/iter (+/- 12,051) = 7147 MB/s
test regexdna::subst4 ... bench: 761,920 ns/iter (+/- 4,924) = 6671 MB/s
test regexdna::subst5 ... bench: 740,755 ns/iter (+/- 12,762) = 6862 MB/s
test regexdna::subst6 ... bench: 713,936 ns/iter (+/- 7,103) = 7120 MB/s
test regexdna::subst7 ... bench: 710,142 ns/iter (+/- 5,377) = 7158 MB/s
test regexdna::subst8 ... bench: 712,154 ns/iter (+/- 4,485) = 7138 MB/s
test regexdna::subst9 ... bench: 713,214 ns/iter (+/- 6,830) = 7127 MB/s
test regexdna::variant1 ... bench: 2,448,709 ns/iter (+/- 10,799) = 2075 MB/s
test regexdna::variant2 ... bench: 5,541,606 ns/iter (+/- 26,197) = 917 MB/s
test regexdna::variant3 ... bench: 6,563,736 ns/iter (+/- 163,805) = 774 MB/s
test regexdna::variant4 ... bench: 6,428,096 ns/iter (+/- 38,372) = 790 MB/s
test regexdna::variant5 ... bench: 5,110,667 ns/iter (+/- 141,363) = 994 MB/s
test regexdna::variant6 ... bench: 5,086,936 ns/iter (+/- 25,675) = 999 MB/s
test regexdna::variant7 ... bench: 4,607,360 ns/iter (+/- 31,834) = 1103 MB/s
test regexdna::variant8 ... bench: 4,636,550 ns/iter (+/- 11,143) = 1096 MB/s
test regexdna::variant9 ... bench: 4,534,765 ns/iter (+/- 18,435) = 1120 MB/s
test sherlock::before_after_holmes ... bench: 880,980 ns/iter (+/- 1,386) = 675 MB/s
test sherlock::before_holmes ... bench: 56,626 ns/iter (+/- 612) = 10506 MB/s
test sherlock::everything_greedy ... bench: 1,715,022 ns/iter (+/- 7,374) = 346 MB/s
test sherlock::everything_greedy_nl ... bench: 778,398 ns/iter (+/- 6,195) = 764 MB/s
test sherlock::holmes_cochar_watson ... bench: 91,093 ns/iter (+/- 266) = 6531 MB/s
test sherlock::holmes_coword_watson ... bench: 457,793 ns/iter (+/- 3,094) = 1299 MB/s
test sherlock::ing_suffix ... bench: 348,696 ns/iter (+/- 2,174) = 1706 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,017,664 ns/iter (+/- 8,581) = 584 MB/s
test sherlock::letters ... bench: 19,098,779 ns/iter (+/- 36,233) = 31 MB/s
test sherlock::letters_lower ... bench: 17,748,386 ns/iter (+/- 37,835) = 33 MB/s
test sherlock::letters_upper ... bench: 1,592,729 ns/iter (+/- 2,977) = 373 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 873,365 ns/iter (+/- 1,399) = 681 MB/s
test sherlock::name_alt1 ... bench: 21,965 ns/iter (+/- 336) = 27085 MB/s
test sherlock::name_alt2 ... bench: 73,887 ns/iter (+/- 107) = 8051 MB/s
test sherlock::name_alt3 ... bench: 79,186 ns/iter (+/- 274) = 7513 MB/s
test sherlock::name_alt3_nocase ... bench: 1,111,949 ns/iter (+/- 3,589) = 535 MB/s
test sherlock::name_alt4 ... bench: 102,493 ns/iter (+/- 959) = 5804 MB/s
test sherlock::name_alt4_nocase ... bench: 158,438 ns/iter (+/- 946) = 3754 MB/s
test sherlock::name_alt5 ... bench: 74,362 ns/iter (+/- 139) = 8000 MB/s
test sherlock::name_alt5_nocase ... bench: 469,720 ns/iter (+/- 5,941) = 1266 MB/s
test sherlock::name_holmes ... bench: 28,919 ns/iter (+/- 372) = 20572 MB/s
test sherlock::name_holmes_nocase ... bench: 123,251 ns/iter (+/- 786) = 4827 MB/s
test sherlock::name_sherlock ... bench: 53,032 ns/iter (+/- 487) = 11218 MB/s
test sherlock::name_sherlock_holmes ... bench: 20,566 ns/iter (+/- 280) = 28927 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 108,166 ns/iter (+/- 303) = 5500 MB/s
test sherlock::name_sherlock_nocase ... bench: 105,034 ns/iter (+/- 797) = 5664 MB/s
test sherlock::name_whitespace ... bench: 60,968 ns/iter (+/- 490) = 9758 MB/s
test sherlock::no_match_common ... bench: 12,191 ns/iter (+/- 128) = 48801 MB/s
test sherlock::no_match_really_common ... bench: 274,528 ns/iter (+/- 1,101) = 2167 MB/s
test sherlock::no_match_uncommon ... bench: 12,197 ns/iter (+/- 191) = 48776 MB/s
test sherlock::quotes ... bench: 446,264 ns/iter (+/- 5,936) = 1333 MB/s
test sherlock::repeated_class_negation ... bench: 69,728,764 ns/iter (+/- 155,104) = 8 MB/s
test sherlock::the_lower ... bench: 493,734 ns/iter (+/- 5,997) = 1204 MB/s
test sherlock::the_nocase ... bench: 339,088 ns/iter (+/- 3,760) = 1754 MB/s
test sherlock::the_upper ... bench: 30,957 ns/iter (+/- 313) = 19218 MB/s
test sherlock::the_whitespace ... bench: 921,059 ns/iter (+/- 8,102) = 645 MB/s
test sherlock::word_ending_n ... bench: 1,530,899 ns/iter (+/- 18,006) = 388 MB/s
test sherlock::words ... bench: 6,959,355 ns/iter (+/- 31,671) = 85 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 96 measured; 0 filtered out

View file

@ -0,0 +1,87 @@
running 82 tests
test misc::anchored_literal_long_match ... bench: 142 ns/iter (+/- 0) = 2746 MB/s
test misc::anchored_literal_long_non_match ... bench: 5,504 ns/iter (+/- 20) = 70 MB/s
test misc::anchored_literal_short_match ... bench: 143 ns/iter (+/- 0) = 181 MB/s
test misc::anchored_literal_short_non_match ... bench: 471 ns/iter (+/- 1) = 55 MB/s
test misc::easy0_1K ... bench: 14,534 ns/iter (+/- 87) = 72 MB/s
test misc::easy0_1MB ... bench: 14,554,912 ns/iter (+/- 33,264) = 72 MB/s
test misc::easy0_32 ... bench: 730 ns/iter (+/- 1) = 80 MB/s
test misc::easy0_32K ... bench: 454,911 ns/iter (+/- 526) = 72 MB/s
test misc::easy1_1K ... bench: 14,486 ns/iter (+/- 45) = 72 MB/s
test misc::easy1_1MB ... bench: 14,555,850 ns/iter (+/- 108,290) = 72 MB/s
test misc::easy1_32 ... bench: 692 ns/iter (+/- 1) = 75 MB/s
test misc::easy1_32K ... bench: 456,269 ns/iter (+/- 2,856) = 71 MB/s
test misc::hard_1K ... bench: 299,581 ns/iter (+/- 7,493) = 3 MB/s
test misc::hard_1MB ... bench: 314,289,240 ns/iter (+/- 128,869) = 3 MB/s
test misc::hard_32 ... bench: 9,202 ns/iter (+/- 17) = 6 MB/s
test misc::hard_32K ... bench: 9,777,807 ns/iter (+/- 19,451) = 3 MB/s
test misc::literal ... bench: 804 ns/iter (+/- 2) = 63 MB/s
test misc::long_needle1 ... bench: 15,712,941 ns/iter (+/- 23,893) = 6 MB/s
test misc::long_needle2 ... bench: 15,955,109 ns/iter (+/- 26,652) = 6 MB/s
test misc::match_class ... bench: 1,250 ns/iter (+/- 4) = 64 MB/s
test misc::match_class_in_range ... bench: 1,250 ns/iter (+/- 4) = 64 MB/s
test misc::medium_1K ... bench: 14,913 ns/iter (+/- 108) = 70 MB/s
test misc::medium_1MB ... bench: 14,929,542 ns/iter (+/- 38,890) = 70 MB/s
test misc::medium_32 ... bench: 736 ns/iter (+/- 0) = 81 MB/s
test misc::medium_32K ... bench: 466,504 ns/iter (+/- 1,488) = 70 MB/s
test misc::not_literal ... bench: 1,015 ns/iter (+/- 8) = 50 MB/s
test misc::one_pass_long_prefix ... bench: 262 ns/iter (+/- 0) = 99 MB/s
test misc::one_pass_long_prefix_not ... bench: 263 ns/iter (+/- 3) = 98 MB/s
test misc::one_pass_short ... bench: 502 ns/iter (+/- 2) = 33 MB/s
test misc::one_pass_short_not ... bench: 498 ns/iter (+/- 0) = 34 MB/s
test misc::reallyhard2_1K ... bench: 304,485 ns/iter (+/- 762) = 3 MB/s
test misc::reallyhard_1K ... bench: 292,315 ns/iter (+/- 1,985) = 3 MB/s
test misc::reallyhard_1MB ... bench: 313,208,610 ns/iter (+/- 163,013) = 3 MB/s
test misc::reallyhard_32 ... bench: 9,232 ns/iter (+/- 21) = 6 MB/s
test misc::reallyhard_32K ... bench: 9,952,463 ns/iter (+/- 22,317) = 3 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 114,029 ns/iter (+/- 734) = 70 MB/s
test regexdna::find_new_lines ... bench: 121,481,845 ns/iter (+/- 289,966) = 41 MB/s
test regexdna::subst1 ... bench: 73,580,323 ns/iter (+/- 82,998) = 69 MB/s
test regexdna::subst10 ... bench: 73,588,543 ns/iter (+/- 95,250) = 69 MB/s
test regexdna::subst11 ... bench: 73,592,436 ns/iter (+/- 86,358) = 69 MB/s
test regexdna::subst2 ... bench: 73,581,323 ns/iter (+/- 88,210) = 69 MB/s
test regexdna::subst3 ... bench: 73,577,422 ns/iter (+/- 48,215) = 69 MB/s
test regexdna::subst4 ... bench: 73,586,896 ns/iter (+/- 82,117) = 69 MB/s
test regexdna::subst5 ... bench: 73,652,696 ns/iter (+/- 95,155) = 69 MB/s
test regexdna::subst6 ... bench: 74,633,620 ns/iter (+/- 74,754) = 68 MB/s
test regexdna::subst7 ... bench: 73,586,338 ns/iter (+/- 82,645) = 69 MB/s
test regexdna::subst8 ... bench: 75,009,572 ns/iter (+/- 116,800) = 67 MB/s
test regexdna::subst9 ... bench: 73,581,469 ns/iter (+/- 146,286) = 69 MB/s
test regexdna::variant1 ... bench: 140,768,740 ns/iter (+/- 113,580) = 36 MB/s
test regexdna::variant2 ... bench: 153,330,005 ns/iter (+/- 11,581,095) = 33 MB/s
test regexdna::variant3 ... bench: 145,484,512 ns/iter (+/- 150,566) = 34 MB/s
test regexdna::variant4 ... bench: 141,659,767 ns/iter (+/- 123,940) = 35 MB/s
test regexdna::variant5 ... bench: 145,309,207 ns/iter (+/- 129,675) = 34 MB/s
test regexdna::variant6 ... bench: 141,145,017 ns/iter (+/- 164,414) = 36 MB/s
test regexdna::variant7 ... bench: 141,897,206 ns/iter (+/- 212,981) = 35 MB/s
test regexdna::variant8 ... bench: 150,467,139 ns/iter (+/- 120,619) = 33 MB/s
test regexdna::variant9 ... bench: 151,635,430 ns/iter (+/- 128,912) = 33 MB/s
test sherlock::before_after_holmes ... bench: 36,941,681 ns/iter (+/- 36,199) = 16 MB/s
test sherlock::before_holmes ... bench: 36,920,860 ns/iter (+/- 38,258) = 16 MB/s
test sherlock::everything_greedy ... bench: 9,047,684 ns/iter (+/- 18,290) = 65 MB/s
test sherlock::holmes_cochar_watson ... bench: 12,634,723 ns/iter (+/- 36,086) = 47 MB/s
test sherlock::ing_suffix ... bench: 30,232,323 ns/iter (+/- 49,084) = 19 MB/s
test sherlock::ing_suffix_limited_space ... bench: 18,837,733 ns/iter (+/- 39,569) = 31 MB/s
test sherlock::name_alt1 ... bench: 12,462,918 ns/iter (+/- 17,158) = 47 MB/s
test sherlock::name_alt2 ... bench: 12,490,419 ns/iter (+/- 26,214) = 47 MB/s
test sherlock::name_alt3 ... bench: 33,156,941 ns/iter (+/- 47,236) = 17 MB/s
test sherlock::name_alt4 ... bench: 12,583,828 ns/iter (+/- 26,121) = 47 MB/s
test sherlock::name_alt5 ... bench: 16,615,345 ns/iter (+/- 22,930) = 35 MB/s
test sherlock::name_holmes ... bench: 8,307,917 ns/iter (+/- 17,452) = 71 MB/s
test sherlock::name_sherlock ... bench: 8,273,395 ns/iter (+/- 25,717) = 71 MB/s
test sherlock::name_sherlock_holmes ... bench: 8,270,000 ns/iter (+/- 19,702) = 71 MB/s
test sherlock::name_whitespace ... bench: 8,453,784 ns/iter (+/- 19,604) = 70 MB/s
test sherlock::no_match_common ... bench: 8,679,069 ns/iter (+/- 27,721) = 68 MB/s
test sherlock::no_match_really_common ... bench: 8,679,099 ns/iter (+/- 17,665) = 68 MB/s
test sherlock::no_match_uncommon ... bench: 8,260,259 ns/iter (+/- 147,913) = 72 MB/s
test sherlock::quotes ... bench: 10,257,367 ns/iter (+/- 25,054) = 58 MB/s
test sherlock::repeated_class_negation ... bench: 25,374,678 ns/iter (+/- 23,494) = 23 MB/s
test sherlock::the_lower ... bench: 9,424,206 ns/iter (+/- 23,231) = 63 MB/s
test sherlock::the_upper ... bench: 8,350,015 ns/iter (+/- 23,176) = 71 MB/s
test sherlock::the_whitespace ... bench: 9,285,991 ns/iter (+/- 16,835) = 64 MB/s
test sherlock::word_ending_n ... bench: 69,609,427 ns/iter (+/- 52,974) = 8 MB/s
test sherlock::words ... bench: 20,107,601 ns/iter (+/- 36,086) = 29 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 82 measured; 0 filtered out

View file

@ -0,0 +1,87 @@
running 82 tests
test misc::anchored_literal_long_match ... bench: 162 ns/iter (+/- 0) = 2407 MB/s
test misc::anchored_literal_long_non_match ... bench: 21,901 ns/iter (+/- 140) = 17 MB/s
test misc::anchored_literal_short_match ... bench: 162 ns/iter (+/- 0) = 160 MB/s
test misc::anchored_literal_short_non_match ... bench: 1,501 ns/iter (+/- 1) = 17 MB/s
test misc::easy0_1K ... bench: 39,405 ns/iter (+/- 250) = 26 MB/s
test misc::easy0_1MB ... bench: 39,706,678 ns/iter (+/- 103,211) = 26 MB/s
test misc::easy0_32 ... bench: 1,415 ns/iter (+/- 3) = 41 MB/s
test misc::easy0_32K ... bench: 1,241,085 ns/iter (+/- 5,625) = 26 MB/s
test misc::easy1_1K ... bench: 39,421 ns/iter (+/- 275) = 26 MB/s
test misc::easy1_1MB ... bench: 39,725,158 ns/iter (+/- 64,488) = 26 MB/s
test misc::easy1_32 ... bench: 1,421 ns/iter (+/- 8) = 36 MB/s
test misc::easy1_32K ... bench: 1,240,953 ns/iter (+/- 5,794) = 26 MB/s
test misc::hard_1K ... bench: 1,263,948 ns/iter (+/- 31,771)
test misc::hard_1MB ... bench: 1,331,000,673 ns/iter (+/- 7,401,131)
test misc::hard_32 ... bench: 37,752 ns/iter (+/- 109) = 1 MB/s
test misc::hard_32K ... bench: 41,044,286 ns/iter (+/- 57,765)
test misc::literal ... bench: 1,980 ns/iter (+/- 7) = 25 MB/s
test misc::long_needle1 ... bench: 12,425,121 ns/iter (+/- 36,611) = 8 MB/s
test misc::long_needle2 ... bench: 12,568,992 ns/iter (+/- 28,513) = 7 MB/s
test misc::match_class ... bench: 3,918 ns/iter (+/- 67) = 20 MB/s
test misc::match_class_in_range ... bench: 3,534 ns/iter (+/- 11) = 22 MB/s
test misc::medium_1K ... bench: 44,910 ns/iter (+/- 167) = 23 MB/s
test misc::medium_1MB ... bench: 45,558,328 ns/iter (+/- 77,166) = 23 MB/s
test misc::medium_32 ... bench: 1,599 ns/iter (+/- 12) = 37 MB/s
test misc::medium_32K ... bench: 1,423,945 ns/iter (+/- 9,468) = 23 MB/s
test misc::not_literal ... bench: 2,051 ns/iter (+/- 16) = 24 MB/s
test misc::one_pass_long_prefix ... bench: 222 ns/iter (+/- 0) = 117 MB/s
test misc::one_pass_long_prefix_not ... bench: 223 ns/iter (+/- 0) = 116 MB/s
test misc::one_pass_short ... bench: 2,002 ns/iter (+/- 37) = 8 MB/s
test misc::one_pass_short_not ... bench: 1,990 ns/iter (+/- 6) = 8 MB/s
test misc::reallyhard2_1K ... bench: 1,335,845 ns/iter (+/- 6,233)
test misc::reallyhard_1K ... bench: 1,208,846 ns/iter (+/- 6,070)
test misc::reallyhard_1MB ... bench: 1,291,183,401 ns/iter (+/- 4,281,775)
test misc::reallyhard_32 ... bench: 36,521 ns/iter (+/- 157) = 1 MB/s
test misc::reallyhard_32K ... bench: 40,131,467 ns/iter (+/- 66,846)
test misc::reverse_suffix_no_quadratic ... bench: 506,352 ns/iter (+/- 632) = 15 MB/s
test regexdna::find_new_lines ... bench: 510,954,670 ns/iter (+/- 1,946,366) = 9 MB/s
test regexdna::subst1 ... bench: 198,786,137 ns/iter (+/- 240,963) = 25 MB/s
test regexdna::subst10 ... bench: 198,733,597 ns/iter (+/- 770,484) = 25 MB/s
test regexdna::subst11 ... bench: 198,734,922 ns/iter (+/- 198,116) = 25 MB/s
test regexdna::subst2 ... bench: 198,735,715 ns/iter (+/- 235,337) = 25 MB/s
test regexdna::subst3 ... bench: 198,736,727 ns/iter (+/- 157,633) = 25 MB/s
test regexdna::subst4 ... bench: 198,811,880 ns/iter (+/- 1,502,214) = 25 MB/s
test regexdna::subst5 ... bench: 198,697,281 ns/iter (+/- 211,978) = 25 MB/s
test regexdna::subst6 ... bench: 198,714,239 ns/iter (+/- 1,187,050) = 25 MB/s
test regexdna::subst7 ... bench: 199,021,730 ns/iter (+/- 1,555,969) = 25 MB/s
test regexdna::subst8 ... bench: 199,033,133 ns/iter (+/- 213,859) = 25 MB/s
test regexdna::subst9 ... bench: 199,466,527 ns/iter (+/- 1,394,750) = 25 MB/s
test regexdna::variant1 ... bench: 403,588,578 ns/iter (+/- 493,905) = 12 MB/s
test regexdna::variant2 ... bench: 440,582,945 ns/iter (+/- 305,836) = 11 MB/s
test regexdna::variant3 ... bench: 417,460,804 ns/iter (+/- 1,858,105) = 12 MB/s
test regexdna::variant4 ... bench: 407,209,088 ns/iter (+/- 1,374,513) = 12 MB/s
test regexdna::variant5 ... bench: 408,665,895 ns/iter (+/- 338,946) = 12 MB/s
test regexdna::variant6 ... bench: 408,640,565 ns/iter (+/- 1,895,287) = 12 MB/s
test regexdna::variant7 ... bench: 406,340,097 ns/iter (+/- 2,309,358) = 12 MB/s
test regexdna::variant8 ... bench: 413,195,331 ns/iter (+/- 2,178,194) = 12 MB/s
test regexdna::variant9 ... bench: 438,844,927 ns/iter (+/- 2,589,599) = 11 MB/s
test sherlock::before_after_holmes ... bench: 165,435,560 ns/iter (+/- 165,901) = 3 MB/s
test sherlock::before_holmes ... bench: 164,466,984 ns/iter (+/- 178,082) = 3 MB/s
test sherlock::everything_greedy ... bench: 34,680,745 ns/iter (+/- 862,671) = 17 MB/s
test sherlock::holmes_cochar_watson ... bench: 59,712,596 ns/iter (+/- 85,049) = 9 MB/s
test sherlock::ing_suffix ... bench: 135,611,524 ns/iter (+/- 383,869) = 4 MB/s
test sherlock::ing_suffix_limited_space ... bench: 73,398,446 ns/iter (+/- 112,893) = 8 MB/s
test sherlock::name_alt1 ... bench: 42,274,906 ns/iter (+/- 60,836) = 14 MB/s
test sherlock::name_alt2 ... bench: 42,159,449 ns/iter (+/- 56,642) = 14 MB/s
test sherlock::name_alt3 ... bench: 121,926,811 ns/iter (+/- 624,877) = 4 MB/s
test sherlock::name_alt4 ... bench: 58,912,788 ns/iter (+/- 101,576) = 10 MB/s
test sherlock::name_alt5 ... bench: 63,891,303 ns/iter (+/- 79,754) = 9 MB/s
test sherlock::name_holmes ... bench: 22,995,759 ns/iter (+/- 45,074) = 25 MB/s
test sherlock::name_sherlock ... bench: 23,024,135 ns/iter (+/- 86,982) = 25 MB/s
test sherlock::name_sherlock_holmes ... bench: 23,026,357 ns/iter (+/- 42,271) = 25 MB/s
test sherlock::name_whitespace ... bench: 32,485,572 ns/iter (+/- 77,736) = 18 MB/s
test sherlock::no_match_common ... bench: 23,544,207 ns/iter (+/- 590,037) = 25 MB/s
test sherlock::no_match_really_common ... bench: 23,543,480 ns/iter (+/- 51,838) = 25 MB/s
test sherlock::no_match_uncommon ... bench: 23,024,692 ns/iter (+/- 78,358) = 25 MB/s
test sherlock::quotes ... bench: 42,376,602 ns/iter (+/- 49,060) = 14 MB/s
test sherlock::repeated_class_negation ... bench: 92,701,274 ns/iter (+/- 208,063) = 6 MB/s
test sherlock::the_lower ... bench: 23,553,163 ns/iter (+/- 61,446) = 25 MB/s
test sherlock::the_upper ... bench: 23,281,951 ns/iter (+/- 35,811) = 25 MB/s
test sherlock::the_whitespace ... bench: 33,011,779 ns/iter (+/- 65,085) = 18 MB/s
test sherlock::word_ending_n ... bench: 64,965,762 ns/iter (+/- 106,103) = 9 MB/s
test sherlock::words ... bench: 47,466,153 ns/iter (+/- 773,222) = 12 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 82 measured; 0 filtered out

View file

@ -0,0 +1,94 @@
running 89 tests
test misc::anchored_literal_long_match ... bench: 452 ns/iter (+/- 6) = 862 MB/s
test misc::anchored_literal_long_non_match ... bench: 92 ns/iter (+/- 2) = 4239 MB/s
test misc::anchored_literal_short_match ... bench: 454 ns/iter (+/- 6) = 57 MB/s
test misc::anchored_literal_short_non_match ... bench: 92 ns/iter (+/- 1) = 282 MB/s
test misc::easy0_1K ... bench: 9,231 ns/iter (+/- 59) = 113 MB/s
test misc::easy0_1MB ... bench: 2,828,050 ns/iter (+/- 9,104) = 370 MB/s
test misc::easy0_32 ... bench: 6,527 ns/iter (+/- 78) = 9 MB/s
test misc::easy0_32K ... bench: 94,825 ns/iter (+/- 410) = 345 MB/s
test misc::easy1_1K ... bench: 5,420 ns/iter (+/- 54) = 192 MB/s
test misc::easy1_1MB ... bench: 2,823,597 ns/iter (+/- 8,534) = 371 MB/s
test misc::easy1_32 ... bench: 2,727 ns/iter (+/- 80) = 19 MB/s
test misc::easy1_32K ... bench: 93,382 ns/iter (+/- 108) = 351 MB/s
test misc::hard_1K ... bench: 12,046 ns/iter (+/- 88) = 87 MB/s
test misc::hard_1MB ... bench: 2,831,445 ns/iter (+/- 9,713) = 370 MB/s
test misc::hard_32 ... bench: 9,257 ns/iter (+/- 63) = 6 MB/s
test misc::hard_32K ... bench: 97,613 ns/iter (+/- 533) = 335 MB/s
test misc::literal ... bench: 398 ns/iter (+/- 14) = 128 MB/s
test misc::long_needle1 ... bench: 18,459,088 ns/iter (+/- 162,391) = 5 MB/s
test misc::long_needle2 ... bench: 18,390,595 ns/iter (+/- 96,143) = 5 MB/s
test misc::match_class ... bench: 480 ns/iter (+/- 1) = 168 MB/s
test misc::match_class_in_range ... bench: 477 ns/iter (+/- 10) = 169 MB/s
test misc::medium_1K ... bench: 9,573 ns/iter (+/- 94) = 109 MB/s
test misc::medium_1MB ... bench: 2,828,512 ns/iter (+/- 28,270) = 370 MB/s
test misc::medium_32 ... bench: 6,874 ns/iter (+/- 68) = 8 MB/s
test misc::medium_32K ... bench: 95,040 ns/iter (+/- 517) = 345 MB/s
test misc::no_exponential ... bench: 1,976,788 ns/iter (+/- 20,661)
test misc::not_literal ... bench: 1,548 ns/iter (+/- 15) = 32 MB/s
test misc::one_pass_long_prefix ... bench: 5,063 ns/iter (+/- 76) = 5 MB/s
test misc::one_pass_long_prefix_not ... bench: 4,933 ns/iter (+/- 62) = 5 MB/s
test misc::one_pass_short ... bench: 486 ns/iter (+/- 4) = 34 MB/s
test misc::one_pass_short_not ... bench: 579 ns/iter (+/- 3) = 29 MB/s
test misc::reallyhard2_1K ... bench: 88,153 ns/iter (+/- 2,317) = 11 MB/s
test misc::reallyhard_1K ... bench: 12,157 ns/iter (+/- 51) = 86 MB/s
test misc::reallyhard_1MB ... bench: 2,866,126 ns/iter (+/- 71,338) = 365 MB/s
test misc::reallyhard_32 ... bench: 9,321 ns/iter (+/- 138) = 6 MB/s
test misc::reallyhard_32K ... bench: 97,799 ns/iter (+/- 1,087) = 335 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 22,679 ns/iter (+/- 293) = 352 MB/s
test regexdna::find_new_lines ... bench: 38,700,951 ns/iter (+/- 105,197) = 131 MB/s
test regexdna::subst1 ... bench: 22,123,470 ns/iter (+/- 96,738) = 229 MB/s
test regexdna::subst10 ... bench: 22,125,412 ns/iter (+/- 65,856) = 229 MB/s
test regexdna::subst11 ... bench: 22,178,791 ns/iter (+/- 75,853) = 229 MB/s
test regexdna::subst2 ... bench: 22,348,278 ns/iter (+/- 228,790) = 227 MB/s
test regexdna::subst3 ... bench: 22,187,493 ns/iter (+/- 69,149) = 229 MB/s
test regexdna::subst4 ... bench: 22,134,373 ns/iter (+/- 71,979) = 229 MB/s
test regexdna::subst5 ... bench: 22,183,169 ns/iter (+/- 66,220) = 229 MB/s
test regexdna::subst6 ... bench: 22,263,432 ns/iter (+/- 91,605) = 228 MB/s
test regexdna::subst7 ... bench: 22,256,481 ns/iter (+/- 62,794) = 228 MB/s
test regexdna::subst8 ... bench: 22,134,314 ns/iter (+/- 75,199) = 229 MB/s
test regexdna::subst9 ... bench: 22,144,129 ns/iter (+/- 76,744) = 229 MB/s
test regexdna::variant1 ... bench: 13,846,793 ns/iter (+/- 33,520) = 367 MB/s
test regexdna::variant2 ... bench: 14,248,239 ns/iter (+/- 62,252) = 356 MB/s
test regexdna::variant3 ... bench: 15,702,520 ns/iter (+/- 339,738) = 323 MB/s
test regexdna::variant4 ... bench: 15,143,136 ns/iter (+/- 52,300) = 335 MB/s
test regexdna::variant5 ... bench: 16,324,698 ns/iter (+/- 50,942) = 311 MB/s
test regexdna::variant6 ... bench: 14,508,593 ns/iter (+/- 46,251) = 350 MB/s
test regexdna::variant7 ... bench: 14,443,485 ns/iter (+/- 80,444) = 351 MB/s
test regexdna::variant8 ... bench: 14,430,571 ns/iter (+/- 63,143) = 352 MB/s
test regexdna::variant9 ... bench: 14,883,129 ns/iter (+/- 76,837) = 341 MB/s
test sherlock::before_after_holmes ... bench: 2,227,807 ns/iter (+/- 9,119) = 267 MB/s
test sherlock::before_holmes ... bench: 2,700,579 ns/iter (+/- 24,875) = 220 MB/s
test sherlock::holmes_cochar_watson ... bench: 2,211,847 ns/iter (+/- 15,027) = 268 MB/s
test sherlock::ing_suffix ... bench: 4,398,150 ns/iter (+/- 27,219) = 135 MB/s
test sherlock::ing_suffix_limited_space ... bench: 17,992,130 ns/iter (+/- 457,978) = 33 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 1,845,704 ns/iter (+/- 9,382) = 322 MB/s
test sherlock::name_alt1 ... bench: 1,890,373 ns/iter (+/- 9,971) = 314 MB/s
test sherlock::name_alt2 ... bench: 2,626,524 ns/iter (+/- 18,261) = 226 MB/s
test sherlock::name_alt3 ... bench: 4,468,643 ns/iter (+/- 11,946) = 133 MB/s
test sherlock::name_alt3_nocase ... bench: 7,226,342 ns/iter (+/- 57,220) = 82 MB/s
test sherlock::name_alt4 ... bench: 2,395,105 ns/iter (+/- 31,101) = 248 MB/s
test sherlock::name_alt4_nocase ... bench: 2,895,153 ns/iter (+/- 12,446) = 205 MB/s
test sherlock::name_alt5 ... bench: 3,253,560 ns/iter (+/- 33,725) = 182 MB/s
test sherlock::name_alt5_nocase ... bench: 4,008,656 ns/iter (+/- 39,415) = 148 MB/s
test sherlock::name_holmes ... bench: 2,076,117 ns/iter (+/- 6,376) = 286 MB/s
test sherlock::name_holmes_nocase ... bench: 2,157,634 ns/iter (+/- 6,494) = 275 MB/s
test sherlock::name_sherlock ... bench: 1,757,317 ns/iter (+/- 5,935) = 338 MB/s
test sherlock::name_sherlock_holmes ... bench: 1,897,004 ns/iter (+/- 12,012) = 313 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 1,939,722 ns/iter (+/- 6,273) = 306 MB/s
test sherlock::name_sherlock_nocase ... bench: 1,801,334 ns/iter (+/- 3,179) = 330 MB/s
test sherlock::name_whitespace ... bench: 1,910,996 ns/iter (+/- 6,429) = 311 MB/s
test sherlock::no_match_common ... bench: 1,601,431 ns/iter (+/- 7,131) = 371 MB/s
test sherlock::no_match_really_common ... bench: 1,601,153 ns/iter (+/- 4,375) = 371 MB/s
test sherlock::no_match_uncommon ... bench: 1,600,840 ns/iter (+/- 8,348) = 371 MB/s
test sherlock::quotes ... bench: 7,620,650 ns/iter (+/- 48,467) = 78 MB/s
test sherlock::repeated_class_negation ... bench: 55,564,521 ns/iter (+/- 210,324) = 10 MB/s
test sherlock::the_lower ... bench: 5,628,558 ns/iter (+/- 19,934) = 105 MB/s
test sherlock::the_nocase ... bench: 6,063,195 ns/iter (+/- 28,534) = 98 MB/s
test sherlock::the_upper ... bench: 1,992,703 ns/iter (+/- 6,736) = 298 MB/s
test sherlock::the_whitespace ... bench: 7,159,423 ns/iter (+/- 38,306) = 83 MB/s
test sherlock::words ... bench: 38,358,421 ns/iter (+/- 99,230) = 15 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 89 measured; 0 filtered out

View file

@ -0,0 +1,124 @@
running 119 tests
test misc::anchored_literal_long_match ... bench: 18 ns/iter (+/- 1) = 21666 MB/s
test misc::anchored_literal_long_non_match ... bench: 19 ns/iter (+/- 2) = 20526 MB/s
test misc::anchored_literal_short_match ... bench: 18 ns/iter (+/- 1) = 1444 MB/s
test misc::anchored_literal_short_non_match ... bench: 19 ns/iter (+/- 0) = 1368 MB/s
test misc::easy0_1K ... bench: 15 ns/iter (+/- 2) = 70066 MB/s
test misc::easy0_1MB ... bench: 22 ns/iter (+/- 0) = 47663772 MB/s
test misc::easy0_32 ... bench: 14 ns/iter (+/- 2) = 4214 MB/s
test misc::easy0_32K ... bench: 15 ns/iter (+/- 1) = 2186333 MB/s
test misc::easy1_1K ... bench: 40 ns/iter (+/- 2) = 26100 MB/s
test misc::easy1_1MB ... bench: 44 ns/iter (+/- 5) = 23831727 MB/s
test misc::easy1_32 ... bench: 39 ns/iter (+/- 5) = 1333 MB/s
test misc::easy1_32K ... bench: 41 ns/iter (+/- 3) = 799707 MB/s
test misc::hard_1K ... bench: 50 ns/iter (+/- 7) = 21020 MB/s
test misc::hard_1MB ... bench: 55 ns/iter (+/- 6) = 19065509 MB/s
test misc::hard_32 ... bench: 50 ns/iter (+/- 7) = 1180 MB/s
test misc::hard_32K ... bench: 50 ns/iter (+/- 2) = 655900 MB/s
test misc::is_match_set ... bench: 60 ns/iter (+/- 2) = 416 MB/s
test misc::literal ... bench: 12 ns/iter (+/- 1) = 4250 MB/s
test misc::long_needle1 ... bench: 3,252 ns/iter (+/- 168) = 30750 MB/s
test misc::long_needle2 ... bench: 355,576 ns/iter (+/- 34,074) = 281 MB/s
test misc::match_class ... bench: 67 ns/iter (+/- 2) = 1208 MB/s
test misc::match_class_in_range ... bench: 14 ns/iter (+/- 0) = 5785 MB/s
test misc::match_class_unicode ... bench: 256 ns/iter (+/- 36) = 628 MB/s
test misc::matches_set ... bench: 458 ns/iter (+/- 65) = 54 MB/s
test misc::medium_1K ... bench: 15 ns/iter (+/- 1) = 70133 MB/s
test misc::medium_1MB ... bench: 23 ns/iter (+/- 2) = 45591478 MB/s
test misc::medium_32 ... bench: 15 ns/iter (+/- 0) = 4000 MB/s
test misc::medium_32K ... bench: 15 ns/iter (+/- 0) = 2186400 MB/s
test misc::no_exponential ... bench: 406 ns/iter (+/- 32) = 246 MB/s
test misc::not_literal ... bench: 90 ns/iter (+/- 12) = 566 MB/s
test misc::one_pass_long_prefix ... bench: 53 ns/iter (+/- 1) = 490 MB/s
test misc::one_pass_long_prefix_not ... bench: 51 ns/iter (+/- 7) = 509 MB/s
test misc::one_pass_short ... bench: 37 ns/iter (+/- 1) = 459 MB/s
test misc::one_pass_short_not ... bench: 39 ns/iter (+/- 5) = 435 MB/s
test misc::reallyhard2_1K ... bench: 75 ns/iter (+/- 2) = 13866 MB/s
test misc::reallyhard_1K ... bench: 1,591 ns/iter (+/- 227) = 660 MB/s
test misc::reallyhard_1MB ... bench: 1,576,602 ns/iter (+/- 204,573) = 665 MB/s
test misc::reallyhard_32 ... bench: 102 ns/iter (+/- 7) = 578 MB/s
test misc::reallyhard_32K ... bench: 49,327 ns/iter (+/- 4,812) = 664 MB/s
test misc::replace_all ... bench: 132 ns/iter (+/- 13)
test misc::reverse_suffix_no_quadratic ... bench: 4,190 ns/iter (+/- 581) = 1909 MB/s
test misc::short_haystack_1000000x ... bench: 132,982 ns/iter (+/- 18,045) = 60158 MB/s
test misc::short_haystack_100000x ... bench: 14,720 ns/iter (+/- 946) = 54348 MB/s
test misc::short_haystack_10000x ... bench: 5,993 ns/iter (+/- 381) = 13350 MB/s
test misc::short_haystack_1000x ... bench: 476 ns/iter (+/- 58) = 16829 MB/s
test misc::short_haystack_100x ... bench: 227 ns/iter (+/- 22) = 3572 MB/s
test misc::short_haystack_10x ... bench: 211 ns/iter (+/- 13) = 431 MB/s
test misc::short_haystack_1x ... bench: 204 ns/iter (+/- 29) = 93 MB/s
test misc::short_haystack_2x ... bench: 206 ns/iter (+/- 7) = 131 MB/s
test misc::short_haystack_3x ... bench: 212 ns/iter (+/- 16) = 165 MB/s
test misc::short_haystack_4x ... bench: 207 ns/iter (+/- 29) = 207 MB/s
test regexdna::find_new_lines ... bench: 12,053,740 ns/iter (+/- 393,644) = 421 MB/s
test regexdna::subst1 ... bench: 786,112 ns/iter (+/- 91,136) = 6466 MB/s
test regexdna::subst10 ... bench: 831,353 ns/iter (+/- 67,293) = 6114 MB/s
test regexdna::subst11 ... bench: 784,021 ns/iter (+/- 28,112) = 6483 MB/s
test regexdna::subst2 ... bench: 785,838 ns/iter (+/- 108,510) = 6468 MB/s
test regexdna::subst3 ... bench: 791,789 ns/iter (+/- 37,364) = 6420 MB/s
test regexdna::subst4 ... bench: 784,224 ns/iter (+/- 23,802) = 6482 MB/s
test regexdna::subst5 ... bench: 788,368 ns/iter (+/- 75,171) = 6448 MB/s
test regexdna::subst6 ... bench: 784,730 ns/iter (+/- 48,594) = 6477 MB/s
test regexdna::subst7 ... bench: 788,067 ns/iter (+/- 88,333) = 6450 MB/s
test regexdna::subst8 ... bench: 810,784 ns/iter (+/- 111,836) = 6269 MB/s
test regexdna::subst9 ... bench: 788,854 ns/iter (+/- 66,496) = 6444 MB/s
test regexdna::variant1 ... bench: 2,238,677 ns/iter (+/- 144,752) = 2270 MB/s
test regexdna::variant2 ... bench: 3,258,761 ns/iter (+/- 205,012) = 1559 MB/s
test regexdna::variant3 ... bench: 3,818,146 ns/iter (+/- 254,877) = 1331 MB/s
test regexdna::variant4 ... bench: 3,837,323 ns/iter (+/- 349,373) = 1324 MB/s
test regexdna::variant5 ... bench: 2,698,901 ns/iter (+/- 111,145) = 1883 MB/s
test regexdna::variant6 ... bench: 2,687,854 ns/iter (+/- 184,039) = 1891 MB/s
test regexdna::variant7 ... bench: 3,291,211 ns/iter (+/- 220,992) = 1544 MB/s
test regexdna::variant8 ... bench: 3,359,262 ns/iter (+/- 185,610) = 1513 MB/s
test regexdna::variant9 ... bench: 3,293,953 ns/iter (+/- 245,454) = 1543 MB/s
test rust_compile::compile_huge ... bench: 95,142 ns/iter (+/- 10,195)
test rust_compile::compile_huge_bytes ... bench: 5,650,680 ns/iter (+/- 252,936)
test rust_compile::compile_huge_full ... bench: 10,867,986 ns/iter (+/- 275,259)
test rust_compile::compile_simple ... bench: 3,751 ns/iter (+/- 310)
test rust_compile::compile_simple_bytes ... bench: 3,664 ns/iter (+/- 172)
test rust_compile::compile_simple_full ... bench: 22,078 ns/iter (+/- 3,259)
test rust_compile::compile_small ... bench: 8,499 ns/iter (+/- 942)
test rust_compile::compile_small_bytes ... bench: 151,196 ns/iter (+/- 16,322)
test rust_compile::compile_small_full ... bench: 309,597 ns/iter (+/- 32,622)
test sherlock::before_after_holmes ... bench: 917,591 ns/iter (+/- 55,643) = 648 MB/s
test sherlock::before_holmes ... bench: 62,726 ns/iter (+/- 8,861) = 9484 MB/s
test sherlock::everything_greedy ... bench: 2,036,050 ns/iter (+/- 152,461) = 292 MB/s
test sherlock::everything_greedy_nl ... bench: 796,690 ns/iter (+/- 71,089) = 746 MB/s
test sherlock::holmes_cochar_watson ... bench: 106,258 ns/iter (+/- 8,294) = 5598 MB/s
test sherlock::holmes_coword_watson ... bench: 481,086 ns/iter (+/- 60,212) = 1236 MB/s
test sherlock::ing_suffix ... bench: 322,033 ns/iter (+/- 8,912) = 1847 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,067,523 ns/iter (+/- 89,630) = 557 MB/s
test sherlock::letters ... bench: 22,745,932 ns/iter (+/- 428,787) = 26 MB/s
test sherlock::letters_lower ... bench: 22,228,365 ns/iter (+/- 495,287) = 26 MB/s
test sherlock::letters_upper ... bench: 1,775,941 ns/iter (+/- 158,985) = 334 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 897,327 ns/iter (+/- 49,085) = 663 MB/s
test sherlock::name_alt1 ... bench: 32,008 ns/iter (+/- 4,011) = 18587 MB/s
test sherlock::name_alt2 ... bench: 86,850 ns/iter (+/- 5,463) = 6850 MB/s
test sherlock::name_alt3 ... bench: 98,359 ns/iter (+/- 14,052) = 6048 MB/s
test sherlock::name_alt3_nocase ... bench: 381,147 ns/iter (+/- 16,996) = 1560 MB/s
test sherlock::name_alt4 ... bench: 121,025 ns/iter (+/- 16,654) = 4915 MB/s
test sherlock::name_alt4_nocase ... bench: 188,972 ns/iter (+/- 26,145) = 3148 MB/s
test sherlock::name_alt5 ... bench: 91,832 ns/iter (+/- 6,188) = 6478 MB/s
test sherlock::name_alt5_nocase ... bench: 351,422 ns/iter (+/- 49,084) = 1692 MB/s
test sherlock::name_holmes ... bench: 33,405 ns/iter (+/- 3,113) = 17809 MB/s
test sherlock::name_holmes_nocase ... bench: 134,899 ns/iter (+/- 10,883) = 4410 MB/s
test sherlock::name_sherlock ... bench: 22,455 ns/iter (+/- 2,027) = 26494 MB/s
test sherlock::name_sherlock_holmes ... bench: 22,283 ns/iter (+/- 2,281) = 26698 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 97,492 ns/iter (+/- 6,496) = 6102 MB/s
test sherlock::name_sherlock_nocase ... bench: 95,627 ns/iter (+/- 8,442) = 6221 MB/s
test sherlock::name_whitespace ... bench: 30,702 ns/iter (+/- 4,194) = 19377 MB/s
test sherlock::no_match_common ... bench: 19,616 ns/iter (+/- 2,677) = 30328 MB/s
test sherlock::no_match_really_common ... bench: 25,601 ns/iter (+/- 2,506) = 23238 MB/s
test sherlock::no_match_uncommon ... bench: 19,641 ns/iter (+/- 2,175) = 30290 MB/s
test sherlock::quotes ... bench: 369,048 ns/iter (+/- 25,898) = 1612 MB/s
test sherlock::repeated_class_negation ... bench: 75,780,396 ns/iter (+/- 1,032,817) = 7 MB/s
test sherlock::the_lower ... bench: 327,762 ns/iter (+/- 48,769) = 1815 MB/s
test sherlock::the_nocase ... bench: 532,075 ns/iter (+/- 40,117) = 1118 MB/s
test sherlock::the_upper ... bench: 45,197 ns/iter (+/- 1,621) = 13163 MB/s
test sherlock::the_whitespace ... bench: 819,239 ns/iter (+/- 81,388) = 726 MB/s
test sherlock::word_ending_n ... bench: 1,716,625 ns/iter (+/- 120,247) = 346 MB/s
test sherlock::words ... bench: 8,690,764 ns/iter (+/- 322,915) = 68 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 119 measured; 0 filtered out; finished in 114.31s

View file

@ -0,0 +1,124 @@
running 119 tests
test misc::anchored_literal_long_match ... bench: 18 ns/iter (+/- 2) = 21666 MB/s
test misc::anchored_literal_long_non_match ... bench: 19 ns/iter (+/- 1) = 20526 MB/s
test misc::anchored_literal_short_match ... bench: 18 ns/iter (+/- 1) = 1444 MB/s
test misc::anchored_literal_short_non_match ... bench: 19 ns/iter (+/- 2) = 1368 MB/s
test misc::easy0_1K ... bench: 15 ns/iter (+/- 1) = 70066 MB/s
test misc::easy0_1MB ... bench: 22 ns/iter (+/- 1) = 47663772 MB/s
test misc::easy0_32 ... bench: 14 ns/iter (+/- 1) = 4214 MB/s
test misc::easy0_32K ... bench: 15 ns/iter (+/- 1) = 2186333 MB/s
test misc::easy1_1K ... bench: 39 ns/iter (+/- 4) = 26769 MB/s
test misc::easy1_1MB ... bench: 43 ns/iter (+/- 3) = 24385953 MB/s
test misc::easy1_32 ... bench: 39 ns/iter (+/- 4) = 1333 MB/s
test misc::easy1_32K ... bench: 39 ns/iter (+/- 3) = 840717 MB/s
test misc::hard_1K ... bench: 50 ns/iter (+/- 5) = 21020 MB/s
test misc::hard_1MB ... bench: 55 ns/iter (+/- 7) = 19065509 MB/s
test misc::hard_32 ... bench: 50 ns/iter (+/- 5) = 1180 MB/s
test misc::hard_32K ... bench: 50 ns/iter (+/- 6) = 655900 MB/s
test misc::is_match_set ... bench: 60 ns/iter (+/- 4) = 416 MB/s
test misc::literal ... bench: 12 ns/iter (+/- 0) = 4250 MB/s
test misc::long_needle1 ... bench: 3,251 ns/iter (+/- 333) = 30760 MB/s
test misc::long_needle2 ... bench: 355,576 ns/iter (+/- 24,612) = 281 MB/s
test misc::match_class ... bench: 66 ns/iter (+/- 1) = 1227 MB/s
test misc::match_class_in_range ... bench: 14 ns/iter (+/- 1) = 5785 MB/s
test misc::match_class_unicode ... bench: 254 ns/iter (+/- 25) = 633 MB/s
test misc::matches_set ... bench: 456 ns/iter (+/- 17) = 54 MB/s
test misc::medium_1K ... bench: 15 ns/iter (+/- 0) = 70133 MB/s
test misc::medium_1MB ... bench: 23 ns/iter (+/- 2) = 45591478 MB/s
test misc::medium_32 ... bench: 15 ns/iter (+/- 2) = 4000 MB/s
test misc::medium_32K ... bench: 15 ns/iter (+/- 2) = 2186400 MB/s
test misc::no_exponential ... bench: 403 ns/iter (+/- 55) = 248 MB/s
test misc::not_literal ... bench: 90 ns/iter (+/- 12) = 566 MB/s
test misc::one_pass_long_prefix ... bench: 51 ns/iter (+/- 7) = 509 MB/s
test misc::one_pass_long_prefix_not ... bench: 51 ns/iter (+/- 5) = 509 MB/s
test misc::one_pass_short ... bench: 38 ns/iter (+/- 5) = 447 MB/s
test misc::one_pass_short_not ... bench: 39 ns/iter (+/- 1) = 435 MB/s
test misc::reallyhard2_1K ... bench: 75 ns/iter (+/- 2) = 13866 MB/s
test misc::reallyhard_1K ... bench: 1,592 ns/iter (+/- 148) = 660 MB/s
test misc::reallyhard_1MB ... bench: 1,576,299 ns/iter (+/- 142,145) = 665 MB/s
test misc::reallyhard_32 ... bench: 103 ns/iter (+/- 8) = 572 MB/s
test misc::reallyhard_32K ... bench: 49,326 ns/iter (+/- 3,202) = 664 MB/s
test misc::replace_all ... bench: 132 ns/iter (+/- 16)
test misc::reverse_suffix_no_quadratic ... bench: 4,168 ns/iter (+/- 227) = 1919 MB/s
test misc::short_haystack_1000000x ... bench: 132,733 ns/iter (+/- 18,141) = 60271 MB/s
test misc::short_haystack_100000x ... bench: 14,468 ns/iter (+/- 1,777) = 55295 MB/s
test misc::short_haystack_10000x ... bench: 6,316 ns/iter (+/- 360) = 12667 MB/s
test misc::short_haystack_1000x ... bench: 474 ns/iter (+/- 69) = 16900 MB/s
test misc::short_haystack_100x ... bench: 229 ns/iter (+/- 32) = 3541 MB/s
test misc::short_haystack_10x ... bench: 212 ns/iter (+/- 18) = 429 MB/s
test misc::short_haystack_1x ... bench: 205 ns/iter (+/- 28) = 92 MB/s
test misc::short_haystack_2x ... bench: 207 ns/iter (+/- 20) = 130 MB/s
test misc::short_haystack_3x ... bench: 213 ns/iter (+/- 7) = 164 MB/s
test misc::short_haystack_4x ... bench: 208 ns/iter (+/- 9) = 206 MB/s
test regexdna::find_new_lines ... bench: 12,050,847 ns/iter (+/- 346,484) = 421 MB/s
test regexdna::subst1 ... bench: 817,689 ns/iter (+/- 104,629) = 6216 MB/s
test regexdna::subst10 ... bench: 788,728 ns/iter (+/- 66,497) = 6445 MB/s
test regexdna::subst11 ... bench: 787,188 ns/iter (+/- 49,158) = 6457 MB/s
test regexdna::subst2 ... bench: 787,143 ns/iter (+/- 108,541) = 6458 MB/s
test regexdna::subst3 ... bench: 792,452 ns/iter (+/- 32,963) = 6414 MB/s
test regexdna::subst4 ... bench: 820,043 ns/iter (+/- 71,037) = 6198 MB/s
test regexdna::subst5 ... bench: 790,043 ns/iter (+/- 39,234) = 6434 MB/s
test regexdna::subst6 ... bench: 785,007 ns/iter (+/- 18,701) = 6475 MB/s
test regexdna::subst7 ... bench: 789,393 ns/iter (+/- 51,525) = 6439 MB/s
test regexdna::subst8 ... bench: 784,190 ns/iter (+/- 90,675) = 6482 MB/s
test regexdna::subst9 ... bench: 789,021 ns/iter (+/- 88,256) = 6442 MB/s
test regexdna::variant1 ... bench: 2,237,592 ns/iter (+/- 146,174) = 2271 MB/s
test regexdna::variant2 ... bench: 3,255,382 ns/iter (+/- 179,473) = 1561 MB/s
test regexdna::variant3 ... bench: 3,812,799 ns/iter (+/- 210,786) = 1333 MB/s
test regexdna::variant4 ... bench: 3,853,476 ns/iter (+/- 263,442) = 1319 MB/s
test regexdna::variant5 ... bench: 2,696,756 ns/iter (+/- 161,353) = 1885 MB/s
test regexdna::variant6 ... bench: 2,683,221 ns/iter (+/- 149,650) = 1894 MB/s
test regexdna::variant7 ... bench: 3,289,426 ns/iter (+/- 209,217) = 1545 MB/s
test regexdna::variant8 ... bench: 3,362,858 ns/iter (+/- 274,273) = 1511 MB/s
test regexdna::variant9 ... bench: 3,287,253 ns/iter (+/- 188,894) = 1546 MB/s
test rust_compile::compile_huge ... bench: 94,912 ns/iter (+/- 12,311)
test rust_compile::compile_huge_bytes ... bench: 5,534,281 ns/iter (+/- 192,069)
test rust_compile::compile_huge_full ... bench: 10,969,970 ns/iter (+/- 312,230)
test rust_compile::compile_simple ... bench: 3,523 ns/iter (+/- 525)
test rust_compile::compile_simple_bytes ... bench: 3,564 ns/iter (+/- 355)
test rust_compile::compile_simple_full ... bench: 19,887 ns/iter (+/- 1,885)
test rust_compile::compile_small ... bench: 8,294 ns/iter (+/- 1,123)
test rust_compile::compile_small_bytes ... bench: 153,070 ns/iter (+/- 20,825)
test rust_compile::compile_small_full ... bench: 313,318 ns/iter (+/- 28,271)
test sherlock::before_after_holmes ... bench: 907,585 ns/iter (+/- 86,027) = 655 MB/s
test sherlock::before_holmes ... bench: 62,765 ns/iter (+/- 6,413) = 9478 MB/s
test sherlock::everything_greedy ... bench: 2,033,519 ns/iter (+/- 97,963) = 292 MB/s
test sherlock::everything_greedy_nl ... bench: 796,514 ns/iter (+/- 48,247) = 746 MB/s
test sherlock::holmes_cochar_watson ... bench: 107,788 ns/iter (+/- 15,545) = 5519 MB/s
test sherlock::holmes_coword_watson ... bench: 482,686 ns/iter (+/- 49,033) = 1232 MB/s
test sherlock::ing_suffix ... bench: 322,901 ns/iter (+/- 46,329) = 1842 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,067,799 ns/iter (+/- 57,022) = 557 MB/s
test sherlock::letters ... bench: 22,823,246 ns/iter (+/- 472,094) = 26 MB/s
test sherlock::letters_lower ... bench: 22,137,278 ns/iter (+/- 443,188) = 26 MB/s
test sherlock::letters_upper ... bench: 1,773,598 ns/iter (+/- 96,994) = 335 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 897,623 ns/iter (+/- 48,509) = 662 MB/s
test sherlock::name_alt1 ... bench: 31,882 ns/iter (+/- 3,354) = 18660 MB/s
test sherlock::name_alt2 ... bench: 86,500 ns/iter (+/- 7,997) = 6877 MB/s
test sherlock::name_alt3 ... bench: 98,159 ns/iter (+/- 6,106) = 6060 MB/s
test sherlock::name_alt3_nocase ... bench: 383,858 ns/iter (+/- 19,224) = 1549 MB/s
test sherlock::name_alt4 ... bench: 122,489 ns/iter (+/- 17,271) = 4857 MB/s
test sherlock::name_alt4_nocase ... bench: 192,081 ns/iter (+/- 10,999) = 3097 MB/s
test sherlock::name_alt5 ... bench: 91,396 ns/iter (+/- 6,399) = 6509 MB/s
test sherlock::name_alt5_nocase ... bench: 354,804 ns/iter (+/- 26,158) = 1676 MB/s
test sherlock::name_holmes ... bench: 33,569 ns/iter (+/- 4,647) = 17722 MB/s
test sherlock::name_holmes_nocase ... bench: 136,387 ns/iter (+/- 14,005) = 4362 MB/s
test sherlock::name_sherlock ... bench: 22,468 ns/iter (+/- 1,144) = 26479 MB/s
test sherlock::name_sherlock_holmes ... bench: 22,279 ns/iter (+/- 1,563) = 26703 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 98,003 ns/iter (+/- 10,978) = 6070 MB/s
test sherlock::name_sherlock_nocase ... bench: 96,130 ns/iter (+/- 4,373) = 6188 MB/s
test sherlock::name_whitespace ... bench: 30,532 ns/iter (+/- 3,125) = 19485 MB/s
test sherlock::no_match_common ... bench: 19,644 ns/iter (+/- 2,118) = 30285 MB/s
test sherlock::no_match_really_common ... bench: 25,374 ns/iter (+/- 1,538) = 23446 MB/s
test sherlock::no_match_uncommon ... bench: 19,602 ns/iter (+/- 427) = 30350 MB/s
test sherlock::quotes ... bench: 369,657 ns/iter (+/- 52,406) = 1609 MB/s
test sherlock::repeated_class_negation ... bench: 76,922,839 ns/iter (+/- 1,261,770) = 7 MB/s
test sherlock::the_lower ... bench: 326,221 ns/iter (+/- 35,683) = 1823 MB/s
test sherlock::the_nocase ... bench: 525,254 ns/iter (+/- 26,000) = 1132 MB/s
test sherlock::the_upper ... bench: 44,702 ns/iter (+/- 5,012) = 13308 MB/s
test sherlock::the_whitespace ... bench: 814,494 ns/iter (+/- 66,715) = 730 MB/s
test sherlock::word_ending_n ... bench: 1,705,139 ns/iter (+/- 97,420) = 348 MB/s
test sherlock::words ... bench: 8,632,437 ns/iter (+/- 278,177) = 68 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 119 measured; 0 filtered out; finished in 106.01s

View file

@ -0,0 +1,124 @@
running 119 tests
test misc::anchored_literal_long_match ... bench: 18 ns/iter (+/- 1) = 21666 MB/s
test misc::anchored_literal_long_non_match ... bench: 17 ns/iter (+/- 1) = 22941 MB/s
test misc::anchored_literal_short_match ... bench: 16 ns/iter (+/- 2) = 1625 MB/s
test misc::anchored_literal_short_non_match ... bench: 17 ns/iter (+/- 2) = 1529 MB/s
test misc::easy0_1K ... bench: 12 ns/iter (+/- 1) = 87583 MB/s
test misc::easy0_1MB ... bench: 15 ns/iter (+/- 0) = 69906866 MB/s
test misc::easy0_32 ... bench: 11 ns/iter (+/- 0) = 5363 MB/s
test misc::easy0_32K ... bench: 12 ns/iter (+/- 2) = 2732916 MB/s
test misc::easy1_1K ... bench: 39 ns/iter (+/- 5) = 26769 MB/s
test misc::easy1_1MB ... bench: 40 ns/iter (+/- 6) = 26214900 MB/s
test misc::easy1_32 ... bench: 39 ns/iter (+/- 3) = 1333 MB/s
test misc::easy1_32K ... bench: 39 ns/iter (+/- 5) = 840717 MB/s
test misc::hard_1K ... bench: 49 ns/iter (+/- 1) = 21448 MB/s
test misc::hard_1MB ... bench: 52 ns/iter (+/- 2) = 20165442 MB/s
test misc::hard_32 ... bench: 49 ns/iter (+/- 2) = 1204 MB/s
test misc::hard_32K ... bench: 49 ns/iter (+/- 3) = 669285 MB/s
test misc::is_match_set ... bench: 59 ns/iter (+/- 2) = 423 MB/s
test misc::literal ... bench: 11 ns/iter (+/- 1) = 4636 MB/s
test misc::long_needle1 ... bench: 1,161 ns/iter (+/- 54) = 86133 MB/s
test misc::long_needle2 ... bench: 680,687 ns/iter (+/- 63,713) = 146 MB/s
test misc::match_class ... bench: 69 ns/iter (+/- 4) = 1173 MB/s
test misc::match_class_in_range ... bench: 13 ns/iter (+/- 0) = 6230 MB/s
test misc::match_class_unicode ... bench: 253 ns/iter (+/- 9) = 636 MB/s
test misc::matches_set ... bench: 453 ns/iter (+/- 65) = 55 MB/s
test misc::medium_1K ... bench: 13 ns/iter (+/- 0) = 80923 MB/s
test misc::medium_1MB ... bench: 17 ns/iter (+/- 2) = 61682588 MB/s
test misc::medium_32 ... bench: 13 ns/iter (+/- 0) = 4615 MB/s
test misc::medium_32K ... bench: 13 ns/iter (+/- 0) = 2522769 MB/s
test misc::no_exponential ... bench: 330 ns/iter (+/- 47) = 303 MB/s
test misc::not_literal ... bench: 88 ns/iter (+/- 9) = 579 MB/s
test misc::one_pass_long_prefix ... bench: 50 ns/iter (+/- 7) = 520 MB/s
test misc::one_pass_long_prefix_not ... bench: 50 ns/iter (+/- 2) = 520 MB/s
test misc::one_pass_short ... bench: 36 ns/iter (+/- 4) = 472 MB/s
test misc::one_pass_short_not ... bench: 39 ns/iter (+/- 2) = 435 MB/s
test misc::reallyhard2_1K ... bench: 55 ns/iter (+/- 7) = 18909 MB/s
test misc::reallyhard_1K ... bench: 1,590 ns/iter (+/- 225) = 661 MB/s
test misc::reallyhard_1MB ... bench: 1,580,163 ns/iter (+/- 224,935) = 663 MB/s
test misc::reallyhard_32 ... bench: 100 ns/iter (+/- 6) = 590 MB/s
test misc::reallyhard_32K ... bench: 49,318 ns/iter (+/- 6,046) = 664 MB/s
test misc::replace_all ... bench: 127 ns/iter (+/- 14)
test misc::reverse_suffix_no_quadratic ... bench: 4,240 ns/iter (+/- 117) = 1886 MB/s
test misc::short_haystack_1000000x ... bench: 89,004 ns/iter (+/- 2,927) = 89883 MB/s
test misc::short_haystack_100000x ... bench: 10,349 ns/iter (+/- 334) = 77303 MB/s
test misc::short_haystack_10000x ... bench: 5,835 ns/iter (+/- 700) = 13712 MB/s
test misc::short_haystack_1000x ... bench: 563 ns/iter (+/- 33) = 14229 MB/s
test misc::short_haystack_100x ... bench: 260 ns/iter (+/- 21) = 3119 MB/s
test misc::short_haystack_10x ... bench: 221 ns/iter (+/- 31) = 411 MB/s
test misc::short_haystack_1x ... bench: 211 ns/iter (+/- 30) = 90 MB/s
test misc::short_haystack_2x ... bench: 213 ns/iter (+/- 19) = 126 MB/s
test misc::short_haystack_3x ... bench: 212 ns/iter (+/- 7) = 165 MB/s
test misc::short_haystack_4x ... bench: 221 ns/iter (+/- 26) = 194 MB/s
test regexdna::find_new_lines ... bench: 12,035,248 ns/iter (+/- 362,122) = 422 MB/s
test regexdna::subst1 ... bench: 787,853 ns/iter (+/- 29,667) = 6452 MB/s
test regexdna::subst10 ... bench: 750,718 ns/iter (+/- 103,118) = 6771 MB/s
test regexdna::subst11 ... bench: 749,377 ns/iter (+/- 103,312) = 6783 MB/s
test regexdna::subst2 ... bench: 748,785 ns/iter (+/- 83,175) = 6788 MB/s
test regexdna::subst3 ... bench: 755,004 ns/iter (+/- 75,589) = 6732 MB/s
test regexdna::subst4 ... bench: 747,617 ns/iter (+/- 70,600) = 6799 MB/s
test regexdna::subst5 ... bench: 752,458 ns/iter (+/- 86,154) = 6755 MB/s
test regexdna::subst6 ... bench: 749,801 ns/iter (+/- 102,642) = 6779 MB/s
test regexdna::subst7 ... bench: 760,975 ns/iter (+/- 105,159) = 6680 MB/s
test regexdna::subst8 ... bench: 749,002 ns/iter (+/- 82,082) = 6786 MB/s
test regexdna::subst9 ... bench: 751,248 ns/iter (+/- 100,152) = 6766 MB/s
test regexdna::variant1 ... bench: 2,211,035 ns/iter (+/- 150,147) = 2299 MB/s
test regexdna::variant2 ... bench: 3,210,193 ns/iter (+/- 161,942) = 1583 MB/s
test regexdna::variant3 ... bench: 3,793,641 ns/iter (+/- 203,795) = 1339 MB/s
test regexdna::variant4 ... bench: 3,799,721 ns/iter (+/- 140,933) = 1337 MB/s
test regexdna::variant5 ... bench: 2,652,750 ns/iter (+/- 185,489) = 1916 MB/s
test regexdna::variant6 ... bench: 2,633,257 ns/iter (+/- 211,323) = 1930 MB/s
test regexdna::variant7 ... bench: 3,268,111 ns/iter (+/- 176,273) = 1555 MB/s
test regexdna::variant8 ... bench: 3,331,333 ns/iter (+/- 264,431) = 1525 MB/s
test regexdna::variant9 ... bench: 3,268,398 ns/iter (+/- 298,223) = 1555 MB/s
test rust_compile::compile_huge ... bench: 94,562 ns/iter (+/- 2,194)
test rust_compile::compile_huge_bytes ... bench: 5,611,428 ns/iter (+/- 202,365)
test rust_compile::compile_huge_full ... bench: 10,933,505 ns/iter (+/- 325,078)
test rust_compile::compile_simple ... bench: 3,496 ns/iter (+/- 156)
test rust_compile::compile_simple_bytes ... bench: 3,572 ns/iter (+/- 389)
test rust_compile::compile_simple_full ... bench: 20,283 ns/iter (+/- 1,894)
test rust_compile::compile_small ... bench: 8,475 ns/iter (+/- 1,008)
test rust_compile::compile_small_bytes ... bench: 157,446 ns/iter (+/- 11,319)
test rust_compile::compile_small_full ... bench: 316,041 ns/iter (+/- 23,620)
test sherlock::before_after_holmes ... bench: 906,578 ns/iter (+/- 129,507) = 656 MB/s
test sherlock::before_holmes ... bench: 64,715 ns/iter (+/- 9,107) = 9193 MB/s
test sherlock::everything_greedy ... bench: 2,065,017 ns/iter (+/- 156,855) = 288 MB/s
test sherlock::everything_greedy_nl ... bench: 810,672 ns/iter (+/- 100,547) = 733 MB/s
test sherlock::holmes_cochar_watson ... bench: 106,124 ns/iter (+/- 10,948) = 5606 MB/s
test sherlock::holmes_coword_watson ... bench: 488,503 ns/iter (+/- 63,243) = 1217 MB/s
test sherlock::ing_suffix ... bench: 384,936 ns/iter (+/- 25,316) = 1545 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,060,294 ns/iter (+/- 152,263) = 561 MB/s
test sherlock::letters ... bench: 22,127,059 ns/iter (+/- 413,502) = 26 MB/s
test sherlock::letters_lower ... bench: 21,535,012 ns/iter (+/- 463,835) = 27 MB/s
test sherlock::letters_upper ... bench: 1,758,480 ns/iter (+/- 130,352) = 338 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 897,329 ns/iter (+/- 96,625) = 663 MB/s
test sherlock::name_alt1 ... bench: 31,585 ns/iter (+/- 2,796) = 18835 MB/s
test sherlock::name_alt2 ... bench: 86,223 ns/iter (+/- 9,553) = 6899 MB/s
test sherlock::name_alt3 ... bench: 97,177 ns/iter (+/- 11,479) = 6122 MB/s
test sherlock::name_alt3_nocase ... bench: 381,511 ns/iter (+/- 55,025) = 1559 MB/s
test sherlock::name_alt4 ... bench: 121,672 ns/iter (+/- 9,253) = 4889 MB/s
test sherlock::name_alt4_nocase ... bench: 187,887 ns/iter (+/- 26,932) = 3166 MB/s
test sherlock::name_alt5 ... bench: 90,732 ns/iter (+/- 7,251) = 6557 MB/s
test sherlock::name_alt5_nocase ... bench: 352,388 ns/iter (+/- 50,408) = 1688 MB/s
test sherlock::name_holmes ... bench: 33,836 ns/iter (+/- 3,388) = 17582 MB/s
test sherlock::name_holmes_nocase ... bench: 133,068 ns/iter (+/- 7,602) = 4470 MB/s
test sherlock::name_sherlock ... bench: 62,719 ns/iter (+/- 8,927) = 9485 MB/s
test sherlock::name_sherlock_holmes ... bench: 24,688 ns/iter (+/- 2,482) = 24098 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 97,793 ns/iter (+/- 12,078) = 6083 MB/s
test sherlock::name_sherlock_nocase ... bench: 95,772 ns/iter (+/- 13,713) = 6211 MB/s
test sherlock::name_whitespace ... bench: 70,942 ns/iter (+/- 5,565) = 8386 MB/s
test sherlock::no_match_common ... bench: 14,645 ns/iter (+/- 1,430) = 40623 MB/s
test sherlock::no_match_really_common ... bench: 239,346 ns/iter (+/- 17,292) = 2485 MB/s
test sherlock::no_match_uncommon ... bench: 14,637 ns/iter (+/- 1,360) = 40645 MB/s
test sherlock::quotes ... bench: 367,945 ns/iter (+/- 35,370) = 1616 MB/s
test sherlock::repeated_class_negation ... bench: 74,367,046 ns/iter (+/- 1,114,875) = 7 MB/s
test sherlock::the_lower ... bench: 463,888 ns/iter (+/- 67,551) = 1282 MB/s
test sherlock::the_nocase ... bench: 520,822 ns/iter (+/- 76,131) = 1142 MB/s
test sherlock::the_upper ... bench: 37,354 ns/iter (+/- 4,110) = 15926 MB/s
test sherlock::the_whitespace ... bench: 922,312 ns/iter (+/- 95,082) = 645 MB/s
test sherlock::word_ending_n ... bench: 1,679,343 ns/iter (+/- 165,580) = 354 MB/s
test sherlock::words ... bench: 8,280,082 ns/iter (+/- 290,280) = 71 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 119 measured; 0 filtered out; finished in 113.49s

View file

@ -0,0 +1,124 @@
running 119 tests
test misc::anchored_literal_long_match ... bench: 17 ns/iter (+/- 0) = 22941 MB/s
test misc::anchored_literal_long_non_match ... bench: 18 ns/iter (+/- 0) = 21666 MB/s
test misc::anchored_literal_short_match ... bench: 16 ns/iter (+/- 2) = 1625 MB/s
test misc::anchored_literal_short_non_match ... bench: 17 ns/iter (+/- 2) = 1529 MB/s
test misc::easy0_1K ... bench: 12 ns/iter (+/- 0) = 87583 MB/s
test misc::easy0_1MB ... bench: 14 ns/iter (+/- 1) = 74900214 MB/s
test misc::easy0_32 ... bench: 11 ns/iter (+/- 1) = 5363 MB/s
test misc::easy0_32K ... bench: 12 ns/iter (+/- 1) = 2732916 MB/s
test misc::easy1_1K ... bench: 38 ns/iter (+/- 5) = 27473 MB/s
test misc::easy1_1MB ... bench: 40 ns/iter (+/- 5) = 26214900 MB/s
test misc::easy1_32 ... bench: 38 ns/iter (+/- 1) = 1368 MB/s
test misc::easy1_32K ... bench: 38 ns/iter (+/- 1) = 862842 MB/s
test misc::hard_1K ... bench: 49 ns/iter (+/- 4) = 21448 MB/s
test misc::hard_1MB ... bench: 52 ns/iter (+/- 7) = 20165442 MB/s
test misc::hard_32 ... bench: 49 ns/iter (+/- 1) = 1204 MB/s
test misc::hard_32K ... bench: 49 ns/iter (+/- 6) = 669285 MB/s
test misc::is_match_set ... bench: 59 ns/iter (+/- 2) = 423 MB/s
test misc::literal ... bench: 11 ns/iter (+/- 0) = 4636 MB/s
test misc::long_needle1 ... bench: 1,179 ns/iter (+/- 92) = 84818 MB/s
test misc::long_needle2 ... bench: 680,418 ns/iter (+/- 27,142) = 146 MB/s
test misc::match_class ... bench: 68 ns/iter (+/- 6) = 1191 MB/s
test misc::match_class_in_range ... bench: 13 ns/iter (+/- 1) = 6230 MB/s
test misc::match_class_unicode ... bench: 253 ns/iter (+/- 33) = 636 MB/s
test misc::matches_set ... bench: 453 ns/iter (+/- 65) = 55 MB/s
test misc::medium_1K ... bench: 13 ns/iter (+/- 1) = 80923 MB/s
test misc::medium_1MB ... bench: 17 ns/iter (+/- 2) = 61682588 MB/s
test misc::medium_32 ... bench: 13 ns/iter (+/- 0) = 4615 MB/s
test misc::medium_32K ... bench: 13 ns/iter (+/- 0) = 2522769 MB/s
test misc::no_exponential ... bench: 330 ns/iter (+/- 47) = 303 MB/s
test misc::not_literal ... bench: 88 ns/iter (+/- 12) = 579 MB/s
test misc::one_pass_long_prefix ... bench: 50 ns/iter (+/- 6) = 520 MB/s
test misc::one_pass_long_prefix_not ... bench: 50 ns/iter (+/- 7) = 520 MB/s
test misc::one_pass_short ... bench: 36 ns/iter (+/- 2) = 472 MB/s
test misc::one_pass_short_not ... bench: 38 ns/iter (+/- 5) = 447 MB/s
test misc::reallyhard2_1K ... bench: 55 ns/iter (+/- 7) = 18909 MB/s
test misc::reallyhard_1K ... bench: 1,590 ns/iter (+/- 64) = 661 MB/s
test misc::reallyhard_1MB ... bench: 1,581,975 ns/iter (+/- 126,709) = 662 MB/s
test misc::reallyhard_32 ... bench: 100 ns/iter (+/- 4) = 590 MB/s
test misc::reallyhard_32K ... bench: 49,323 ns/iter (+/- 7,063) = 664 MB/s
test misc::replace_all ... bench: 127 ns/iter (+/- 5)
test misc::reverse_suffix_no_quadratic ... bench: 4,171 ns/iter (+/- 624) = 1918 MB/s
test misc::short_haystack_1000000x ... bench: 88,960 ns/iter (+/- 7,710) = 89928 MB/s
test misc::short_haystack_100000x ... bench: 10,193 ns/iter (+/- 952) = 78486 MB/s
test misc::short_haystack_10000x ... bench: 5,798 ns/iter (+/- 636) = 13799 MB/s
test misc::short_haystack_1000x ... bench: 418 ns/iter (+/- 60) = 19165 MB/s
test misc::short_haystack_100x ... bench: 258 ns/iter (+/- 21) = 3143 MB/s
test misc::short_haystack_10x ... bench: 216 ns/iter (+/- 21) = 421 MB/s
test misc::short_haystack_1x ... bench: 205 ns/iter (+/- 29) = 92 MB/s
test misc::short_haystack_2x ... bench: 206 ns/iter (+/- 22) = 131 MB/s
test misc::short_haystack_3x ... bench: 205 ns/iter (+/- 29) = 170 MB/s
test misc::short_haystack_4x ... bench: 214 ns/iter (+/- 6) = 200 MB/s
test regexdna::find_new_lines ... bench: 12,039,715 ns/iter (+/- 410,515) = 422 MB/s
test regexdna::subst1 ... bench: 750,454 ns/iter (+/- 65,358) = 6773 MB/s
test regexdna::subst10 ... bench: 748,321 ns/iter (+/- 93,416) = 6793 MB/s
test regexdna::subst11 ... bench: 747,906 ns/iter (+/- 92,141) = 6796 MB/s
test regexdna::subst2 ... bench: 755,082 ns/iter (+/- 88,044) = 6732 MB/s
test regexdna::subst3 ... bench: 753,496 ns/iter (+/- 70,987) = 6746 MB/s
test regexdna::subst4 ... bench: 747,103 ns/iter (+/- 102,992) = 6804 MB/s
test regexdna::subst5 ... bench: 750,805 ns/iter (+/- 72,572) = 6770 MB/s
test regexdna::subst6 ... bench: 748,419 ns/iter (+/- 47,272) = 6792 MB/s
test regexdna::subst7 ... bench: 752,556 ns/iter (+/- 95,329) = 6754 MB/s
test regexdna::subst8 ... bench: 756,009 ns/iter (+/- 78,049) = 6724 MB/s
test regexdna::subst9 ... bench: 749,278 ns/iter (+/- 70,259) = 6784 MB/s
test regexdna::variant1 ... bench: 2,215,182 ns/iter (+/- 114,543) = 2294 MB/s
test regexdna::variant2 ... bench: 3,207,983 ns/iter (+/- 184,419) = 1584 MB/s
test regexdna::variant3 ... bench: 3,791,716 ns/iter (+/- 192,185) = 1340 MB/s
test regexdna::variant4 ... bench: 3,809,934 ns/iter (+/- 222,872) = 1334 MB/s
test regexdna::variant5 ... bench: 2,651,345 ns/iter (+/- 183,673) = 1917 MB/s
test regexdna::variant6 ... bench: 2,635,566 ns/iter (+/- 170,288) = 1928 MB/s
test regexdna::variant7 ... bench: 3,265,519 ns/iter (+/- 234,923) = 1556 MB/s
test regexdna::variant8 ... bench: 3,340,830 ns/iter (+/- 183,129) = 1521 MB/s
test regexdna::variant9 ... bench: 3,267,141 ns/iter (+/- 185,543) = 1555 MB/s
test rust_compile::compile_huge ... bench: 94,368 ns/iter (+/- 13,293)
test rust_compile::compile_huge_bytes ... bench: 5,616,594 ns/iter (+/- 243,462)
test rust_compile::compile_huge_full ... bench: 10,862,100 ns/iter (+/- 260,207)
test rust_compile::compile_simple ... bench: 3,463 ns/iter (+/- 350)
test rust_compile::compile_simple_bytes ... bench: 3,542 ns/iter (+/- 504)
test rust_compile::compile_simple_full ... bench: 20,562 ns/iter (+/- 3,117)
test rust_compile::compile_small ... bench: 8,325 ns/iter (+/- 641)
test rust_compile::compile_small_bytes ... bench: 153,450 ns/iter (+/- 11,174)
test rust_compile::compile_small_full ... bench: 315,871 ns/iter (+/- 33,828)
test sherlock::before_after_holmes ... bench: 906,423 ns/iter (+/- 34,801) = 656 MB/s
test sherlock::before_holmes ... bench: 64,457 ns/iter (+/- 8,343) = 9229 MB/s
test sherlock::everything_greedy ... bench: 2,058,675 ns/iter (+/- 208,885) = 288 MB/s
test sherlock::everything_greedy_nl ... bench: 810,638 ns/iter (+/- 39,955) = 733 MB/s
test sherlock::holmes_cochar_watson ... bench: 106,048 ns/iter (+/- 8,158) = 5610 MB/s
test sherlock::holmes_coword_watson ... bench: 482,243 ns/iter (+/- 30,955) = 1233 MB/s
test sherlock::ing_suffix ... bench: 385,767 ns/iter (+/- 24,902) = 1542 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,060,762 ns/iter (+/- 94,273) = 560 MB/s
test sherlock::letters ... bench: 22,127,007 ns/iter (+/- 467,539) = 26 MB/s
test sherlock::letters_lower ... bench: 21,719,871 ns/iter (+/- 459,587) = 27 MB/s
test sherlock::letters_upper ... bench: 1,753,028 ns/iter (+/- 172,914) = 339 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 897,091 ns/iter (+/- 109,954) = 663 MB/s
test sherlock::name_alt1 ... bench: 31,636 ns/iter (+/- 2,323) = 18805 MB/s
test sherlock::name_alt2 ... bench: 85,898 ns/iter (+/- 10,486) = 6926 MB/s
test sherlock::name_alt3 ... bench: 97,104 ns/iter (+/- 8,851) = 6126 MB/s
test sherlock::name_alt3_nocase ... bench: 381,487 ns/iter (+/- 14,829) = 1559 MB/s
test sherlock::name_alt4 ... bench: 121,301 ns/iter (+/- 17,178) = 4904 MB/s
test sherlock::name_alt4_nocase ... bench: 187,262 ns/iter (+/- 17,478) = 3177 MB/s
test sherlock::name_alt5 ... bench: 90,773 ns/iter (+/- 2,791) = 6554 MB/s
test sherlock::name_alt5_nocase ... bench: 351,900 ns/iter (+/- 40,408) = 1690 MB/s
test sherlock::name_holmes ... bench: 34,767 ns/iter (+/- 3,334) = 17112 MB/s
test sherlock::name_holmes_nocase ... bench: 132,953 ns/iter (+/- 15,747) = 4474 MB/s
test sherlock::name_sherlock ... bench: 66,566 ns/iter (+/- 6,822) = 8937 MB/s
test sherlock::name_sherlock_holmes ... bench: 24,481 ns/iter (+/- 2,330) = 24301 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 97,531 ns/iter (+/- 12,331) = 6099 MB/s
test sherlock::name_sherlock_nocase ... bench: 95,808 ns/iter (+/- 13,250) = 6209 MB/s
test sherlock::name_whitespace ... bench: 71,342 ns/iter (+/- 9,877) = 8339 MB/s
test sherlock::no_match_common ... bench: 14,704 ns/iter (+/- 1,241) = 40460 MB/s
test sherlock::no_match_really_common ... bench: 238,731 ns/iter (+/- 31,179) = 2492 MB/s
test sherlock::no_match_uncommon ... bench: 14,620 ns/iter (+/- 1,250) = 40693 MB/s
test sherlock::quotes ... bench: 367,740 ns/iter (+/- 10,107) = 1617 MB/s
test sherlock::repeated_class_negation ... bench: 76,315,217 ns/iter (+/- 940,903) = 7 MB/s
test sherlock::the_lower ... bench: 464,322 ns/iter (+/- 14,654) = 1281 MB/s
test sherlock::the_nocase ... bench: 519,069 ns/iter (+/- 59,161) = 1146 MB/s
test sherlock::the_upper ... bench: 37,575 ns/iter (+/- 2,455) = 15833 MB/s
test sherlock::the_whitespace ... bench: 939,412 ns/iter (+/- 60,941) = 633 MB/s
test sherlock::word_ending_n ... bench: 1,681,192 ns/iter (+/- 156,265) = 353 MB/s
test sherlock::words ... bench: 8,213,141 ns/iter (+/- 322,533) = 72 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 119 measured; 0 filtered out; finished in 94.52s

View file

@ -0,0 +1,98 @@
running 93 tests
test misc::anchored_literal_long_match ... bench: 8 ns/iter (+/- 0) = 48750 MB/s
test misc::anchored_literal_long_non_match ... bench: 7 ns/iter (+/- 0) = 55714 MB/s
test misc::anchored_literal_short_match ... bench: 8 ns/iter (+/- 0) = 3250 MB/s
test misc::anchored_literal_short_non_match ... bench: 7 ns/iter (+/- 0) = 3714 MB/s
test misc::easy0_1K ... bench: 32 ns/iter (+/- 1) = 32843 MB/s
test misc::easy0_1MB ... bench: 22,160 ns/iter (+/- 3,887) = 47319 MB/s
test misc::easy0_32 ... bench: 10 ns/iter (+/- 0) = 5900 MB/s
test misc::easy0_32K ... bench: 651 ns/iter (+/- 2) = 50376 MB/s
test misc::easy1_1K ... bench: 36 ns/iter (+/- 1) = 29000 MB/s
test misc::easy1_1MB ... bench: 22,982 ns/iter (+/- 2,839) = 45626 MB/s
test misc::easy1_32 ... bench: 12 ns/iter (+/- 0) = 4333 MB/s
test misc::easy1_32K ... bench: 654 ns/iter (+/- 2) = 50134 MB/s
test misc::hard_1K ... bench: 469 ns/iter (+/- 9) = 2240 MB/s
test misc::hard_1MB ... bench: 733,962 ns/iter (+/- 28,297) = 1428 MB/s
test misc::hard_32 ... bench: 34 ns/iter (+/- 4) = 1735 MB/s
test misc::hard_32K ... bench: 19,567 ns/iter (+/- 363) = 1676 MB/s
test misc::literal ... bench: 8 ns/iter (+/- 0) = 6375 MB/s
test misc::long_needle1 ... bench: 257,858 ns/iter (+/- 646) = 387 MB/s
test misc::long_needle2 ... bench: 259,045 ns/iter (+/- 2,220) = 386 MB/s
test misc::match_class ... bench: 34 ns/iter (+/- 1) = 2382 MB/s
test misc::match_class_in_range ... bench: 9 ns/iter (+/- 0) = 9000 MB/s
test misc::match_class_unicode ... bench: 125 ns/iter (+/- 3) = 1288 MB/s
test misc::medium_1K ... bench: 35 ns/iter (+/- 3) = 30057 MB/s
test misc::medium_1MB ... bench: 21,126 ns/iter (+/- 4,036) = 49635 MB/s
test misc::medium_32 ... bench: 10 ns/iter (+/- 0) = 6000 MB/s
test misc::medium_32K ... bench: 714 ns/iter (+/- 122) = 45932 MB/s
test misc::not_literal ... bench: 62 ns/iter (+/- 2) = 822 MB/s
test misc::one_pass_long_prefix ... bench: 8 ns/iter (+/- 0) = 3250 MB/s
test misc::one_pass_long_prefix_not ... bench: 8 ns/iter (+/- 0) = 3250 MB/s
test misc::one_pass_short ... bench: 19 ns/iter (+/- 1) = 894 MB/s
test misc::one_pass_short_not ... bench: 19 ns/iter (+/- 1) = 894 MB/s
test misc::reallyhard2_1K ... bench: 1,704 ns/iter (+/- 17) = 610 MB/s
test misc::reallyhard_1K ... bench: 495 ns/iter (+/- 9) = 2123 MB/s
test misc::reallyhard_1MB ... bench: 682,371 ns/iter (+/- 31,284) = 1536 MB/s
test misc::reallyhard_32 ... bench: 34 ns/iter (+/- 2) = 1735 MB/s
test misc::reallyhard_32K ... bench: 17,994 ns/iter (+/- 540) = 1822 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 1,507 ns/iter (+/- 10) = 5308 MB/s
test regexdna::find_new_lines ... bench: 849,983 ns/iter (+/- 25,898) = 5980 MB/s
test regexdna::subst1 ... bench: 520,602 ns/iter (+/- 12,170) = 9764 MB/s
test regexdna::subst10 ... bench: 517,151 ns/iter (+/- 19,060) = 9829 MB/s
test regexdna::subst11 ... bench: 519,209 ns/iter (+/- 12,477) = 9790 MB/s
test regexdna::subst2 ... bench: 513,418 ns/iter (+/- 19,803) = 9901 MB/s
test regexdna::subst3 ... bench: 514,166 ns/iter (+/- 13,019) = 9886 MB/s
test regexdna::subst4 ... bench: 517,808 ns/iter (+/- 30,655) = 9817 MB/s
test regexdna::subst5 ... bench: 516,922 ns/iter (+/- 17,204) = 9834 MB/s
test regexdna::subst6 ... bench: 509,430 ns/iter (+/- 20,608) = 9978 MB/s
test regexdna::subst7 ... bench: 519,437 ns/iter (+/- 10,537) = 9786 MB/s
test regexdna::subst8 ... bench: 520,282 ns/iter (+/- 25,742) = 9770 MB/s
test regexdna::subst9 ... bench: 512,819 ns/iter (+/- 11,443) = 9912 MB/s
test regexdna::variant1 ... bench: 5,302,526 ns/iter (+/- 158,370) = 958 MB/s
test regexdna::variant2 ... bench: 7,421,107 ns/iter (+/- 105,716) = 684 MB/s
test regexdna::variant3 ... bench: 7,310,968 ns/iter (+/- 103,989) = 695 MB/s
test regexdna::variant4 ... bench: 6,152,891 ns/iter (+/- 144,194) = 826 MB/s
test regexdna::variant5 ... bench: 5,717,515 ns/iter (+/- 42,902) = 889 MB/s
test regexdna::variant6 ... bench: 5,840,938 ns/iter (+/- 47,730) = 870 MB/s
test regexdna::variant7 ... bench: 6,624,859 ns/iter (+/- 37,376) = 767 MB/s
test regexdna::variant8 ... bench: 7,308,342 ns/iter (+/- 58,395) = 695 MB/s
test regexdna::variant9 ... bench: 7,372,260 ns/iter (+/- 76,966) = 689 MB/s
test sherlock::before_after_holmes ... bench: 2,817,108 ns/iter (+/- 18,002) = 211 MB/s
test sherlock::before_holmes ... bench: 2,841,515 ns/iter (+/- 14,677) = 209 MB/s
test sherlock::holmes_cochar_watson ... bench: 33,066 ns/iter (+/- 1,766) = 17992 MB/s
test sherlock::ing_suffix ... bench: 1,299,382 ns/iter (+/- 19,674) = 457 MB/s
test sherlock::ing_suffix_limited_space ... bench: 2,799,189 ns/iter (+/- 33,841) = 212 MB/s
test sherlock::letters ... bench: 4,923,399 ns/iter (+/- 111,904) = 120 MB/s
test sherlock::letters_lower ... bench: 5,057,224 ns/iter (+/- 102,860) = 117 MB/s
test sherlock::letters_upper ... bench: 874,306 ns/iter (+/- 10,587) = 680 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 15,876 ns/iter (+/- 58) = 37473 MB/s
test sherlock::name_alt1 ... bench: 19,349 ns/iter (+/- 201) = 30747 MB/s
test sherlock::name_alt2 ... bench: 29,916 ns/iter (+/- 581) = 19886 MB/s
test sherlock::name_alt3 ... bench: 461,887 ns/iter (+/- 5,337) = 1288 MB/s
test sherlock::name_alt3_nocase ... bench: 1,813,574 ns/iter (+/- 27,519) = 328 MB/s
test sherlock::name_alt4 ... bench: 30,155 ns/iter (+/- 1,407) = 19729 MB/s
test sherlock::name_alt4_nocase ... bench: 822,605 ns/iter (+/- 56,624) = 723 MB/s
test sherlock::name_alt5 ... bench: 426,318 ns/iter (+/- 12,233) = 1395 MB/s
test sherlock::name_alt5_nocase ... bench: 1,012,097 ns/iter (+/- 27,806) = 587 MB/s
test sherlock::name_holmes ... bench: 19,833 ns/iter (+/- 499) = 29997 MB/s
test sherlock::name_holmes_nocase ... bench: 40,266 ns/iter (+/- 2,089) = 14775 MB/s
test sherlock::name_sherlock ... bench: 14,589 ns/iter (+/- 115) = 40779 MB/s
test sherlock::name_sherlock_holmes ... bench: 14,213 ns/iter (+/- 81) = 41858 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 602,296 ns/iter (+/- 98,066) = 987 MB/s
test sherlock::name_sherlock_nocase ... bench: 479,745 ns/iter (+/- 18,070) = 1240 MB/s
test sherlock::name_whitespace ... bench: 14,584 ns/iter (+/- 44) = 40793 MB/s
test sherlock::no_match_common ... bench: 13,499 ns/iter (+/- 1,090) = 44072 MB/s
test sherlock::no_match_really_common ... bench: 12,507 ns/iter (+/- 1,238) = 47568 MB/s
test sherlock::no_match_uncommon ... bench: 11,534 ns/iter (+/- 9) = 51580 MB/s
test sherlock::quotes ... bench: 251,867 ns/iter (+/- 11,818) = 2362 MB/s
test sherlock::repeated_class_negation ... bench: 2,969,330 ns/iter (+/- 287,150) = 200 MB/s
test sherlock::the_lower ... bench: 206,513 ns/iter (+/- 3,294) = 2880 MB/s
test sherlock::the_nocase ... bench: 237,655 ns/iter (+/- 6,616) = 2503 MB/s
test sherlock::the_upper ... bench: 23,922 ns/iter (+/- 510) = 24869 MB/s
test sherlock::the_whitespace ... bench: 326,257 ns/iter (+/- 10,038) = 1823 MB/s
test sherlock::word_ending_n ... bench: 3,264,085 ns/iter (+/- 57,242) = 182 MB/s
test sherlock::words ... bench: 3,161,731 ns/iter (+/- 45,794) = 188 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 93 measured; 0 filtered out; finished in 184.16s

View file

@ -0,0 +1,101 @@
running 96 tests
test misc::anchored_literal_long_match ... bench: 26 ns/iter (+/- 0) = 15000 MB/s
test misc::anchored_literal_long_non_match ... bench: 4 ns/iter (+/- 0) = 97500 MB/s
test misc::anchored_literal_short_match ... bench: 26 ns/iter (+/- 0) = 1000 MB/s
test misc::anchored_literal_short_non_match ... bench: 4 ns/iter (+/- 0) = 6500 MB/s
test misc::easy0_1K ... bench: 50 ns/iter (+/- 0) = 21020 MB/s
test misc::easy0_1MB ... bench: 51 ns/iter (+/- 0) = 20560843 MB/s
test misc::easy0_32 ... bench: 50 ns/iter (+/- 0) = 1180 MB/s
test misc::easy0_32K ... bench: 50 ns/iter (+/- 0) = 655900 MB/s
test misc::easy1_1K ... bench: 43 ns/iter (+/- 1) = 24279 MB/s
test misc::easy1_1MB ... bench: 43 ns/iter (+/- 0) = 24385953 MB/s
test misc::easy1_32 ... bench: 43 ns/iter (+/- 1) = 1209 MB/s
test misc::easy1_32K ... bench: 43 ns/iter (+/- 0) = 762511 MB/s
test misc::hard_1K ... bench: 50 ns/iter (+/- 0) = 21020 MB/s
test misc::hard_1MB ... bench: 50 ns/iter (+/- 0) = 20972060 MB/s
test misc::hard_32 ... bench: 50 ns/iter (+/- 0) = 1180 MB/s
test misc::hard_32K ... bench: 50 ns/iter (+/- 0) = 655900 MB/s
test misc::literal ... bench: 25 ns/iter (+/- 0) = 2040 MB/s
test misc::long_needle1 ... bench: 356,319 ns/iter (+/- 680) = 280 MB/s
test misc::long_needle2 ... bench: 356,384 ns/iter (+/- 3,126) = 280 MB/s
test misc::match_class ... bench: 94 ns/iter (+/- 0) = 861 MB/s
test misc::match_class_in_range ... bench: 94 ns/iter (+/- 0) = 861 MB/s
test misc::match_class_unicode ... bench: 168 ns/iter (+/- 1) = 958 MB/s
test misc::medium_1K ... bench: 51 ns/iter (+/- 0) = 20627 MB/s
test misc::medium_1MB ... bench: 51 ns/iter (+/- 0) = 20560862 MB/s
test misc::medium_32 ... bench: 51 ns/iter (+/- 0) = 1176 MB/s
test misc::medium_32K ... bench: 51 ns/iter (+/- 1) = 643058 MB/s
test misc::no_exponential ... bench: 112 ns/iter (+/- 0) = 892 MB/s
test misc::not_literal ... bench: 66 ns/iter (+/- 0) = 772 MB/s
test misc::one_pass_long_prefix ... bench: 25 ns/iter (+/- 0) = 1040 MB/s
test misc::one_pass_long_prefix_not ... bench: 44 ns/iter (+/- 0) = 590 MB/s
test misc::one_pass_short ... bench: 43 ns/iter (+/- 0) = 395 MB/s
test misc::one_pass_short_not ... bench: 41 ns/iter (+/- 0) = 414 MB/s
test misc::reallyhard2_1K ... bench: 978 ns/iter (+/- 7) = 1063 MB/s
test misc::reallyhard_1K ... bench: 987 ns/iter (+/- 11) = 1064 MB/s
test misc::reallyhard_1MB ... bench: 957,501 ns/iter (+/- 8,247) = 1095 MB/s
test misc::reallyhard_32 ... bench: 73 ns/iter (+/- 0) = 808 MB/s
test misc::reallyhard_32K ... bench: 30,057 ns/iter (+/- 315) = 1091 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 7,368 ns/iter (+/- 105) = 1085 MB/s
test regexdna::find_new_lines ... bench: 15,567,882 ns/iter (+/- 48,213) = 326 MB/s
test regexdna::subst1 ... bench: 2,011,288 ns/iter (+/- 23,092) = 2527 MB/s
test regexdna::subst10 ... bench: 2,013,337 ns/iter (+/- 33,388) = 2524 MB/s
test regexdna::subst11 ... bench: 2,005,968 ns/iter (+/- 25,799) = 2534 MB/s
test regexdna::subst2 ... bench: 2,022,572 ns/iter (+/- 23,311) = 2513 MB/s
test regexdna::subst3 ... bench: 2,018,386 ns/iter (+/- 32,071) = 2518 MB/s
test regexdna::subst4 ... bench: 2,013,345 ns/iter (+/- 32,599) = 2524 MB/s
test regexdna::subst5 ... bench: 2,015,871 ns/iter (+/- 25,081) = 2521 MB/s
test regexdna::subst6 ... bench: 2,008,492 ns/iter (+/- 24,502) = 2530 MB/s
test regexdna::subst7 ... bench: 2,018,804 ns/iter (+/- 38,700) = 2518 MB/s
test regexdna::subst8 ... bench: 2,010,856 ns/iter (+/- 23,695) = 2527 MB/s
test regexdna::subst9 ... bench: 2,023,767 ns/iter (+/- 17,040) = 2511 MB/s
test regexdna::variant1 ... bench: 4,688,839 ns/iter (+/- 19,258) = 1084 MB/s
test regexdna::variant2 ... bench: 4,693,463 ns/iter (+/- 31,741) = 1083 MB/s
test regexdna::variant3 ... bench: 4,674,020 ns/iter (+/- 15,755) = 1087 MB/s
test regexdna::variant4 ... bench: 4,666,017 ns/iter (+/- 16,318) = 1089 MB/s
test regexdna::variant5 ... bench: 4,682,965 ns/iter (+/- 17,552) = 1085 MB/s
test regexdna::variant6 ... bench: 4,661,825 ns/iter (+/- 21,667) = 1090 MB/s
test regexdna::variant7 ... bench: 4,697,959 ns/iter (+/- 24,282) = 1082 MB/s
test regexdna::variant8 ... bench: 4,700,703 ns/iter (+/- 21,377) = 1081 MB/s
test regexdna::variant9 ... bench: 4,665,298 ns/iter (+/- 19,086) = 1089 MB/s
test sherlock::before_after_holmes ... bench: 560,350 ns/iter (+/- 3,852) = 1061 MB/s
test sherlock::before_holmes ... bench: 574,423 ns/iter (+/- 4,638) = 1035 MB/s
test sherlock::everything_greedy ... bench: 2,688,852 ns/iter (+/- 16,320) = 221 MB/s
test sherlock::everything_greedy_nl ... bench: 1,206,136 ns/iter (+/- 6,173) = 493 MB/s
test sherlock::holmes_cochar_watson ... bench: 547,910 ns/iter (+/- 7,147) = 1085 MB/s
test sherlock::holmes_coword_watson ... bench: 610,803 ns/iter (+/- 1,029) = 974 MB/s
test sherlock::ing_suffix ... bench: 777,478 ns/iter (+/- 3,028) = 765 MB/s
test sherlock::ing_suffix_limited_space ... bench: 725,653 ns/iter (+/- 4,746) = 819 MB/s
test sherlock::letters ... bench: 25,265,004 ns/iter (+/- 120,234) = 23 MB/s
test sherlock::letters_lower ... bench: 24,615,621 ns/iter (+/- 134,875) = 24 MB/s
test sherlock::letters_upper ... bench: 1,485,920 ns/iter (+/- 21,446) = 400 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 547,229 ns/iter (+/- 3,726) = 1087 MB/s
test sherlock::name_alt1 ... bench: 18,148 ns/iter (+/- 131) = 32782 MB/s
test sherlock::name_alt2 ... bench: 586,335 ns/iter (+/- 3,679) = 1014 MB/s
test sherlock::name_alt3 ... bench: 601,096 ns/iter (+/- 3,781) = 989 MB/s
test sherlock::name_alt3_nocase ... bench: 602,319 ns/iter (+/- 7,872) = 987 MB/s
test sherlock::name_alt4 ... bench: 586,762 ns/iter (+/- 3,465) = 1013 MB/s
test sherlock::name_alt4_nocase ... bench: 595,539 ns/iter (+/- 3,240) = 998 MB/s
test sherlock::name_alt5 ... bench: 592,474 ns/iter (+/- 6,361) = 1004 MB/s
test sherlock::name_alt5_nocase ... bench: 593,214 ns/iter (+/- 4,667) = 1002 MB/s
test sherlock::name_holmes ... bench: 40,236 ns/iter (+/- 514) = 14786 MB/s
test sherlock::name_holmes_nocase ... bench: 215,216 ns/iter (+/- 4,822) = 2764 MB/s
test sherlock::name_sherlock ... bench: 14,064 ns/iter (+/- 159) = 42301 MB/s
test sherlock::name_sherlock_holmes ... bench: 15,727 ns/iter (+/- 166) = 37828 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 552,042 ns/iter (+/- 6,395) = 1077 MB/s
test sherlock::name_sherlock_nocase ... bench: 552,475 ns/iter (+/- 5,365) = 1076 MB/s
test sherlock::name_whitespace ... bench: 16,210 ns/iter (+/- 194) = 36701 MB/s
test sherlock::no_match_common ... bench: 147,489 ns/iter (+/- 602) = 4033 MB/s
test sherlock::no_match_really_common ... bench: 157,205 ns/iter (+/- 350) = 3784 MB/s
test sherlock::no_match_uncommon ... bench: 4,849 ns/iter (+/- 5) = 122691 MB/s
test sherlock::quotes ... bench: 619,880 ns/iter (+/- 5,189) = 959 MB/s
test sherlock::the_lower ... bench: 685,396 ns/iter (+/- 12,559) = 868 MB/s
test sherlock::the_nocase ... bench: 771,051 ns/iter (+/- 18,470) = 771 MB/s
test sherlock::the_upper ... bench: 59,139 ns/iter (+/- 1,604) = 10059 MB/s
test sherlock::the_whitespace ... bench: 736,147 ns/iter (+/- 7,668) = 808 MB/s
test sherlock::word_ending_n ... bench: 1,200,401 ns/iter (+/- 11,206) = 495 MB/s
test sherlock::words ... bench: 8,024,768 ns/iter (+/- 93,051) = 74 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 96 measured; 0 filtered out; finished in 86.80s

View file

@ -0,0 +1,124 @@
running 119 tests
test misc::anchored_literal_long_match ... bench: 7 ns/iter (+/- 0) = 55714 MB/s
test misc::anchored_literal_long_non_match ... bench: 10 ns/iter (+/- 0) = 39000 MB/s
test misc::anchored_literal_short_match ... bench: 7 ns/iter (+/- 0) = 3714 MB/s
test misc::anchored_literal_short_non_match ... bench: 10 ns/iter (+/- 0) = 2600 MB/s
test misc::easy0_1K ... bench: 8 ns/iter (+/- 0) = 131375 MB/s
test misc::easy0_1MB ... bench: 12 ns/iter (+/- 0) = 87383583 MB/s
test misc::easy0_32 ... bench: 8 ns/iter (+/- 0) = 7375 MB/s
test misc::easy0_32K ... bench: 8 ns/iter (+/- 0) = 4099375 MB/s
test misc::easy1_1K ... bench: 25 ns/iter (+/- 0) = 41760 MB/s
test misc::easy1_1MB ... bench: 26 ns/iter (+/- 0) = 40330615 MB/s
test misc::easy1_32 ... bench: 25 ns/iter (+/- 0) = 2080 MB/s
test misc::easy1_32K ... bench: 26 ns/iter (+/- 0) = 1261076 MB/s
test misc::hard_1K ... bench: 33 ns/iter (+/- 0) = 31848 MB/s
test misc::hard_1MB ... bench: 33 ns/iter (+/- 0) = 31775848 MB/s
test misc::hard_32 ... bench: 34 ns/iter (+/- 0) = 1735 MB/s
test misc::hard_32K ... bench: 33 ns/iter (+/- 0) = 993787 MB/s
test misc::is_match_set ... bench: 35 ns/iter (+/- 0) = 714 MB/s
test misc::literal ... bench: 7 ns/iter (+/- 0) = 7285 MB/s
test misc::long_needle1 ... bench: 1,517 ns/iter (+/- 25) = 65920 MB/s
test misc::long_needle2 ... bench: 186,131 ns/iter (+/- 1,191) = 537 MB/s
test misc::match_class ... bench: 37 ns/iter (+/- 0) = 2189 MB/s
test misc::match_class_in_range ... bench: 7 ns/iter (+/- 0) = 11571 MB/s
test misc::match_class_unicode ... bench: 160 ns/iter (+/- 1) = 1006 MB/s
test misc::matches_set ... bench: 200 ns/iter (+/- 4) = 125 MB/s
test misc::medium_1K ... bench: 8 ns/iter (+/- 0) = 131500 MB/s
test misc::medium_1MB ... bench: 12 ns/iter (+/- 0) = 87383666 MB/s
test misc::medium_32 ... bench: 8 ns/iter (+/- 0) = 7500 MB/s
test misc::medium_32K ... bench: 8 ns/iter (+/- 0) = 4099500 MB/s
test misc::no_exponential ... bench: 262 ns/iter (+/- 6) = 381 MB/s
test misc::not_literal ... bench: 43 ns/iter (+/- 1) = 1186 MB/s
test misc::one_pass_long_prefix ... bench: 23 ns/iter (+/- 1) = 1130 MB/s
test misc::one_pass_long_prefix_not ... bench: 23 ns/iter (+/- 1) = 1130 MB/s
test misc::one_pass_short ... bench: 16 ns/iter (+/- 0) = 1062 MB/s
test misc::one_pass_short_not ... bench: 18 ns/iter (+/- 0) = 944 MB/s
test misc::reallyhard2_1K ... bench: 36 ns/iter (+/- 1) = 28888 MB/s
test misc::reallyhard_1K ... bench: 1,155 ns/iter (+/- 11) = 909 MB/s
test misc::reallyhard_1MB ... bench: 1,152,983 ns/iter (+/- 6,607) = 909 MB/s
test misc::reallyhard_32 ... bench: 52 ns/iter (+/- 2) = 1134 MB/s
test misc::reallyhard_32K ... bench: 36,194 ns/iter (+/- 327) = 906 MB/s
test misc::replace_all ... bench: 81 ns/iter (+/- 5)
test misc::reverse_suffix_no_quadratic ... bench: 2,269 ns/iter (+/- 3) = 3525 MB/s
test misc::short_haystack_1000000x ... bench: 63,956 ns/iter (+/- 209) = 125086 MB/s
test misc::short_haystack_100000x ... bench: 5,877 ns/iter (+/- 66) = 136125 MB/s
test misc::short_haystack_10000x ... bench: 2,414 ns/iter (+/- 10) = 33144 MB/s
test misc::short_haystack_1000x ... bench: 195 ns/iter (+/- 11) = 41082 MB/s
test misc::short_haystack_100x ... bench: 96 ns/iter (+/- 7) = 8447 MB/s
test misc::short_haystack_10x ... bench: 85 ns/iter (+/- 8) = 1070 MB/s
test misc::short_haystack_1x ... bench: 85 ns/iter (+/- 6) = 223 MB/s
test misc::short_haystack_2x ... bench: 86 ns/iter (+/- 12) = 313 MB/s
test misc::short_haystack_3x ... bench: 85 ns/iter (+/- 22) = 411 MB/s
test misc::short_haystack_4x ... bench: 85 ns/iter (+/- 12) = 505 MB/s
test regexdna::find_new_lines ... bench: 6,977,678 ns/iter (+/- 90,937) = 728 MB/s
test regexdna::subst1 ... bench: 423,846 ns/iter (+/- 41,460) = 11993 MB/s
test regexdna::subst10 ... bench: 424,043 ns/iter (+/- 55,743) = 11987 MB/s
test regexdna::subst11 ... bench: 418,549 ns/iter (+/- 12,106) = 12145 MB/s
test regexdna::subst2 ... bench: 430,056 ns/iter (+/- 8,862) = 11820 MB/s
test regexdna::subst3 ... bench: 429,634 ns/iter (+/- 26,807) = 11831 MB/s
test regexdna::subst4 ... bench: 419,313 ns/iter (+/- 42,070) = 12123 MB/s
test regexdna::subst5 ... bench: 425,299 ns/iter (+/- 43,161) = 11952 MB/s
test regexdna::subst6 ... bench: 420,177 ns/iter (+/- 49,394) = 12098 MB/s
test regexdna::subst7 ... bench: 425,118 ns/iter (+/- 46,952) = 11957 MB/s
test regexdna::subst8 ... bench: 420,840 ns/iter (+/- 11,623) = 12079 MB/s
test regexdna::subst9 ... bench: 420,752 ns/iter (+/- 10,186) = 12081 MB/s
test regexdna::variant1 ... bench: 1,445,103 ns/iter (+/- 29,436) = 3517 MB/s
test regexdna::variant2 ... bench: 2,234,423 ns/iter (+/- 24,502) = 2275 MB/s
test regexdna::variant3 ... bench: 2,730,972 ns/iter (+/- 26,961) = 1861 MB/s
test regexdna::variant4 ... bench: 2,708,975 ns/iter (+/- 36,517) = 1876 MB/s
test regexdna::variant5 ... bench: 1,663,458 ns/iter (+/- 39,508) = 3055 MB/s
test regexdna::variant6 ... bench: 1,673,873 ns/iter (+/- 14,846) = 3036 MB/s
test regexdna::variant7 ... bench: 2,322,347 ns/iter (+/- 33,731) = 2188 MB/s
test regexdna::variant8 ... bench: 2,350,779 ns/iter (+/- 54,976) = 2162 MB/s
test regexdna::variant9 ... bench: 2,326,741 ns/iter (+/- 20,836) = 2184 MB/s
test rust_compile::compile_huge ... bench: 47,700 ns/iter (+/- 230)
test rust_compile::compile_huge_bytes ... bench: 2,987,898 ns/iter (+/- 32,819)
test rust_compile::compile_huge_full ... bench: 5,705,551 ns/iter (+/- 63,483)
test rust_compile::compile_simple ... bench: 1,963 ns/iter (+/- 44)
test rust_compile::compile_simple_bytes ... bench: 1,970 ns/iter (+/- 32)
test rust_compile::compile_simple_full ... bench: 9,677 ns/iter (+/- 69)
test rust_compile::compile_small ... bench: 4,501 ns/iter (+/- 70)
test rust_compile::compile_small_bytes ... bench: 75,372 ns/iter (+/- 2,007)
test rust_compile::compile_small_full ... bench: 151,733 ns/iter (+/- 2,378)
test sherlock::before_after_holmes ... bench: 655,827 ns/iter (+/- 1,426) = 907 MB/s
test sherlock::before_holmes ... bench: 24,653 ns/iter (+/- 224) = 24132 MB/s
test sherlock::everything_greedy ... bench: 1,026,254 ns/iter (+/- 27,926) = 579 MB/s
test sherlock::everything_greedy_nl ... bench: 469,676 ns/iter (+/- 62,296) = 1266 MB/s
test sherlock::holmes_cochar_watson ... bench: 47,578 ns/iter (+/- 1,730) = 12504 MB/s
test sherlock::holmes_coword_watson ... bench: 321,318 ns/iter (+/- 3,235) = 1851 MB/s
test sherlock::ing_suffix ... bench: 150,908 ns/iter (+/- 3,952) = 3942 MB/s
test sherlock::ing_suffix_limited_space ... bench: 726,848 ns/iter (+/- 5,314) = 818 MB/s
test sherlock::letters ... bench: 9,719,997 ns/iter (+/- 67,717) = 61 MB/s
test sherlock::letters_lower ... bench: 9,559,105 ns/iter (+/- 79,257) = 62 MB/s
test sherlock::letters_upper ... bench: 1,066,791 ns/iter (+/- 13,193) = 557 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 653,228 ns/iter (+/- 881) = 910 MB/s
test sherlock::name_alt1 ... bench: 10,663 ns/iter (+/- 76) = 55794 MB/s
test sherlock::name_alt2 ... bench: 33,831 ns/iter (+/- 967) = 17585 MB/s
test sherlock::name_alt3 ... bench: 38,061 ns/iter (+/- 1,123) = 15631 MB/s
test sherlock::name_alt3_nocase ... bench: 218,691 ns/iter (+/- 2,345) = 2720 MB/s
test sherlock::name_alt4 ... bench: 52,408 ns/iter (+/- 1,315) = 11351 MB/s
test sherlock::name_alt4_nocase ... bench: 84,212 ns/iter (+/- 2,708) = 7064 MB/s
test sherlock::name_alt5 ... bench: 35,272 ns/iter (+/- 1,784) = 16867 MB/s
test sherlock::name_alt5_nocase ... bench: 193,585 ns/iter (+/- 5,057) = 3073 MB/s
test sherlock::name_holmes ... bench: 15,018 ns/iter (+/- 440) = 39614 MB/s
test sherlock::name_holmes_nocase ... bench: 60,207 ns/iter (+/- 1,046) = 9881 MB/s
test sherlock::name_sherlock ... bench: 10,344 ns/iter (+/- 52) = 57514 MB/s
test sherlock::name_sherlock_holmes ... bench: 10,374 ns/iter (+/- 98) = 57348 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 42,037 ns/iter (+/- 1,363) = 14152 MB/s
test sherlock::name_sherlock_nocase ... bench: 41,192 ns/iter (+/- 881) = 14442 MB/s
test sherlock::name_whitespace ... bench: 13,893 ns/iter (+/- 55) = 42822 MB/s
test sherlock::no_match_common ... bench: 8,700 ns/iter (+/- 10) = 68383 MB/s
test sherlock::no_match_really_common ... bench: 10,368 ns/iter (+/- 123) = 57381 MB/s
test sherlock::no_match_uncommon ... bench: 8,695 ns/iter (+/- 7) = 68422 MB/s
test sherlock::quotes ... bench: 222,526 ns/iter (+/- 5,362) = 2673 MB/s
test sherlock::repeated_class_negation ... bench: 35,869,193 ns/iter (+/- 551,212) = 16 MB/s
test sherlock::the_lower ... bench: 187,208 ns/iter (+/- 4,374) = 3177 MB/s
test sherlock::the_nocase ... bench: 280,625 ns/iter (+/- 10,142) = 2120 MB/s
test sherlock::the_upper ... bench: 19,742 ns/iter (+/- 692) = 30135 MB/s
test sherlock::the_whitespace ... bench: 396,099 ns/iter (+/- 10,400) = 1501 MB/s
test sherlock::word_ending_n ... bench: 1,055,639 ns/iter (+/- 6,627) = 563 MB/s
test sherlock::words ... bench: 4,280,471 ns/iter (+/- 53,841) = 138 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 119 measured; 0 filtered out; finished in 141.25s

View file

@ -0,0 +1,112 @@
running 107 tests
test misc::anchored_literal_long_match ... bench: 7 ns/iter (+/- 0) = 55714 MB/s
test misc::anchored_literal_long_non_match ... bench: 8 ns/iter (+/- 0) = 48750 MB/s
test misc::anchored_literal_short_match ... bench: 7 ns/iter (+/- 0) = 3714 MB/s
test misc::anchored_literal_short_non_match ... bench: 9 ns/iter (+/- 0) = 2888 MB/s
test misc::easy0_1K ... bench: 7 ns/iter (+/- 0) = 150142 MB/s
test misc::easy0_1MB ... bench: 11 ns/iter (+/- 1) = 95327545 MB/s
test misc::easy0_32 ... bench: 7 ns/iter (+/- 0) = 8428 MB/s
test misc::easy0_32K ... bench: 7 ns/iter (+/- 0) = 4685000 MB/s
test misc::easy1_1K ... bench: 17 ns/iter (+/- 0) = 61411 MB/s
test misc::easy1_1MB ... bench: 20 ns/iter (+/- 0) = 52429800 MB/s
test misc::easy1_32 ... bench: 17 ns/iter (+/- 0) = 3058 MB/s
test misc::easy1_32K ... bench: 17 ns/iter (+/- 1) = 1928705 MB/s
test misc::hard_1K ... bench: 24 ns/iter (+/- 0) = 43791 MB/s
test misc::hard_1MB ... bench: 27 ns/iter (+/- 0) = 38837148 MB/s
test misc::hard_32 ... bench: 24 ns/iter (+/- 0) = 2458 MB/s
test misc::hard_32K ... bench: 24 ns/iter (+/- 0) = 1366458 MB/s
test misc::is_match_set ... bench: 35 ns/iter (+/- 0) = 714 MB/s
test misc::literal ... bench: 7 ns/iter (+/- 0) = 7285 MB/s
test misc::long_needle1 ... bench: 1,325 ns/iter (+/- 18) = 75472 MB/s
test misc::long_needle2 ... bench: 186,021 ns/iter (+/- 1,157) = 537 MB/s
test misc::match_class ... bench: 38 ns/iter (+/- 3) = 2131 MB/s
test misc::match_class_in_range ... bench: 7 ns/iter (+/- 0) = 11571 MB/s
test misc::matches_set ... bench: 172 ns/iter (+/- 4) = 145 MB/s
test misc::medium_1K ... bench: 7 ns/iter (+/- 0) = 150285 MB/s
test misc::medium_1MB ... bench: 12 ns/iter (+/- 0) = 87383666 MB/s
test misc::medium_32 ... bench: 8 ns/iter (+/- 0) = 7500 MB/s
test misc::medium_32K ... bench: 7 ns/iter (+/- 0) = 4685142 MB/s
test misc::no_exponential ... bench: 272 ns/iter (+/- 10) = 367 MB/s
test misc::not_literal ... bench: 42 ns/iter (+/- 1) = 1214 MB/s
test misc::one_pass_long_prefix ... bench: 23 ns/iter (+/- 1) = 1130 MB/s
test misc::one_pass_long_prefix_not ... bench: 22 ns/iter (+/- 0) = 1181 MB/s
test misc::one_pass_short ... bench: 15 ns/iter (+/- 0) = 1133 MB/s
test misc::one_pass_short_not ... bench: 18 ns/iter (+/- 0) = 944 MB/s
test misc::reallyhard2_1K ... bench: 36 ns/iter (+/- 0) = 28888 MB/s
test misc::reallyhard_1K ... bench: 1,152 ns/iter (+/- 14) = 912 MB/s
test misc::reallyhard_1MB ... bench: 1,155,496 ns/iter (+/- 7,722) = 907 MB/s
test misc::reallyhard_32 ... bench: 51 ns/iter (+/- 1) = 1156 MB/s
test misc::reallyhard_32K ... bench: 36,202 ns/iter (+/- 167) = 905 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 2,269 ns/iter (+/- 2) = 3525 MB/s
test regexdna::find_new_lines ... bench: 6,982,142 ns/iter (+/- 70,086) = 728 MB/s
test regexdna::subst1 ... bench: 425,753 ns/iter (+/- 15,075) = 11939 MB/s
test regexdna::subst10 ... bench: 431,401 ns/iter (+/- 19,346) = 11783 MB/s
test regexdna::subst11 ... bench: 427,131 ns/iter (+/- 38,166) = 11901 MB/s
test regexdna::subst2 ... bench: 423,284 ns/iter (+/- 9,016) = 12009 MB/s
test regexdna::subst3 ... bench: 425,850 ns/iter (+/- 7,324) = 11937 MB/s
test regexdna::subst4 ... bench: 426,013 ns/iter (+/- 6,922) = 11932 MB/s
test regexdna::subst5 ... bench: 426,029 ns/iter (+/- 8,697) = 11932 MB/s
test regexdna::subst6 ... bench: 427,781 ns/iter (+/- 8,166) = 11883 MB/s
test regexdna::subst7 ... bench: 426,589 ns/iter (+/- 13,274) = 11916 MB/s
test regexdna::subst8 ... bench: 424,152 ns/iter (+/- 14,879) = 11984 MB/s
test regexdna::subst9 ... bench: 428,066 ns/iter (+/- 8,773) = 11875 MB/s
test regexdna::variant1 ... bench: 1,446,630 ns/iter (+/- 53,195) = 3513 MB/s
test regexdna::variant2 ... bench: 2,241,934 ns/iter (+/- 42,563) = 2267 MB/s
test regexdna::variant3 ... bench: 2,741,736 ns/iter (+/- 28,424) = 1854 MB/s
test regexdna::variant4 ... bench: 2,725,768 ns/iter (+/- 37,801) = 1864 MB/s
test regexdna::variant5 ... bench: 1,686,366 ns/iter (+/- 25,054) = 3014 MB/s
test regexdna::variant6 ... bench: 1,689,225 ns/iter (+/- 24,479) = 3009 MB/s
test regexdna::variant7 ... bench: 2,343,567 ns/iter (+/- 34,646) = 2169 MB/s
test regexdna::variant8 ... bench: 2,363,133 ns/iter (+/- 69,696) = 2151 MB/s
test regexdna::variant9 ... bench: 2,337,512 ns/iter (+/- 32,958) = 2174 MB/s
test rust_compile::compile_huge ... bench: 53,055 ns/iter (+/- 88)
test rust_compile::compile_huge_bytes ... bench: 2,979,724 ns/iter (+/- 43,904)
test rust_compile::compile_huge_full ... bench: 5,825,193 ns/iter (+/- 61,322)
test rust_compile::compile_simple ... bench: 1,927 ns/iter (+/- 39)
test rust_compile::compile_simple_bytes ... bench: 1,924 ns/iter (+/- 29)
test rust_compile::compile_simple_full ... bench: 9,830 ns/iter (+/- 108)
test rust_compile::compile_small ... bench: 4,569 ns/iter (+/- 70)
test rust_compile::compile_small_bytes ... bench: 74,875 ns/iter (+/- 1,337)
test rust_compile::compile_small_full ... bench: 151,485 ns/iter (+/- 3,063)
test sherlock::before_after_holmes ... bench: 655,632 ns/iter (+/- 801) = 907 MB/s
test sherlock::before_holmes ... bench: 24,576 ns/iter (+/- 307) = 24207 MB/s
test sherlock::everything_greedy ... bench: 1,026,410 ns/iter (+/- 57,265) = 579 MB/s
test sherlock::everything_greedy_nl ... bench: 424,490 ns/iter (+/- 7,188) = 1401 MB/s
test sherlock::holmes_cochar_watson ... bench: 46,935 ns/iter (+/- 1,007) = 12675 MB/s
test sherlock::holmes_coword_watson ... bench: 322,497 ns/iter (+/- 3,680) = 1844 MB/s
test sherlock::ing_suffix ... bench: 149,923 ns/iter (+/- 2,936) = 3968 MB/s
test sherlock::ing_suffix_limited_space ... bench: 732,021 ns/iter (+/- 10,242) = 812 MB/s
test sherlock::letters ... bench: 9,716,641 ns/iter (+/- 56,270) = 61 MB/s
test sherlock::letters_lower ... bench: 9,541,922 ns/iter (+/- 63,715) = 62 MB/s
test sherlock::letters_upper ... bench: 1,070,240 ns/iter (+/- 10,505) = 555 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 652,312 ns/iter (+/- 546) = 912 MB/s
test sherlock::name_alt1 ... bench: 10,832 ns/iter (+/- 499) = 54923 MB/s
test sherlock::name_alt2 ... bench: 33,528 ns/iter (+/- 484) = 17744 MB/s
test sherlock::name_alt3 ... bench: 37,352 ns/iter (+/- 1,173) = 15927 MB/s
test sherlock::name_alt3_nocase ... bench: 217,570 ns/iter (+/- 3,401) = 2734 MB/s
test sherlock::name_alt4 ... bench: 52,711 ns/iter (+/- 1,257) = 11286 MB/s
test sherlock::name_alt4_nocase ... bench: 81,635 ns/iter (+/- 1,740) = 7287 MB/s
test sherlock::name_alt5 ... bench: 34,935 ns/iter (+/- 1,190) = 17029 MB/s
test sherlock::name_alt5_nocase ... bench: 194,600 ns/iter (+/- 3,742) = 3057 MB/s
test sherlock::name_holmes ... bench: 14,670 ns/iter (+/- 153) = 40554 MB/s
test sherlock::name_holmes_nocase ... bench: 59,906 ns/iter (+/- 898) = 9931 MB/s
test sherlock::name_sherlock ... bench: 10,470 ns/iter (+/- 74) = 56822 MB/s
test sherlock::name_sherlock_holmes ... bench: 10,291 ns/iter (+/- 29) = 57810 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 41,316 ns/iter (+/- 1,350) = 14399 MB/s
test sherlock::name_sherlock_nocase ... bench: 40,748 ns/iter (+/- 724) = 14600 MB/s
test sherlock::name_whitespace ... bench: 14,682 ns/iter (+/- 52) = 40521 MB/s
test sherlock::no_match_common ... bench: 8,822 ns/iter (+/- 310) = 67437 MB/s
test sherlock::no_match_really_common ... bench: 8,990 ns/iter (+/- 129) = 66177 MB/s
test sherlock::no_match_uncommon ... bench: 8,649 ns/iter (+/- 192) = 68786 MB/s
test sherlock::quotes ... bench: 218,225 ns/iter (+/- 4,267) = 2726 MB/s
test sherlock::repeated_class_negation ... bench: 35,771,807 ns/iter (+/- 640,817) = 16 MB/s
test sherlock::the_lower ... bench: 190,205 ns/iter (+/- 9,051) = 3127 MB/s
test sherlock::the_nocase ... bench: 280,386 ns/iter (+/- 5,346) = 2121 MB/s
test sherlock::the_upper ... bench: 19,325 ns/iter (+/- 695) = 30785 MB/s
test sherlock::the_whitespace ... bench: 409,665 ns/iter (+/- 7,657) = 1452 MB/s
test sherlock::word_ending_n ... bench: 1,066,052 ns/iter (+/- 7,072) = 558 MB/s
test sherlock::words ... bench: 4,330,659 ns/iter (+/- 53,403) = 137 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 107 measured; 0 filtered out; finished in 131.99s

View file

@ -0,0 +1,124 @@
running 119 tests
test misc::anchored_literal_long_match ... bench: 18 ns/iter (+/- 0) = 21666 MB/s
test misc::anchored_literal_long_non_match ... bench: 20 ns/iter (+/- 0) = 19500 MB/s
test misc::anchored_literal_short_match ... bench: 18 ns/iter (+/- 0) = 1444 MB/s
test misc::anchored_literal_short_non_match ... bench: 20 ns/iter (+/- 0) = 1300 MB/s
test misc::easy0_1K ... bench: 51 ns/iter (+/- 2) = 20607 MB/s
test misc::easy0_1MB ... bench: 56 ns/iter (+/- 1) = 18725053 MB/s
test misc::easy0_32 ... bench: 51 ns/iter (+/- 0) = 1156 MB/s
test misc::easy0_32K ... bench: 53 ns/iter (+/- 1) = 618773 MB/s
test misc::easy1_1K ... bench: 41 ns/iter (+/- 0) = 25463 MB/s
test misc::easy1_1MB ... bench: 44 ns/iter (+/- 1) = 23831727 MB/s
test misc::easy1_32 ... bench: 40 ns/iter (+/- 1) = 1300 MB/s
test misc::easy1_32K ... bench: 40 ns/iter (+/- 1) = 819700 MB/s
test misc::hard_1K ... bench: 51 ns/iter (+/- 2) = 20607 MB/s
test misc::hard_1MB ... bench: 56 ns/iter (+/- 1) = 18725053 MB/s
test misc::hard_32 ... bench: 51 ns/iter (+/- 2) = 1156 MB/s
test misc::hard_32K ... bench: 51 ns/iter (+/- 1) = 643039 MB/s
test misc::is_match_set ... bench: 61 ns/iter (+/- 2) = 409 MB/s
test misc::literal ... bench: 13 ns/iter (+/- 0) = 3923 MB/s
test misc::long_needle1 ... bench: 3,242 ns/iter (+/- 79) = 30845 MB/s
test misc::long_needle2 ... bench: 350,572 ns/iter (+/- 6,860) = 285 MB/s
test misc::match_class ... bench: 62 ns/iter (+/- 6) = 1306 MB/s
test misc::match_class_in_range ... bench: 14 ns/iter (+/- 0) = 5785 MB/s
test misc::match_class_unicode ... bench: 259 ns/iter (+/- 15) = 621 MB/s
test misc::matches_set ... bench: 462 ns/iter (+/- 9) = 54 MB/s
test misc::medium_1K ... bench: 53 ns/iter (+/- 0) = 19849 MB/s
test misc::medium_1MB ... bench: 58 ns/iter (+/- 1) = 18079379 MB/s
test misc::medium_32 ... bench: 53 ns/iter (+/- 1) = 1132 MB/s
test misc::medium_32K ... bench: 53 ns/iter (+/- 1) = 618792 MB/s
test misc::no_exponential ... bench: 423 ns/iter (+/- 13) = 236 MB/s
test misc::not_literal ... bench: 89 ns/iter (+/- 0) = 573 MB/s
test misc::one_pass_long_prefix ... bench: 52 ns/iter (+/- 0) = 500 MB/s
test misc::one_pass_long_prefix_not ... bench: 52 ns/iter (+/- 1) = 500 MB/s
test misc::one_pass_short ... bench: 38 ns/iter (+/- 1) = 447 MB/s
test misc::one_pass_short_not ... bench: 41 ns/iter (+/- 1) = 414 MB/s
test misc::reallyhard2_1K ... bench: 81 ns/iter (+/- 1) = 12839 MB/s
test misc::reallyhard_1K ... bench: 1,592 ns/iter (+/- 1) = 660 MB/s
test misc::reallyhard_1MB ... bench: 1,575,822 ns/iter (+/- 39,203) = 665 MB/s
test misc::reallyhard_32 ... bench: 102 ns/iter (+/- 0) = 578 MB/s
test misc::reallyhard_32K ... bench: 49,328 ns/iter (+/- 2,598) = 664 MB/s
test misc::replace_all ... bench: 132 ns/iter (+/- 3)
test misc::reverse_suffix_no_quadratic ... bench: 4,171 ns/iter (+/- 134) = 1918 MB/s
test misc::short_haystack_1000000x ... bench: 132,251 ns/iter (+/- 729) = 60491 MB/s
test misc::short_haystack_100000x ... bench: 13,184 ns/iter (+/- 408) = 60680 MB/s
test misc::short_haystack_10000x ... bench: 6,036 ns/iter (+/- 167) = 13255 MB/s
test misc::short_haystack_1000x ... bench: 602 ns/iter (+/- 14) = 13307 MB/s
test misc::short_haystack_100x ... bench: 230 ns/iter (+/- 7) = 3526 MB/s
test misc::short_haystack_10x ... bench: 218 ns/iter (+/- 3) = 417 MB/s
test misc::short_haystack_1x ... bench: 210 ns/iter (+/- 8) = 90 MB/s
test misc::short_haystack_2x ... bench: 225 ns/iter (+/- 6) = 120 MB/s
test misc::short_haystack_3x ... bench: 211 ns/iter (+/- 8) = 165 MB/s
test misc::short_haystack_4x ... bench: 212 ns/iter (+/- 6) = 202 MB/s
test regexdna::find_new_lines ... bench: 12,245,066 ns/iter (+/- 117,141) = 415 MB/s
test regexdna::subst1 ... bench: 786,357 ns/iter (+/- 14,200) = 6464 MB/s
test regexdna::subst10 ... bench: 788,550 ns/iter (+/- 26,456) = 6446 MB/s
test regexdna::subst11 ... bench: 782,161 ns/iter (+/- 15,583) = 6499 MB/s
test regexdna::subst2 ... bench: 784,902 ns/iter (+/- 23,379) = 6476 MB/s
test regexdna::subst3 ... bench: 786,640 ns/iter (+/- 27,063) = 6462 MB/s
test regexdna::subst4 ... bench: 785,591 ns/iter (+/- 20,498) = 6470 MB/s
test regexdna::subst5 ... bench: 787,447 ns/iter (+/- 20,892) = 6455 MB/s
test regexdna::subst6 ... bench: 784,994 ns/iter (+/- 19,687) = 6475 MB/s
test regexdna::subst7 ... bench: 801,921 ns/iter (+/- 15,391) = 6339 MB/s
test regexdna::subst8 ... bench: 785,541 ns/iter (+/- 11,908) = 6471 MB/s
test regexdna::subst9 ... bench: 785,848 ns/iter (+/- 28,020) = 6468 MB/s
test regexdna::variant1 ... bench: 2,195,058 ns/iter (+/- 44,066) = 2315 MB/s
test regexdna::variant2 ... bench: 3,219,968 ns/iter (+/- 59,372) = 1578 MB/s
test regexdna::variant3 ... bench: 3,776,467 ns/iter (+/- 54,326) = 1346 MB/s
test regexdna::variant4 ... bench: 3,803,674 ns/iter (+/- 95,281) = 1336 MB/s
test regexdna::variant5 ... bench: 2,661,333 ns/iter (+/- 46,408) = 1910 MB/s
test regexdna::variant6 ... bench: 2,645,716 ns/iter (+/- 38,659) = 1921 MB/s
test regexdna::variant7 ... bench: 3,228,352 ns/iter (+/- 69,155) = 1574 MB/s
test regexdna::variant8 ... bench: 3,305,563 ns/iter (+/- 59,321) = 1537 MB/s
test regexdna::variant9 ... bench: 3,225,039 ns/iter (+/- 49,720) = 1576 MB/s
test rust_compile::compile_huge ... bench: 100,381 ns/iter (+/- 2,052)
test rust_compile::compile_huge_bytes ... bench: 5,899,989 ns/iter (+/- 114,363)
test rust_compile::compile_huge_full ... bench: 11,650,995 ns/iter (+/- 172,285)
test rust_compile::compile_simple ... bench: 4,082 ns/iter (+/- 88)
test rust_compile::compile_simple_bytes ... bench: 4,153 ns/iter (+/- 120)
test rust_compile::compile_simple_full ... bench: 20,414 ns/iter (+/- 1,860)
test rust_compile::compile_small ... bench: 9,114 ns/iter (+/- 216)
test rust_compile::compile_small_bytes ... bench: 183,049 ns/iter (+/- 9,917)
test rust_compile::compile_small_full ... bench: 361,291 ns/iter (+/- 11,045)
test sherlock::before_after_holmes ... bench: 907,103 ns/iter (+/- 12,165) = 655 MB/s
test sherlock::before_holmes ... bench: 62,501 ns/iter (+/- 1,880) = 9518 MB/s
test sherlock::everything_greedy ... bench: 2,062,116 ns/iter (+/- 41,900) = 288 MB/s
test sherlock::everything_greedy_nl ... bench: 894,529 ns/iter (+/- 38,723) = 665 MB/s
test sherlock::holmes_cochar_watson ... bench: 103,305 ns/iter (+/- 3,798) = 5758 MB/s
test sherlock::holmes_coword_watson ... bench: 479,423 ns/iter (+/- 13,924) = 1240 MB/s
test sherlock::ing_suffix ... bench: 318,300 ns/iter (+/- 6,846) = 1869 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,066,300 ns/iter (+/- 19,375) = 557 MB/s
test sherlock::letters ... bench: 21,777,358 ns/iter (+/- 230,478) = 27 MB/s
test sherlock::letters_lower ... bench: 21,152,019 ns/iter (+/- 203,617) = 28 MB/s
test sherlock::letters_upper ... bench: 1,777,626 ns/iter (+/- 26,243) = 334 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 897,509 ns/iter (+/- 24,983) = 662 MB/s
test sherlock::name_alt1 ... bench: 32,255 ns/iter (+/- 681) = 18444 MB/s
test sherlock::name_alt2 ... bench: 86,369 ns/iter (+/- 2,494) = 6888 MB/s
test sherlock::name_alt3 ... bench: 97,618 ns/iter (+/- 564) = 6094 MB/s
test sherlock::name_alt3_nocase ... bench: 944,848 ns/iter (+/- 31,039) = 629 MB/s
test sherlock::name_alt4 ... bench: 122,029 ns/iter (+/- 2,716) = 4875 MB/s
test sherlock::name_alt4_nocase ... bench: 225,544 ns/iter (+/- 5,783) = 2637 MB/s
test sherlock::name_alt5 ... bench: 91,897 ns/iter (+/- 3,796) = 6473 MB/s
test sherlock::name_alt5_nocase ... bench: 936,420 ns/iter (+/- 15,092) = 635 MB/s
test sherlock::name_holmes ... bench: 33,448 ns/iter (+/- 959) = 17786 MB/s
test sherlock::name_holmes_nocase ... bench: 115,864 ns/iter (+/- 1,645) = 5134 MB/s
test sherlock::name_sherlock ... bench: 22,474 ns/iter (+/- 674) = 26472 MB/s
test sherlock::name_sherlock_holmes ... bench: 22,184 ns/iter (+/- 497) = 26818 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 99,629 ns/iter (+/- 2,398) = 5971 MB/s
test sherlock::name_sherlock_nocase ... bench: 99,523 ns/iter (+/- 2,674) = 5977 MB/s
test sherlock::name_whitespace ... bench: 30,815 ns/iter (+/- 107) = 19306 MB/s
test sherlock::no_match_common ... bench: 19,661 ns/iter (+/- 656) = 30259 MB/s
test sherlock::no_match_really_common ... bench: 27,544 ns/iter (+/- 527) = 21599 MB/s
test sherlock::no_match_uncommon ... bench: 19,553 ns/iter (+/- 31) = 30426 MB/s
test sherlock::quotes ... bench: 369,144 ns/iter (+/- 45,316) = 1611 MB/s
test sherlock::repeated_class_negation ... bench: 68,838,857 ns/iter (+/- 330,544) = 8 MB/s
test sherlock::the_lower ... bench: 321,692 ns/iter (+/- 5,418) = 1849 MB/s
test sherlock::the_nocase ... bench: 507,936 ns/iter (+/- 3,080) = 1171 MB/s
test sherlock::the_upper ... bench: 43,705 ns/iter (+/- 788) = 13612 MB/s
test sherlock::the_whitespace ... bench: 819,179 ns/iter (+/- 20,071) = 726 MB/s
test sherlock::word_ending_n ... bench: 1,700,300 ns/iter (+/- 36,623) = 349 MB/s
test sherlock::words ... bench: 8,249,767 ns/iter (+/- 75,015) = 72 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 119 measured; 0 filtered out; finished in 111.55s

View file

@ -0,0 +1,124 @@
running 119 tests
test misc::anchored_literal_long_match ... bench: 18 ns/iter (+/- 0) = 21666 MB/s
test misc::anchored_literal_long_non_match ... bench: 18 ns/iter (+/- 0) = 21666 MB/s
test misc::anchored_literal_short_match ... bench: 18 ns/iter (+/- 0) = 1444 MB/s
test misc::anchored_literal_short_non_match ... bench: 18 ns/iter (+/- 0) = 1444 MB/s
test misc::easy0_1K ... bench: 15 ns/iter (+/- 0) = 70066 MB/s
test misc::easy0_1MB ... bench: 21 ns/iter (+/- 0) = 49933476 MB/s
test misc::easy0_32 ... bench: 15 ns/iter (+/- 0) = 3933 MB/s
test misc::easy0_32K ... bench: 14 ns/iter (+/- 0) = 2342500 MB/s
test misc::easy1_1K ... bench: 40 ns/iter (+/- 1) = 26100 MB/s
test misc::easy1_1MB ... bench: 45 ns/iter (+/- 1) = 23302133 MB/s
test misc::easy1_32 ... bench: 40 ns/iter (+/- 5) = 1300 MB/s
test misc::easy1_32K ... bench: 40 ns/iter (+/- 1) = 819700 MB/s
test misc::hard_1K ... bench: 51 ns/iter (+/- 1) = 20607 MB/s
test misc::hard_1MB ... bench: 56 ns/iter (+/- 0) = 18725053 MB/s
test misc::hard_32 ... bench: 51 ns/iter (+/- 3) = 1156 MB/s
test misc::hard_32K ... bench: 51 ns/iter (+/- 1) = 643039 MB/s
test misc::is_match_set ... bench: 61 ns/iter (+/- 2) = 409 MB/s
test misc::literal ... bench: 13 ns/iter (+/- 0) = 3923 MB/s
test misc::long_needle1 ... bench: 3,259 ns/iter (+/- 86) = 30684 MB/s
test misc::long_needle2 ... bench: 350,722 ns/iter (+/- 6,984) = 285 MB/s
test misc::match_class ... bench: 60 ns/iter (+/- 1) = 1350 MB/s
test misc::match_class_in_range ... bench: 14 ns/iter (+/- 0) = 5785 MB/s
test misc::match_class_unicode ... bench: 255 ns/iter (+/- 0) = 631 MB/s
test misc::matches_set ... bench: 481 ns/iter (+/- 11) = 51 MB/s
test misc::medium_1K ... bench: 15 ns/iter (+/- 0) = 70133 MB/s
test misc::medium_1MB ... bench: 22 ns/iter (+/- 0) = 47663818 MB/s
test misc::medium_32 ... bench: 15 ns/iter (+/- 0) = 4000 MB/s
test misc::medium_32K ... bench: 15 ns/iter (+/- 0) = 2186400 MB/s
test misc::no_exponential ... bench: 442 ns/iter (+/- 13) = 226 MB/s
test misc::not_literal ... bench: 89 ns/iter (+/- 1) = 573 MB/s
test misc::one_pass_long_prefix ... bench: 54 ns/iter (+/- 1) = 481 MB/s
test misc::one_pass_long_prefix_not ... bench: 52 ns/iter (+/- 1) = 500 MB/s
test misc::one_pass_short ... bench: 39 ns/iter (+/- 0) = 435 MB/s
test misc::one_pass_short_not ... bench: 42 ns/iter (+/- 0) = 404 MB/s
test misc::reallyhard2_1K ... bench: 83 ns/iter (+/- 6) = 12530 MB/s
test misc::reallyhard_1K ... bench: 1,592 ns/iter (+/- 4) = 660 MB/s
test misc::reallyhard_1MB ... bench: 1,575,691 ns/iter (+/- 29,668) = 665 MB/s
test misc::reallyhard_32 ... bench: 101 ns/iter (+/- 5) = 584 MB/s
test misc::reallyhard_32K ... bench: 49,325 ns/iter (+/- 1,734) = 664 MB/s
test misc::replace_all ... bench: 134 ns/iter (+/- 2)
test misc::reverse_suffix_no_quadratic ... bench: 4,189 ns/iter (+/- 274) = 1909 MB/s
test misc::short_haystack_1000000x ... bench: 132,182 ns/iter (+/- 4,966) = 60522 MB/s
test misc::short_haystack_100000x ... bench: 13,344 ns/iter (+/- 275) = 59952 MB/s
test misc::short_haystack_10000x ... bench: 6,119 ns/iter (+/- 285) = 13075 MB/s
test misc::short_haystack_1000x ... bench: 617 ns/iter (+/- 15) = 12983 MB/s
test misc::short_haystack_100x ... bench: 230 ns/iter (+/- 7) = 3526 MB/s
test misc::short_haystack_10x ... bench: 207 ns/iter (+/- 8) = 439 MB/s
test misc::short_haystack_1x ... bench: 213 ns/iter (+/- 7) = 89 MB/s
test misc::short_haystack_2x ... bench: 206 ns/iter (+/- 6) = 131 MB/s
test misc::short_haystack_3x ... bench: 207 ns/iter (+/- 10) = 169 MB/s
test misc::short_haystack_4x ... bench: 208 ns/iter (+/- 7) = 206 MB/s
test regexdna::find_new_lines ... bench: 12,275,804 ns/iter (+/- 145,331) = 414 MB/s
test regexdna::subst1 ... bench: 793,517 ns/iter (+/- 44,203) = 6406 MB/s
test regexdna::subst10 ... bench: 794,922 ns/iter (+/- 23,459) = 6394 MB/s
test regexdna::subst11 ... bench: 790,525 ns/iter (+/- 23,010) = 6430 MB/s
test regexdna::subst2 ... bench: 790,637 ns/iter (+/- 17,962) = 6429 MB/s
test regexdna::subst3 ... bench: 793,559 ns/iter (+/- 17,575) = 6405 MB/s
test regexdna::subst4 ... bench: 792,738 ns/iter (+/- 15,237) = 6412 MB/s
test regexdna::subst5 ... bench: 795,060 ns/iter (+/- 26,172) = 6393 MB/s
test regexdna::subst6 ... bench: 792,357 ns/iter (+/- 15,067) = 6415 MB/s
test regexdna::subst7 ... bench: 797,006 ns/iter (+/- 27,928) = 6378 MB/s
test regexdna::subst8 ... bench: 790,603 ns/iter (+/- 22,754) = 6429 MB/s
test regexdna::subst9 ... bench: 793,055 ns/iter (+/- 13,202) = 6409 MB/s
test regexdna::variant1 ... bench: 2,204,304 ns/iter (+/- 50,669) = 2306 MB/s
test regexdna::variant2 ... bench: 3,224,798 ns/iter (+/- 45,705) = 1576 MB/s
test regexdna::variant3 ... bench: 3,802,774 ns/iter (+/- 86,530) = 1336 MB/s
test regexdna::variant4 ... bench: 3,805,916 ns/iter (+/- 69,737) = 1335 MB/s
test regexdna::variant5 ... bench: 2,662,373 ns/iter (+/- 61,259) = 1909 MB/s
test regexdna::variant6 ... bench: 2,654,072 ns/iter (+/- 51,095) = 1915 MB/s
test regexdna::variant7 ... bench: 3,232,369 ns/iter (+/- 67,147) = 1572 MB/s
test regexdna::variant8 ... bench: 3,311,225 ns/iter (+/- 66,086) = 1535 MB/s
test regexdna::variant9 ... bench: 3,241,601 ns/iter (+/- 68,394) = 1568 MB/s
test rust_compile::compile_huge ... bench: 100,955 ns/iter (+/- 2,466)
test rust_compile::compile_huge_bytes ... bench: 5,936,732 ns/iter (+/- 126,993)
test rust_compile::compile_huge_full ... bench: 11,880,838 ns/iter (+/- 211,387)
test rust_compile::compile_simple ... bench: 4,575 ns/iter (+/- 139)
test rust_compile::compile_simple_bytes ... bench: 4,653 ns/iter (+/- 122)
test rust_compile::compile_simple_full ... bench: 20,656 ns/iter (+/- 535)
test rust_compile::compile_small ... bench: 9,613 ns/iter (+/- 992)
test rust_compile::compile_small_bytes ... bench: 188,349 ns/iter (+/- 4,733)
test rust_compile::compile_small_full ... bench: 341,554 ns/iter (+/- 9,774)
test sherlock::before_after_holmes ... bench: 907,419 ns/iter (+/- 11,645) = 655 MB/s
test sherlock::before_holmes ... bench: 62,036 ns/iter (+/- 1,854) = 9590 MB/s
test sherlock::everything_greedy ... bench: 2,072,694 ns/iter (+/- 45,192) = 287 MB/s
test sherlock::everything_greedy_nl ... bench: 884,483 ns/iter (+/- 25,710) = 672 MB/s
test sherlock::holmes_cochar_watson ... bench: 103,873 ns/iter (+/- 1,310) = 5727 MB/s
test sherlock::holmes_coword_watson ... bench: 481,491 ns/iter (+/- 11,516) = 1235 MB/s
test sherlock::ing_suffix ... bench: 323,119 ns/iter (+/- 7,438) = 1841 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,067,293 ns/iter (+/- 18,661) = 557 MB/s
test sherlock::letters ... bench: 21,732,526 ns/iter (+/- 253,563) = 27 MB/s
test sherlock::letters_lower ... bench: 21,187,465 ns/iter (+/- 191,023) = 28 MB/s
test sherlock::letters_upper ... bench: 1,766,003 ns/iter (+/- 17,494) = 336 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 897,387 ns/iter (+/- 26,674) = 662 MB/s
test sherlock::name_alt1 ... bench: 34,183 ns/iter (+/- 885) = 17404 MB/s
test sherlock::name_alt2 ... bench: 87,151 ns/iter (+/- 2,139) = 6826 MB/s
test sherlock::name_alt3 ... bench: 99,293 ns/iter (+/- 1,938) = 5991 MB/s
test sherlock::name_alt3_nocase ... bench: 379,228 ns/iter (+/- 22,539) = 1568 MB/s
test sherlock::name_alt4 ... bench: 123,040 ns/iter (+/- 2,676) = 4835 MB/s
test sherlock::name_alt4_nocase ... bench: 186,045 ns/iter (+/- 403) = 3197 MB/s
test sherlock::name_alt5 ... bench: 91,679 ns/iter (+/- 2,543) = 6489 MB/s
test sherlock::name_alt5_nocase ... bench: 343,668 ns/iter (+/- 6,807) = 1731 MB/s
test sherlock::name_holmes ... bench: 33,802 ns/iter (+/- 936) = 17600 MB/s
test sherlock::name_holmes_nocase ... bench: 136,208 ns/iter (+/- 4,317) = 4367 MB/s
test sherlock::name_sherlock ... bench: 22,534 ns/iter (+/- 462) = 26401 MB/s
test sherlock::name_sherlock_holmes ... bench: 22,514 ns/iter (+/- 697) = 26425 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 97,796 ns/iter (+/- 2,037) = 6083 MB/s
test sherlock::name_sherlock_nocase ... bench: 95,809 ns/iter (+/- 1,538) = 6209 MB/s
test sherlock::name_whitespace ... bench: 30,959 ns/iter (+/- 968) = 19216 MB/s
test sherlock::no_match_common ... bench: 19,568 ns/iter (+/- 616) = 30403 MB/s
test sherlock::no_match_really_common ... bench: 26,273 ns/iter (+/- 1,143) = 22644 MB/s
test sherlock::no_match_uncommon ... bench: 19,643 ns/iter (+/- 496) = 30287 MB/s
test sherlock::quotes ... bench: 371,876 ns/iter (+/- 2,494) = 1599 MB/s
test sherlock::repeated_class_negation ... bench: 76,963,104 ns/iter (+/- 277,311) = 7 MB/s
test sherlock::the_lower ... bench: 331,250 ns/iter (+/- 8,588) = 1796 MB/s
test sherlock::the_nocase ... bench: 516,528 ns/iter (+/- 40,826) = 1151 MB/s
test sherlock::the_upper ... bench: 44,206 ns/iter (+/- 1,277) = 13458 MB/s
test sherlock::the_whitespace ... bench: 822,577 ns/iter (+/- 23,649) = 723 MB/s
test sherlock::word_ending_n ... bench: 1,685,110 ns/iter (+/- 34,615) = 353 MB/s
test sherlock::words ... bench: 8,333,499 ns/iter (+/- 152,757) = 71 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 119 measured; 0 filtered out; finished in 124.94s

View file

@ -0,0 +1,112 @@
running 107 tests
test misc::anchored_literal_long_match ... bench: 18 ns/iter (+/- 0) = 21666 MB/s
test misc::anchored_literal_long_non_match ... bench: 20 ns/iter (+/- 1) = 19500 MB/s
test misc::anchored_literal_short_match ... bench: 18 ns/iter (+/- 0) = 1444 MB/s
test misc::anchored_literal_short_non_match ... bench: 20 ns/iter (+/- 0) = 1300 MB/s
test misc::easy0_1K ... bench: 54 ns/iter (+/- 2) = 19462 MB/s
test misc::easy0_1MB ... bench: 56 ns/iter (+/- 1) = 18725053 MB/s
test misc::easy0_32 ... bench: 51 ns/iter (+/- 1) = 1156 MB/s
test misc::easy0_32K ... bench: 51 ns/iter (+/- 2) = 643039 MB/s
test misc::easy1_1K ... bench: 41 ns/iter (+/- 1) = 25463 MB/s
test misc::easy1_1MB ... bench: 44 ns/iter (+/- 1) = 23831727 MB/s
test misc::easy1_32 ... bench: 40 ns/iter (+/- 2) = 1300 MB/s
test misc::easy1_32K ... bench: 40 ns/iter (+/- 1) = 819700 MB/s
test misc::hard_1K ... bench: 52 ns/iter (+/- 1) = 20211 MB/s
test misc::hard_1MB ... bench: 57 ns/iter (+/- 0) = 18396543 MB/s
test misc::hard_32 ... bench: 51 ns/iter (+/- 0) = 1156 MB/s
test misc::hard_32K ... bench: 51 ns/iter (+/- 3) = 643039 MB/s
test misc::is_match_set ... bench: 61 ns/iter (+/- 2) = 409 MB/s
test misc::literal ... bench: 14 ns/iter (+/- 0) = 3642 MB/s
test misc::long_needle1 ... bench: 3,249 ns/iter (+/- 87) = 30779 MB/s
test misc::long_needle2 ... bench: 350,559 ns/iter (+/- 7,154) = 285 MB/s
test misc::match_class ... bench: 61 ns/iter (+/- 4) = 1327 MB/s
test misc::match_class_in_range ... bench: 14 ns/iter (+/- 0) = 5785 MB/s
test misc::matches_set ... bench: 401 ns/iter (+/- 17) = 62 MB/s
test misc::medium_1K ... bench: 53 ns/iter (+/- 0) = 19849 MB/s
test misc::medium_1MB ... bench: 58 ns/iter (+/- 0) = 18079379 MB/s
test misc::medium_32 ... bench: 53 ns/iter (+/- 0) = 1132 MB/s
test misc::medium_32K ... bench: 53 ns/iter (+/- 2) = 618792 MB/s
test misc::no_exponential ... bench: 421 ns/iter (+/- 8) = 237 MB/s
test misc::not_literal ... bench: 90 ns/iter (+/- 0) = 566 MB/s
test misc::one_pass_long_prefix ... bench: 53 ns/iter (+/- 1) = 490 MB/s
test misc::one_pass_long_prefix_not ... bench: 53 ns/iter (+/- 0) = 490 MB/s
test misc::one_pass_short ... bench: 38 ns/iter (+/- 0) = 447 MB/s
test misc::one_pass_short_not ... bench: 42 ns/iter (+/- 3) = 404 MB/s
test misc::reallyhard2_1K ... bench: 77 ns/iter (+/- 1) = 13506 MB/s
test misc::reallyhard_1K ... bench: 1,592 ns/iter (+/- 1) = 660 MB/s
test misc::reallyhard_1MB ... bench: 1,575,759 ns/iter (+/- 49,997) = 665 MB/s
test misc::reallyhard_32 ... bench: 102 ns/iter (+/- 2) = 578 MB/s
test misc::reallyhard_32K ... bench: 49,326 ns/iter (+/- 1,055) = 664 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,161 ns/iter (+/- 94) = 1922 MB/s
test regexdna::find_new_lines ... bench: 12,344,799 ns/iter (+/- 188,054) = 411 MB/s
test regexdna::subst1 ... bench: 780,449 ns/iter (+/- 14,474) = 6513 MB/s
test regexdna::subst10 ... bench: 795,203 ns/iter (+/- 40,742) = 6392 MB/s
test regexdna::subst11 ... bench: 816,444 ns/iter (+/- 23,334) = 6226 MB/s
test regexdna::subst2 ... bench: 777,546 ns/iter (+/- 19,625) = 6537 MB/s
test regexdna::subst3 ... bench: 783,295 ns/iter (+/- 8,266) = 6489 MB/s
test regexdna::subst4 ... bench: 775,154 ns/iter (+/- 21,350) = 6557 MB/s
test regexdna::subst5 ... bench: 781,414 ns/iter (+/- 21,057) = 6505 MB/s
test regexdna::subst6 ... bench: 783,595 ns/iter (+/- 23,835) = 6487 MB/s
test regexdna::subst7 ... bench: 821,620 ns/iter (+/- 46,131) = 6187 MB/s
test regexdna::subst8 ... bench: 818,402 ns/iter (+/- 21,350) = 6211 MB/s
test regexdna::subst9 ... bench: 779,115 ns/iter (+/- 21,335) = 6524 MB/s
test regexdna::variant1 ... bench: 2,189,308 ns/iter (+/- 32,528) = 2321 MB/s
test regexdna::variant2 ... bench: 3,217,478 ns/iter (+/- 36,011) = 1579 MB/s
test regexdna::variant3 ... bench: 3,771,330 ns/iter (+/- 74,944) = 1347 MB/s
test regexdna::variant4 ... bench: 3,787,593 ns/iter (+/- 37,825) = 1342 MB/s
test regexdna::variant5 ... bench: 2,669,799 ns/iter (+/- 69,777) = 1904 MB/s
test regexdna::variant6 ... bench: 2,651,559 ns/iter (+/- 33,895) = 1917 MB/s
test regexdna::variant7 ... bench: 3,222,991 ns/iter (+/- 41,014) = 1577 MB/s
test regexdna::variant8 ... bench: 3,298,048 ns/iter (+/- 41,331) = 1541 MB/s
test regexdna::variant9 ... bench: 3,218,486 ns/iter (+/- 50,318) = 1579 MB/s
test rust_compile::compile_huge ... bench: 100,031 ns/iter (+/- 3,464)
test rust_compile::compile_huge_bytes ... bench: 5,885,102 ns/iter (+/- 130,016)
test rust_compile::compile_huge_full ... bench: 11,641,251 ns/iter (+/- 147,700)
test rust_compile::compile_simple ... bench: 4,263 ns/iter (+/- 116)
test rust_compile::compile_simple_bytes ... bench: 4,236 ns/iter (+/- 91)
test rust_compile::compile_simple_full ... bench: 22,349 ns/iter (+/- 2,085)
test rust_compile::compile_small ... bench: 9,537 ns/iter (+/- 298)
test rust_compile::compile_small_bytes ... bench: 178,561 ns/iter (+/- 3,796)
test rust_compile::compile_small_full ... bench: 363,343 ns/iter (+/- 9,481)
test sherlock::before_after_holmes ... bench: 907,022 ns/iter (+/- 19,133) = 655 MB/s
test sherlock::before_holmes ... bench: 63,729 ns/iter (+/- 1,830) = 9335 MB/s
test sherlock::everything_greedy ... bench: 2,181,593 ns/iter (+/- 46,002) = 272 MB/s
test sherlock::everything_greedy_nl ... bench: 884,811 ns/iter (+/- 26,211) = 672 MB/s
test sherlock::holmes_cochar_watson ... bench: 105,610 ns/iter (+/- 3,120) = 5633 MB/s
test sherlock::holmes_coword_watson ... bench: 480,986 ns/iter (+/- 13,228) = 1236 MB/s
test sherlock::ing_suffix ... bench: 322,921 ns/iter (+/- 3,555) = 1842 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,065,372 ns/iter (+/- 21,242) = 558 MB/s
test sherlock::letters ... bench: 22,109,015 ns/iter (+/- 146,243) = 26 MB/s
test sherlock::letters_lower ... bench: 21,686,153 ns/iter (+/- 206,041) = 27 MB/s
test sherlock::letters_upper ... bench: 1,778,225 ns/iter (+/- 25,935) = 334 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 897,355 ns/iter (+/- 26,781) = 662 MB/s
test sherlock::name_alt1 ... bench: 31,927 ns/iter (+/- 633) = 18634 MB/s
test sherlock::name_alt2 ... bench: 87,040 ns/iter (+/- 1,859) = 6835 MB/s
test sherlock::name_alt3 ... bench: 97,715 ns/iter (+/- 2,109) = 6088 MB/s
test sherlock::name_alt3_nocase ... bench: 944,955 ns/iter (+/- 26,503) = 629 MB/s
test sherlock::name_alt4 ... bench: 120,935 ns/iter (+/- 2,399) = 4919 MB/s
test sherlock::name_alt4_nocase ... bench: 228,597 ns/iter (+/- 7,137) = 2602 MB/s
test sherlock::name_alt5 ... bench: 91,174 ns/iter (+/- 1,096) = 6525 MB/s
test sherlock::name_alt5_nocase ... bench: 937,189 ns/iter (+/- 23,839) = 634 MB/s
test sherlock::name_holmes ... bench: 34,020 ns/iter (+/- 752) = 17487 MB/s
test sherlock::name_holmes_nocase ... bench: 117,194 ns/iter (+/- 3,444) = 5076 MB/s
test sherlock::name_sherlock ... bench: 22,557 ns/iter (+/- 388) = 26374 MB/s
test sherlock::name_sherlock_holmes ... bench: 22,428 ns/iter (+/- 683) = 26526 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 99,637 ns/iter (+/- 636) = 5971 MB/s
test sherlock::name_sherlock_nocase ... bench: 97,895 ns/iter (+/- 1,875) = 6077 MB/s
test sherlock::name_whitespace ... bench: 30,772 ns/iter (+/- 1,591) = 19333 MB/s
test sherlock::no_match_common ... bench: 19,665 ns/iter (+/- 296) = 30253 MB/s
test sherlock::no_match_really_common ... bench: 27,403 ns/iter (+/- 2,507) = 21710 MB/s
test sherlock::no_match_uncommon ... bench: 19,601 ns/iter (+/- 293) = 30352 MB/s
test sherlock::quotes ... bench: 370,323 ns/iter (+/- 1,345) = 1606 MB/s
test sherlock::repeated_class_negation ... bench: 68,414,794 ns/iter (+/- 342,428) = 8 MB/s
test sherlock::the_lower ... bench: 327,767 ns/iter (+/- 5,493) = 1815 MB/s
test sherlock::the_nocase ... bench: 507,818 ns/iter (+/- 1,796) = 1171 MB/s
test sherlock::the_upper ... bench: 45,045 ns/iter (+/- 1,400) = 13207 MB/s
test sherlock::the_whitespace ... bench: 822,080 ns/iter (+/- 16,581) = 723 MB/s
test sherlock::word_ending_n ... bench: 1,690,084 ns/iter (+/- 40,361) = 352 MB/s
test sherlock::words ... bench: 8,573,617 ns/iter (+/- 143,313) = 69 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 107 measured; 0 filtered out; finished in 110.03s

View file

@ -0,0 +1,112 @@
running 107 tests
test misc::anchored_literal_long_match ... bench: 18 ns/iter (+/- 0) = 21666 MB/s
test misc::anchored_literal_long_non_match ... bench: 19 ns/iter (+/- 1) = 20526 MB/s
test misc::anchored_literal_short_match ... bench: 18 ns/iter (+/- 0) = 1444 MB/s
test misc::anchored_literal_short_non_match ... bench: 20 ns/iter (+/- 0) = 1300 MB/s
test misc::easy0_1K ... bench: 14 ns/iter (+/- 0) = 75071 MB/s
test misc::easy0_1MB ... bench: 21 ns/iter (+/- 0) = 49933476 MB/s
test misc::easy0_32 ... bench: 14 ns/iter (+/- 0) = 4214 MB/s
test misc::easy0_32K ... bench: 14 ns/iter (+/- 0) = 2342500 MB/s
test misc::easy1_1K ... bench: 41 ns/iter (+/- 0) = 25463 MB/s
test misc::easy1_1MB ... bench: 48 ns/iter (+/- 0) = 21845750 MB/s
test misc::easy1_32 ... bench: 41 ns/iter (+/- 0) = 1268 MB/s
test misc::easy1_32K ... bench: 41 ns/iter (+/- 1) = 799707 MB/s
test misc::hard_1K ... bench: 51 ns/iter (+/- 1) = 20607 MB/s
test misc::hard_1MB ... bench: 56 ns/iter (+/- 2) = 18725053 MB/s
test misc::hard_32 ... bench: 51 ns/iter (+/- 6) = 1156 MB/s
test misc::hard_32K ... bench: 51 ns/iter (+/- 1) = 643039 MB/s
test misc::is_match_set ... bench: 62 ns/iter (+/- 2) = 403 MB/s
test misc::literal ... bench: 13 ns/iter (+/- 0) = 3923 MB/s
test misc::long_needle1 ... bench: 2,825 ns/iter (+/- 57) = 35398 MB/s
test misc::long_needle2 ... bench: 350,755 ns/iter (+/- 11,905) = 285 MB/s
test misc::match_class ... bench: 64 ns/iter (+/- 1) = 1265 MB/s
test misc::match_class_in_range ... bench: 13 ns/iter (+/- 0) = 6230 MB/s
test misc::matches_set ... bench: 422 ns/iter (+/- 12) = 59 MB/s
test misc::medium_1K ... bench: 15 ns/iter (+/- 0) = 70133 MB/s
test misc::medium_1MB ... bench: 21 ns/iter (+/- 0) = 49933523 MB/s
test misc::medium_32 ... bench: 15 ns/iter (+/- 0) = 4000 MB/s
test misc::medium_32K ... bench: 14 ns/iter (+/- 0) = 2342571 MB/s
test misc::no_exponential ... bench: 443 ns/iter (+/- 12) = 225 MB/s
test misc::not_literal ... bench: 89 ns/iter (+/- 1) = 573 MB/s
test misc::one_pass_long_prefix ... bench: 52 ns/iter (+/- 1) = 500 MB/s
test misc::one_pass_long_prefix_not ... bench: 52 ns/iter (+/- 1) = 500 MB/s
test misc::one_pass_short ... bench: 40 ns/iter (+/- 1) = 425 MB/s
test misc::one_pass_short_not ... bench: 42 ns/iter (+/- 0) = 404 MB/s
test misc::reallyhard2_1K ... bench: 80 ns/iter (+/- 0) = 13000 MB/s
test misc::reallyhard_1K ... bench: 1,592 ns/iter (+/- 1) = 660 MB/s
test misc::reallyhard_1MB ... bench: 1,575,789 ns/iter (+/- 34,236) = 665 MB/s
test misc::reallyhard_32 ... bench: 101 ns/iter (+/- 2) = 584 MB/s
test misc::reallyhard_32K ... bench: 49,321 ns/iter (+/- 2,718) = 664 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 4,158 ns/iter (+/- 93) = 1924 MB/s
test regexdna::find_new_lines ... bench: 12,391,732 ns/iter (+/- 180,913) = 410 MB/s
test regexdna::subst1 ... bench: 781,690 ns/iter (+/- 29,637) = 6503 MB/s
test regexdna::subst10 ... bench: 778,306 ns/iter (+/- 22,706) = 6531 MB/s
test regexdna::subst11 ... bench: 777,716 ns/iter (+/- 24,635) = 6536 MB/s
test regexdna::subst2 ... bench: 791,786 ns/iter (+/- 15,778) = 6420 MB/s
test regexdna::subst3 ... bench: 783,470 ns/iter (+/- 25,543) = 6488 MB/s
test regexdna::subst4 ... bench: 814,902 ns/iter (+/- 14,146) = 6238 MB/s
test regexdna::subst5 ... bench: 781,464 ns/iter (+/- 19,532) = 6504 MB/s
test regexdna::subst6 ... bench: 780,116 ns/iter (+/- 16,558) = 6516 MB/s
test regexdna::subst7 ... bench: 795,982 ns/iter (+/- 11,254) = 6386 MB/s
test regexdna::subst8 ... bench: 781,746 ns/iter (+/- 24,996) = 6502 MB/s
test regexdna::subst9 ... bench: 783,793 ns/iter (+/- 14,943) = 6485 MB/s
test regexdna::variant1 ... bench: 2,188,940 ns/iter (+/- 42,308) = 2322 MB/s
test regexdna::variant2 ... bench: 3,218,011 ns/iter (+/- 50,700) = 1579 MB/s
test regexdna::variant3 ... bench: 3,778,907 ns/iter (+/- 90,543) = 1345 MB/s
test regexdna::variant4 ... bench: 3,803,852 ns/iter (+/- 68,319) = 1336 MB/s
test regexdna::variant5 ... bench: 2,660,949 ns/iter (+/- 55,488) = 1910 MB/s
test regexdna::variant6 ... bench: 2,647,131 ns/iter (+/- 26,846) = 1920 MB/s
test regexdna::variant7 ... bench: 3,235,032 ns/iter (+/- 37,599) = 1571 MB/s
test regexdna::variant8 ... bench: 3,305,124 ns/iter (+/- 67,109) = 1538 MB/s
test regexdna::variant9 ... bench: 3,231,033 ns/iter (+/- 55,626) = 1573 MB/s
test rust_compile::compile_huge ... bench: 99,387 ns/iter (+/- 2,366)
test rust_compile::compile_huge_bytes ... bench: 5,865,693 ns/iter (+/- 62,255)
test rust_compile::compile_huge_full ... bench: 11,752,845 ns/iter (+/- 195,440)
test rust_compile::compile_simple ... bench: 4,117 ns/iter (+/- 141)
test rust_compile::compile_simple_bytes ... bench: 4,162 ns/iter (+/- 67)
test rust_compile::compile_simple_full ... bench: 19,955 ns/iter (+/- 622)
test rust_compile::compile_small ... bench: 9,140 ns/iter (+/- 112)
test rust_compile::compile_small_bytes ... bench: 165,990 ns/iter (+/- 5,876)
test rust_compile::compile_small_full ... bench: 342,897 ns/iter (+/- 13,730)
test sherlock::before_after_holmes ... bench: 906,789 ns/iter (+/- 13,931) = 656 MB/s
test sherlock::before_holmes ... bench: 62,319 ns/iter (+/- 790) = 9546 MB/s
test sherlock::everything_greedy ... bench: 2,175,424 ns/iter (+/- 47,720) = 273 MB/s
test sherlock::everything_greedy_nl ... bench: 884,406 ns/iter (+/- 22,679) = 672 MB/s
test sherlock::holmes_cochar_watson ... bench: 105,261 ns/iter (+/- 3,536) = 5651 MB/s
test sherlock::holmes_coword_watson ... bench: 479,524 ns/iter (+/- 7,749) = 1240 MB/s
test sherlock::ing_suffix ... bench: 321,401 ns/iter (+/- 9,123) = 1851 MB/s
test sherlock::ing_suffix_limited_space ... bench: 1,069,722 ns/iter (+/- 16,366) = 556 MB/s
test sherlock::letters ... bench: 21,959,896 ns/iter (+/- 204,695) = 27 MB/s
test sherlock::letters_lower ... bench: 21,462,457 ns/iter (+/- 207,449) = 27 MB/s
test sherlock::letters_upper ... bench: 1,768,026 ns/iter (+/- 41,459) = 336 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 897,197 ns/iter (+/- 14,349) = 663 MB/s
test sherlock::name_alt1 ... bench: 34,037 ns/iter (+/- 719) = 17479 MB/s
test sherlock::name_alt2 ... bench: 86,788 ns/iter (+/- 1,203) = 6855 MB/s
test sherlock::name_alt3 ... bench: 98,225 ns/iter (+/- 1,589) = 6056 MB/s
test sherlock::name_alt3_nocase ... bench: 377,597 ns/iter (+/- 14,840) = 1575 MB/s
test sherlock::name_alt4 ... bench: 122,440 ns/iter (+/- 8,123) = 4858 MB/s
test sherlock::name_alt4_nocase ... bench: 187,282 ns/iter (+/- 5,176) = 3176 MB/s
test sherlock::name_alt5 ... bench: 91,429 ns/iter (+/- 1,944) = 6507 MB/s
test sherlock::name_alt5_nocase ... bench: 348,111 ns/iter (+/- 12,721) = 1709 MB/s
test sherlock::name_holmes ... bench: 33,547 ns/iter (+/- 1,119) = 17734 MB/s
test sherlock::name_holmes_nocase ... bench: 132,342 ns/iter (+/- 3,974) = 4495 MB/s
test sherlock::name_sherlock ... bench: 22,562 ns/iter (+/- 364) = 26368 MB/s
test sherlock::name_sherlock_holmes ... bench: 22,313 ns/iter (+/- 579) = 26663 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 97,556 ns/iter (+/- 2,092) = 6098 MB/s
test sherlock::name_sherlock_nocase ... bench: 95,917 ns/iter (+/- 4,054) = 6202 MB/s
test sherlock::name_whitespace ... bench: 30,997 ns/iter (+/- 1,039) = 19193 MB/s
test sherlock::no_match_common ... bench: 19,690 ns/iter (+/- 378) = 30214 MB/s
test sherlock::no_match_really_common ... bench: 27,629 ns/iter (+/- 465) = 21532 MB/s
test sherlock::no_match_uncommon ... bench: 19,681 ns/iter (+/- 291) = 30228 MB/s
test sherlock::quotes ... bench: 368,290 ns/iter (+/- 1,508) = 1615 MB/s
test sherlock::repeated_class_negation ... bench: 73,004,024 ns/iter (+/- 1,040,743) = 8 MB/s
test sherlock::the_lower ... bench: 320,929 ns/iter (+/- 12,287) = 1853 MB/s
test sherlock::the_nocase ... bench: 514,946 ns/iter (+/- 11,241) = 1155 MB/s
test sherlock::the_upper ... bench: 43,816 ns/iter (+/- 1,719) = 13577 MB/s
test sherlock::the_whitespace ... bench: 825,245 ns/iter (+/- 20,797) = 720 MB/s
test sherlock::word_ending_n ... bench: 1,676,908 ns/iter (+/- 40,650) = 354 MB/s
test sherlock::words ... bench: 8,449,099 ns/iter (+/- 123,842) = 70 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 107 measured; 0 filtered out; finished in 128.47s

View file

@ -0,0 +1,124 @@
running 119 tests
test misc::anchored_literal_long_match ... bench: 7 ns/iter (+/- 0) = 55714 MB/s
test misc::anchored_literal_long_non_match ... bench: 10 ns/iter (+/- 0) = 39000 MB/s
test misc::anchored_literal_short_match ... bench: 7 ns/iter (+/- 0) = 3714 MB/s
test misc::anchored_literal_short_non_match ... bench: 10 ns/iter (+/- 0) = 2600 MB/s
test misc::easy0_1K ... bench: 7 ns/iter (+/- 0) = 150142 MB/s
test misc::easy0_1MB ... bench: 11 ns/iter (+/- 1) = 95327545 MB/s
test misc::easy0_32 ... bench: 7 ns/iter (+/- 0) = 8428 MB/s
test misc::easy0_32K ... bench: 7 ns/iter (+/- 0) = 4685000 MB/s
test misc::easy1_1K ... bench: 17 ns/iter (+/- 1) = 61411 MB/s
test misc::easy1_1MB ... bench: 20 ns/iter (+/- 0) = 52429800 MB/s
test misc::easy1_32 ... bench: 18 ns/iter (+/- 1) = 2888 MB/s
test misc::easy1_32K ... bench: 18 ns/iter (+/- 0) = 1821555 MB/s
test misc::hard_1K ... bench: 24 ns/iter (+/- 0) = 43791 MB/s
test misc::hard_1MB ... bench: 28 ns/iter (+/- 0) = 37450107 MB/s
test misc::hard_32 ... bench: 24 ns/iter (+/- 0) = 2458 MB/s
test misc::hard_32K ... bench: 24 ns/iter (+/- 0) = 1366458 MB/s
test misc::is_match_set ... bench: 37 ns/iter (+/- 0) = 675 MB/s
test misc::literal ... bench: 8 ns/iter (+/- 1) = 6375 MB/s
test misc::long_needle1 ... bench: 1,785 ns/iter (+/- 1) = 56022 MB/s
test misc::long_needle2 ... bench: 193,595 ns/iter (+/- 1,486) = 516 MB/s
test misc::match_class ... bench: 37 ns/iter (+/- 1) = 2189 MB/s
test misc::match_class_in_range ... bench: 8 ns/iter (+/- 0) = 10125 MB/s
test misc::match_class_unicode ... bench: 181 ns/iter (+/- 1) = 889 MB/s
test misc::matches_set ... bench: 216 ns/iter (+/- 9) = 115 MB/s
test misc::medium_1K ... bench: 7 ns/iter (+/- 0) = 150285 MB/s
test misc::medium_1MB ... bench: 12 ns/iter (+/- 1) = 87383666 MB/s
test misc::medium_32 ... bench: 7 ns/iter (+/- 0) = 8571 MB/s
test misc::medium_32K ... bench: 7 ns/iter (+/- 0) = 4685142 MB/s
test misc::no_exponential ... bench: 283 ns/iter (+/- 7) = 353 MB/s
test misc::not_literal ... bench: 53 ns/iter (+/- 1) = 962 MB/s
test misc::one_pass_long_prefix ... bench: 24 ns/iter (+/- 2) = 1083 MB/s
test misc::one_pass_long_prefix_not ... bench: 24 ns/iter (+/- 2) = 1083 MB/s
test misc::one_pass_short ... bench: 16 ns/iter (+/- 0) = 1062 MB/s
test misc::one_pass_short_not ... bench: 19 ns/iter (+/- 0) = 894 MB/s
test misc::reallyhard2_1K ... bench: 41 ns/iter (+/- 0) = 25365 MB/s
test misc::reallyhard_1K ... bench: 1,208 ns/iter (+/- 2) = 870 MB/s
test misc::reallyhard_1MB ... bench: 1,213,959 ns/iter (+/- 7,198) = 863 MB/s
test misc::reallyhard_32 ... bench: 62 ns/iter (+/- 0) = 951 MB/s
test misc::reallyhard_32K ... bench: 38,231 ns/iter (+/- 354) = 857 MB/s
test misc::replace_all ... bench: 86 ns/iter (+/- 3)
test misc::reverse_suffix_no_quadratic ... bench: 2,351 ns/iter (+/- 31) = 3402 MB/s
test misc::short_haystack_1000000x ... bench: 91,018 ns/iter (+/- 203) = 87894 MB/s
test misc::short_haystack_100000x ... bench: 9,277 ns/iter (+/- 40) = 86235 MB/s
test misc::short_haystack_10000x ... bench: 2,863 ns/iter (+/- 4) = 27946 MB/s
test misc::short_haystack_1000x ... bench: 201 ns/iter (+/- 3) = 39855 MB/s
test misc::short_haystack_100x ... bench: 100 ns/iter (+/- 2) = 8110 MB/s
test misc::short_haystack_10x ... bench: 88 ns/iter (+/- 0) = 1034 MB/s
test misc::short_haystack_1x ... bench: 86 ns/iter (+/- 1) = 220 MB/s
test misc::short_haystack_2x ... bench: 87 ns/iter (+/- 0) = 310 MB/s
test misc::short_haystack_3x ... bench: 88 ns/iter (+/- 1) = 397 MB/s
test misc::short_haystack_4x ... bench: 88 ns/iter (+/- 1) = 488 MB/s
test regexdna::find_new_lines ... bench: 7,348,651 ns/iter (+/- 40,559) = 691 MB/s
test regexdna::subst1 ... bench: 493,624 ns/iter (+/- 10,315) = 10298 MB/s
test regexdna::subst10 ... bench: 489,573 ns/iter (+/- 18,151) = 10383 MB/s
test regexdna::subst11 ... bench: 492,501 ns/iter (+/- 11,650) = 10321 MB/s
test regexdna::subst2 ... bench: 492,283 ns/iter (+/- 12,363) = 10326 MB/s
test regexdna::subst3 ... bench: 496,795 ns/iter (+/- 20,704) = 10232 MB/s
test regexdna::subst4 ... bench: 489,245 ns/iter (+/- 10,289) = 10390 MB/s
test regexdna::subst5 ... bench: 499,701 ns/iter (+/- 11,359) = 10172 MB/s
test regexdna::subst6 ... bench: 490,460 ns/iter (+/- 8,758) = 10364 MB/s
test regexdna::subst7 ... bench: 496,398 ns/iter (+/- 18,774) = 10240 MB/s
test regexdna::subst8 ... bench: 497,077 ns/iter (+/- 24,767) = 10226 MB/s
test regexdna::subst9 ... bench: 496,763 ns/iter (+/- 12,477) = 10233 MB/s
test regexdna::variant1 ... bench: 1,454,747 ns/iter (+/- 48,995) = 3494 MB/s
test regexdna::variant2 ... bench: 2,311,001 ns/iter (+/- 63,347) = 2199 MB/s
test regexdna::variant3 ... bench: 2,832,483 ns/iter (+/- 33,976) = 1794 MB/s
test regexdna::variant4 ... bench: 2,796,710 ns/iter (+/- 56,279) = 1817 MB/s
test regexdna::variant5 ... bench: 1,708,634 ns/iter (+/- 25,749) = 2975 MB/s
test regexdna::variant6 ... bench: 1,706,259 ns/iter (+/- 22,151) = 2979 MB/s
test regexdna::variant7 ... bench: 2,400,436 ns/iter (+/- 24,655) = 2117 MB/s
test regexdna::variant8 ... bench: 2,413,765 ns/iter (+/- 50,326) = 2106 MB/s
test regexdna::variant9 ... bench: 2,402,528 ns/iter (+/- 26,150) = 2115 MB/s
test rust_compile::compile_huge ... bench: 51,936 ns/iter (+/- 834)
test rust_compile::compile_huge_bytes ... bench: 3,294,633 ns/iter (+/- 40,585)
test rust_compile::compile_huge_full ... bench: 6,323,294 ns/iter (+/- 66,684)
test rust_compile::compile_simple ... bench: 1,992 ns/iter (+/- 25)
test rust_compile::compile_simple_bytes ... bench: 2,004 ns/iter (+/- 20)
test rust_compile::compile_simple_full ... bench: 9,697 ns/iter (+/- 68)
test rust_compile::compile_small ... bench: 4,261 ns/iter (+/- 72)
test rust_compile::compile_small_bytes ... bench: 83,908 ns/iter (+/- 1,405)
test rust_compile::compile_small_full ... bench: 166,152 ns/iter (+/- 3,508)
test sherlock::before_after_holmes ... bench: 699,767 ns/iter (+/- 6,201) = 850 MB/s
test sherlock::before_holmes ... bench: 29,284 ns/iter (+/- 573) = 20315 MB/s
test sherlock::everything_greedy ... bench: 1,070,812 ns/iter (+/- 18,795) = 555 MB/s
test sherlock::everything_greedy_nl ... bench: 445,517 ns/iter (+/- 7,760) = 1335 MB/s
test sherlock::holmes_cochar_watson ... bench: 43,459 ns/iter (+/- 901) = 13689 MB/s
test sherlock::holmes_coword_watson ... bench: 335,772 ns/iter (+/- 6,348) = 1771 MB/s
test sherlock::ing_suffix ... bench: 153,546 ns/iter (+/- 3,075) = 3874 MB/s
test sherlock::ing_suffix_limited_space ... bench: 777,388 ns/iter (+/- 8,447) = 765 MB/s
test sherlock::letters ... bench: 10,123,374 ns/iter (+/- 90,059) = 58 MB/s
test sherlock::letters_lower ... bench: 9,957,916 ns/iter (+/- 63,766) = 59 MB/s
test sherlock::letters_upper ... bench: 1,123,119 ns/iter (+/- 17,972) = 529 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 694,714 ns/iter (+/- 7,006) = 856 MB/s
test sherlock::name_alt1 ... bench: 13,427 ns/iter (+/- 331) = 44308 MB/s
test sherlock::name_alt2 ... bench: 33,171 ns/iter (+/- 1,029) = 17935 MB/s
test sherlock::name_alt3 ... bench: 36,816 ns/iter (+/- 1,138) = 16159 MB/s
test sherlock::name_alt3_nocase ... bench: 221,185 ns/iter (+/- 3,268) = 2689 MB/s
test sherlock::name_alt4 ... bench: 49,883 ns/iter (+/- 1,150) = 11926 MB/s
test sherlock::name_alt4_nocase ... bench: 74,967 ns/iter (+/- 1,807) = 7935 MB/s
test sherlock::name_alt5 ... bench: 34,675 ns/iter (+/- 1,335) = 17157 MB/s
test sherlock::name_alt5_nocase ... bench: 192,109 ns/iter (+/- 6,194) = 3096 MB/s
test sherlock::name_holmes ... bench: 18,355 ns/iter (+/- 389) = 32412 MB/s
test sherlock::name_holmes_nocase ... bench: 58,179 ns/iter (+/- 917) = 10225 MB/s
test sherlock::name_sherlock ... bench: 14,307 ns/iter (+/- 74) = 41583 MB/s
test sherlock::name_sherlock_holmes ... bench: 14,332 ns/iter (+/- 144) = 41510 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 41,336 ns/iter (+/- 736) = 14392 MB/s
test sherlock::name_sherlock_nocase ... bench: 40,029 ns/iter (+/- 1,393) = 14862 MB/s
test sherlock::name_whitespace ... bench: 17,807 ns/iter (+/- 105) = 33410 MB/s
test sherlock::no_match_common ... bench: 13,625 ns/iter (+/- 15) = 43664 MB/s
test sherlock::no_match_really_common ... bench: 13,818 ns/iter (+/- 282) = 43054 MB/s
test sherlock::no_match_uncommon ... bench: 13,628 ns/iter (+/- 27) = 43655 MB/s
test sherlock::quotes ... bench: 232,910 ns/iter (+/- 1,883) = 2554 MB/s
test sherlock::repeated_class_negation ... bench: 36,892,964 ns/iter (+/- 629,538) = 16 MB/s
test sherlock::the_lower ... bench: 203,077 ns/iter (+/- 2,574) = 2929 MB/s
test sherlock::the_nocase ... bench: 290,781 ns/iter (+/- 6,597) = 2045 MB/s
test sherlock::the_upper ... bench: 22,731 ns/iter (+/- 439) = 26172 MB/s
test sherlock::the_whitespace ... bench: 423,983 ns/iter (+/- 10,849) = 1403 MB/s
test sherlock::word_ending_n ... bench: 1,109,013 ns/iter (+/- 12,645) = 536 MB/s
test sherlock::words ... bench: 4,529,451 ns/iter (+/- 44,285) = 131 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 119 measured; 0 filtered out; finished in 164.08s

View file

@ -0,0 +1,112 @@
running 107 tests
test misc::anchored_literal_long_match ... bench: 8 ns/iter (+/- 0) = 48750 MB/s
test misc::anchored_literal_long_non_match ... bench: 10 ns/iter (+/- 0) = 39000 MB/s
test misc::anchored_literal_short_match ... bench: 7 ns/iter (+/- 0) = 3714 MB/s
test misc::anchored_literal_short_non_match ... bench: 10 ns/iter (+/- 0) = 2600 MB/s
test misc::easy0_1K ... bench: 7 ns/iter (+/- 0) = 150142 MB/s
test misc::easy0_1MB ... bench: 11 ns/iter (+/- 0) = 95327545 MB/s
test misc::easy0_32 ... bench: 7 ns/iter (+/- 0) = 8428 MB/s
test misc::easy0_32K ... bench: 7 ns/iter (+/- 0) = 4685000 MB/s
test misc::easy1_1K ... bench: 17 ns/iter (+/- 0) = 61411 MB/s
test misc::easy1_1MB ... bench: 20 ns/iter (+/- 0) = 52429800 MB/s
test misc::easy1_32 ... bench: 18 ns/iter (+/- 0) = 2888 MB/s
test misc::easy1_32K ... bench: 18 ns/iter (+/- 0) = 1821555 MB/s
test misc::hard_1K ... bench: 24 ns/iter (+/- 0) = 43791 MB/s
test misc::hard_1MB ... bench: 28 ns/iter (+/- 0) = 37450107 MB/s
test misc::hard_32 ... bench: 24 ns/iter (+/- 0) = 2458 MB/s
test misc::hard_32K ... bench: 24 ns/iter (+/- 0) = 1366458 MB/s
test misc::is_match_set ... bench: 37 ns/iter (+/- 0) = 675 MB/s
test misc::literal ... bench: 7 ns/iter (+/- 0) = 7285 MB/s
test misc::long_needle1 ... bench: 2,186 ns/iter (+/- 19) = 45746 MB/s
test misc::long_needle2 ... bench: 210,378 ns/iter (+/- 61,574) = 475 MB/s
test misc::match_class ... bench: 39 ns/iter (+/- 1) = 2076 MB/s
test misc::match_class_in_range ... bench: 7 ns/iter (+/- 0) = 11571 MB/s
test misc::matches_set ... bench: 176 ns/iter (+/- 12) = 142 MB/s
test misc::medium_1K ... bench: 8 ns/iter (+/- 0) = 131500 MB/s
test misc::medium_1MB ... bench: 12 ns/iter (+/- 0) = 87383666 MB/s
test misc::medium_32 ... bench: 8 ns/iter (+/- 0) = 7500 MB/s
test misc::medium_32K ... bench: 8 ns/iter (+/- 0) = 4099500 MB/s
test misc::no_exponential ... bench: 274 ns/iter (+/- 7) = 364 MB/s
test misc::not_literal ... bench: 53 ns/iter (+/- 0) = 962 MB/s
test misc::one_pass_long_prefix ... bench: 24 ns/iter (+/- 2) = 1083 MB/s
test misc::one_pass_long_prefix_not ... bench: 24 ns/iter (+/- 1) = 1083 MB/s
test misc::one_pass_short ... bench: 16 ns/iter (+/- 1) = 1062 MB/s
test misc::one_pass_short_not ... bench: 19 ns/iter (+/- 0) = 894 MB/s
test misc::reallyhard2_1K ... bench: 38 ns/iter (+/- 5) = 27368 MB/s
test misc::reallyhard_1K ... bench: 1,220 ns/iter (+/- 15) = 861 MB/s
test misc::reallyhard_1MB ... bench: 1,215,297 ns/iter (+/- 5,229) = 862 MB/s
test misc::reallyhard_32 ... bench: 63 ns/iter (+/- 1) = 936 MB/s
test misc::reallyhard_32K ... bench: 38,164 ns/iter (+/- 232) = 859 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 2,353 ns/iter (+/- 8) = 3399 MB/s
test regexdna::find_new_lines ... bench: 7,346,276 ns/iter (+/- 46,149) = 691 MB/s
test regexdna::subst1 ... bench: 486,203 ns/iter (+/- 21,159) = 10455 MB/s
test regexdna::subst10 ... bench: 494,356 ns/iter (+/- 6,423) = 10282 MB/s
test regexdna::subst11 ... bench: 481,930 ns/iter (+/- 19,639) = 10548 MB/s
test regexdna::subst2 ... bench: 486,672 ns/iter (+/- 22,184) = 10445 MB/s
test regexdna::subst3 ... bench: 487,152 ns/iter (+/- 19,776) = 10434 MB/s
test regexdna::subst4 ... bench: 486,534 ns/iter (+/- 23,897) = 10448 MB/s
test regexdna::subst5 ... bench: 481,412 ns/iter (+/- 26,310) = 10559 MB/s
test regexdna::subst6 ... bench: 479,498 ns/iter (+/- 20,310) = 10601 MB/s
test regexdna::subst7 ... bench: 481,960 ns/iter (+/- 18,492) = 10547 MB/s
test regexdna::subst8 ... bench: 482,282 ns/iter (+/- 22,522) = 10540 MB/s
test regexdna::subst9 ... bench: 489,224 ns/iter (+/- 25,264) = 10390 MB/s
test regexdna::variant1 ... bench: 1,470,068 ns/iter (+/- 65,563) = 3457 MB/s
test regexdna::variant2 ... bench: 2,298,112 ns/iter (+/- 27,688) = 2211 MB/s
test regexdna::variant3 ... bench: 2,818,539 ns/iter (+/- 31,432) = 1803 MB/s
test regexdna::variant4 ... bench: 2,786,226 ns/iter (+/- 30,699) = 1824 MB/s
test regexdna::variant5 ... bench: 1,716,429 ns/iter (+/- 20,264) = 2961 MB/s
test regexdna::variant6 ... bench: 1,719,420 ns/iter (+/- 23,944) = 2956 MB/s
test regexdna::variant7 ... bench: 2,391,022 ns/iter (+/- 23,192) = 2126 MB/s
test regexdna::variant8 ... bench: 2,418,744 ns/iter (+/- 44,152) = 2101 MB/s
test regexdna::variant9 ... bench: 2,400,918 ns/iter (+/- 24,041) = 2117 MB/s
test rust_compile::compile_huge ... bench: 57,745 ns/iter (+/- 816)
test rust_compile::compile_huge_bytes ... bench: 3,346,952 ns/iter (+/- 39,488)
test rust_compile::compile_huge_full ... bench: 6,344,293 ns/iter (+/- 53,114)
test rust_compile::compile_simple ... bench: 2,040 ns/iter (+/- 32)
test rust_compile::compile_simple_bytes ... bench: 2,010 ns/iter (+/- 34)
test rust_compile::compile_simple_full ... bench: 9,632 ns/iter (+/- 464)
test rust_compile::compile_small ... bench: 4,445 ns/iter (+/- 77)
test rust_compile::compile_small_bytes ... bench: 83,791 ns/iter (+/- 1,929)
test rust_compile::compile_small_full ... bench: 164,948 ns/iter (+/- 2,595)
test sherlock::before_after_holmes ... bench: 699,996 ns/iter (+/- 6,647) = 849 MB/s
test sherlock::before_holmes ... bench: 28,208 ns/iter (+/- 233) = 21090 MB/s
test sherlock::everything_greedy ... bench: 1,033,048 ns/iter (+/- 9,790) = 575 MB/s
test sherlock::everything_greedy_nl ... bench: 424,081 ns/iter (+/- 22,574) = 1402 MB/s
test sherlock::holmes_cochar_watson ... bench: 43,131 ns/iter (+/- 827) = 13793 MB/s
test sherlock::holmes_coword_watson ... bench: 336,678 ns/iter (+/- 6,985) = 1767 MB/s
test sherlock::ing_suffix ... bench: 153,589 ns/iter (+/- 3,193) = 3873 MB/s
test sherlock::ing_suffix_limited_space ... bench: 776,911 ns/iter (+/- 8,815) = 765 MB/s
test sherlock::letters ... bench: 10,056,702 ns/iter (+/- 49,688) = 59 MB/s
test sherlock::letters_lower ... bench: 9,900,568 ns/iter (+/- 76,118) = 60 MB/s
test sherlock::letters_upper ... bench: 1,120,456 ns/iter (+/- 13,538) = 530 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 693,727 ns/iter (+/- 6,840) = 857 MB/s
test sherlock::name_alt1 ... bench: 11,101 ns/iter (+/- 65) = 53592 MB/s
test sherlock::name_alt2 ... bench: 34,003 ns/iter (+/- 966) = 17496 MB/s
test sherlock::name_alt3 ... bench: 37,975 ns/iter (+/- 1,313) = 15666 MB/s
test sherlock::name_alt3_nocase ... bench: 214,299 ns/iter (+/- 3,026) = 2776 MB/s
test sherlock::name_alt4 ... bench: 50,551 ns/iter (+/- 1,377) = 11768 MB/s
test sherlock::name_alt4_nocase ... bench: 74,713 ns/iter (+/- 1,359) = 7962 MB/s
test sherlock::name_alt5 ... bench: 35,426 ns/iter (+/- 625) = 16793 MB/s
test sherlock::name_alt5_nocase ... bench: 190,521 ns/iter (+/- 4,903) = 3122 MB/s
test sherlock::name_holmes ... bench: 18,070 ns/iter (+/- 763) = 32923 MB/s
test sherlock::name_holmes_nocase ... bench: 58,454 ns/iter (+/- 1,228) = 10177 MB/s
test sherlock::name_sherlock ... bench: 14,380 ns/iter (+/- 227) = 41372 MB/s
test sherlock::name_sherlock_holmes ... bench: 14,491 ns/iter (+/- 116) = 41055 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 40,722 ns/iter (+/- 231) = 14609 MB/s
test sherlock::name_sherlock_nocase ... bench: 39,937 ns/iter (+/- 623) = 14896 MB/s
test sherlock::name_whitespace ... bench: 17,979 ns/iter (+/- 140) = 33090 MB/s
test sherlock::no_match_common ... bench: 13,650 ns/iter (+/- 112) = 43584 MB/s
test sherlock::no_match_really_common ... bench: 13,623 ns/iter (+/- 295) = 43671 MB/s
test sherlock::no_match_uncommon ... bench: 13,641 ns/iter (+/- 55) = 43613 MB/s
test sherlock::quotes ... bench: 232,451 ns/iter (+/- 6,555) = 2559 MB/s
test sherlock::repeated_class_negation ... bench: 36,984,199 ns/iter (+/- 623,153) = 16 MB/s
test sherlock::the_lower ... bench: 189,502 ns/iter (+/- 4,870) = 3139 MB/s
test sherlock::the_nocase ... bench: 294,945 ns/iter (+/- 9,381) = 2017 MB/s
test sherlock::the_upper ... bench: 21,591 ns/iter (+/- 680) = 27554 MB/s
test sherlock::the_whitespace ... bench: 424,862 ns/iter (+/- 7,197) = 1400 MB/s
test sherlock::word_ending_n ... bench: 1,126,768 ns/iter (+/- 13,900) = 527 MB/s
test sherlock::words ... bench: 4,517,167 ns/iter (+/- 55,809) = 131 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 107 measured; 0 filtered out; finished in 150.58s

View file

@ -0,0 +1,124 @@
running 119 tests
test misc::anchored_literal_long_match ... bench: 8 ns/iter (+/- 0) = 48750 MB/s
test misc::anchored_literal_long_non_match ... bench: 9 ns/iter (+/- 0) = 43333 MB/s
test misc::anchored_literal_short_match ... bench: 7 ns/iter (+/- 0) = 3714 MB/s
test misc::anchored_literal_short_non_match ... bench: 9 ns/iter (+/- 0) = 2888 MB/s
test misc::easy0_1K ... bench: 24 ns/iter (+/- 1) = 43791 MB/s
test misc::easy0_1MB ... bench: 28 ns/iter (+/- 0) = 37450107 MB/s
test misc::easy0_32 ... bench: 25 ns/iter (+/- 0) = 2360 MB/s
test misc::easy0_32K ... bench: 24 ns/iter (+/- 0) = 1366458 MB/s
test misc::easy1_1K ... bench: 18 ns/iter (+/- 1) = 58000 MB/s
test misc::easy1_1MB ... bench: 21 ns/iter (+/- 0) = 49933142 MB/s
test misc::easy1_32 ... bench: 18 ns/iter (+/- 0) = 2888 MB/s
test misc::easy1_32K ... bench: 18 ns/iter (+/- 0) = 1821555 MB/s
test misc::hard_1K ... bench: 24 ns/iter (+/- 0) = 43791 MB/s
test misc::hard_1MB ... bench: 29 ns/iter (+/- 0) = 36158724 MB/s
test misc::hard_32 ... bench: 24 ns/iter (+/- 0) = 2458 MB/s
test misc::hard_32K ... bench: 24 ns/iter (+/- 0) = 1366458 MB/s
test misc::is_match_set ... bench: 37 ns/iter (+/- 0) = 675 MB/s
test misc::literal ... bench: 7 ns/iter (+/- 0) = 7285 MB/s
test misc::long_needle1 ... bench: 1,802 ns/iter (+/- 6) = 55494 MB/s
test misc::long_needle2 ... bench: 207,353 ns/iter (+/- 165) = 482 MB/s
test misc::match_class ... bench: 41 ns/iter (+/- 2) = 1975 MB/s
test misc::match_class_in_range ... bench: 7 ns/iter (+/- 0) = 11571 MB/s
test misc::match_class_unicode ... bench: 168 ns/iter (+/- 3) = 958 MB/s
test misc::matches_set ... bench: 210 ns/iter (+/- 5) = 119 MB/s
test misc::medium_1K ... bench: 25 ns/iter (+/- 0) = 42080 MB/s
test misc::medium_1MB ... bench: 29 ns/iter (+/- 0) = 36158758 MB/s
test misc::medium_32 ... bench: 25 ns/iter (+/- 0) = 2400 MB/s
test misc::medium_32K ... bench: 25 ns/iter (+/- 0) = 1311840 MB/s
test misc::no_exponential ... bench: 268 ns/iter (+/- 7) = 373 MB/s
test misc::not_literal ... bench: 44 ns/iter (+/- 4) = 1159 MB/s
test misc::one_pass_long_prefix ... bench: 24 ns/iter (+/- 2) = 1083 MB/s
test misc::one_pass_long_prefix_not ... bench: 23 ns/iter (+/- 2) = 1130 MB/s
test misc::one_pass_short ... bench: 16 ns/iter (+/- 0) = 1062 MB/s
test misc::one_pass_short_not ... bench: 19 ns/iter (+/- 0) = 894 MB/s
test misc::reallyhard2_1K ... bench: 38 ns/iter (+/- 1) = 27368 MB/s
test misc::reallyhard_1K ... bench: 1,215 ns/iter (+/- 12) = 865 MB/s
test misc::reallyhard_1MB ... bench: 1,215,907 ns/iter (+/- 6,442) = 862 MB/s
test misc::reallyhard_32 ... bench: 53 ns/iter (+/- 2) = 1113 MB/s
test misc::reallyhard_32K ... bench: 38,162 ns/iter (+/- 464) = 859 MB/s
test misc::replace_all ... bench: 86 ns/iter (+/- 5)
test misc::reverse_suffix_no_quadratic ... bench: 2,355 ns/iter (+/- 470) = 3397 MB/s
test misc::short_haystack_1000000x ... bench: 91,039 ns/iter (+/- 157) = 87874 MB/s
test misc::short_haystack_100000x ... bench: 7,595 ns/iter (+/- 33) = 105333 MB/s
test misc::short_haystack_10000x ... bench: 2,865 ns/iter (+/- 9) = 27927 MB/s
test misc::short_haystack_1000x ... bench: 211 ns/iter (+/- 2) = 37966 MB/s
test misc::short_haystack_100x ... bench: 98 ns/iter (+/- 3) = 8275 MB/s
test misc::short_haystack_10x ... bench: 92 ns/iter (+/- 4) = 989 MB/s
test misc::short_haystack_1x ... bench: 90 ns/iter (+/- 2) = 211 MB/s
test misc::short_haystack_2x ... bench: 88 ns/iter (+/- 3) = 306 MB/s
test misc::short_haystack_3x ... bench: 91 ns/iter (+/- 3) = 384 MB/s
test misc::short_haystack_4x ... bench: 90 ns/iter (+/- 3) = 477 MB/s
test regexdna::find_new_lines ... bench: 7,323,399 ns/iter (+/- 24,661) = 694 MB/s
test regexdna::subst1 ... bench: 473,671 ns/iter (+/- 16,963) = 10731 MB/s
test regexdna::subst10 ... bench: 463,672 ns/iter (+/- 13,433) = 10963 MB/s
test regexdna::subst11 ... bench: 470,891 ns/iter (+/- 28,305) = 10795 MB/s
test regexdna::subst2 ... bench: 469,218 ns/iter (+/- 26,181) = 10833 MB/s
test regexdna::subst3 ... bench: 467,417 ns/iter (+/- 30,700) = 10875 MB/s
test regexdna::subst4 ... bench: 469,373 ns/iter (+/- 17,254) = 10830 MB/s
test regexdna::subst5 ... bench: 467,035 ns/iter (+/- 30,365) = 10884 MB/s
test regexdna::subst6 ... bench: 466,540 ns/iter (+/- 18,283) = 10895 MB/s
test regexdna::subst7 ... bench: 470,291 ns/iter (+/- 23,930) = 10809 MB/s
test regexdna::subst8 ... bench: 466,425 ns/iter (+/- 27,080) = 10898 MB/s
test regexdna::subst9 ... bench: 468,192 ns/iter (+/- 17,296) = 10857 MB/s
test regexdna::variant1 ... bench: 653,471 ns/iter (+/- 8,898) = 7779 MB/s
test regexdna::variant2 ... bench: 902,852 ns/iter (+/- 12,549) = 5630 MB/s
test regexdna::variant3 ... bench: 1,158,000 ns/iter (+/- 14,075) = 4389 MB/s
test regexdna::variant4 ... bench: 1,149,520 ns/iter (+/- 13,482) = 4422 MB/s
test regexdna::variant5 ... bench: 1,132,121 ns/iter (+/- 7,624) = 4490 MB/s
test regexdna::variant6 ... bench: 1,069,227 ns/iter (+/- 13,436) = 4754 MB/s
test regexdna::variant7 ... bench: 1,150,436 ns/iter (+/- 28,302) = 4418 MB/s
test regexdna::variant8 ... bench: 1,148,923 ns/iter (+/- 49,063) = 4424 MB/s
test regexdna::variant9 ... bench: 1,190,858 ns/iter (+/- 15,044) = 4268 MB/s
test rust_compile::compile_huge ... bench: 52,168 ns/iter (+/- 827)
test rust_compile::compile_huge_bytes ... bench: 3,330,456 ns/iter (+/- 57,242)
test rust_compile::compile_huge_full ... bench: 6,378,126 ns/iter (+/- 85,019)
test rust_compile::compile_simple ... bench: 2,291 ns/iter (+/- 39)
test rust_compile::compile_simple_bytes ... bench: 2,355 ns/iter (+/- 37)
test rust_compile::compile_simple_full ... bench: 14,581 ns/iter (+/- 103)
test rust_compile::compile_small ... bench: 10,443 ns/iter (+/- 114)
test rust_compile::compile_small_bytes ... bench: 11,269 ns/iter (+/- 150)
test rust_compile::compile_small_full ... bench: 14,746 ns/iter (+/- 212)
test sherlock::before_after_holmes ... bench: 699,736 ns/iter (+/- 6,402) = 850 MB/s
test sherlock::before_holmes ... bench: 28,001 ns/iter (+/- 198) = 21246 MB/s
test sherlock::everything_greedy ... bench: 1,029,174 ns/iter (+/- 33,321) = 578 MB/s
test sherlock::everything_greedy_nl ... bench: 460,103 ns/iter (+/- 23,290) = 1293 MB/s
test sherlock::holmes_cochar_watson ... bench: 57,666 ns/iter (+/- 907) = 10316 MB/s
test sherlock::holmes_coword_watson ... bench: 345,016 ns/iter (+/- 4,672) = 1724 MB/s
test sherlock::ing_suffix ... bench: 150,499 ns/iter (+/- 4,855) = 3953 MB/s
test sherlock::ing_suffix_limited_space ... bench: 777,723 ns/iter (+/- 8,076) = 764 MB/s
test sherlock::letters ... bench: 10,022,203 ns/iter (+/- 77,897) = 59 MB/s
test sherlock::letters_lower ... bench: 9,861,816 ns/iter (+/- 76,172) = 60 MB/s
test sherlock::letters_upper ... bench: 1,134,201 ns/iter (+/- 11,926) = 524 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 693,533 ns/iter (+/- 6,686) = 857 MB/s
test sherlock::name_alt1 ... bench: 11,974 ns/iter (+/- 292) = 49685 MB/s
test sherlock::name_alt2 ... bench: 44,708 ns/iter (+/- 573) = 13307 MB/s
test sherlock::name_alt3 ... bench: 49,873 ns/iter (+/- 785) = 11928 MB/s
test sherlock::name_alt3_nocase ... bench: 190,194 ns/iter (+/- 2,944) = 3128 MB/s
test sherlock::name_alt4 ... bench: 52,028 ns/iter (+/- 1,102) = 11434 MB/s
test sherlock::name_alt4_nocase ... bench: 119,891 ns/iter (+/- 921) = 4962 MB/s
test sherlock::name_alt5 ... bench: 47,139 ns/iter (+/- 1,617) = 12620 MB/s
test sherlock::name_alt5_nocase ... bench: 200,159 ns/iter (+/- 3,992) = 2972 MB/s
test sherlock::name_holmes ... bench: 17,902 ns/iter (+/- 577) = 33232 MB/s
test sherlock::name_holmes_nocase ... bench: 58,219 ns/iter (+/- 1,215) = 10218 MB/s
test sherlock::name_sherlock ... bench: 14,314 ns/iter (+/- 45) = 41563 MB/s
test sherlock::name_sherlock_holmes ... bench: 14,399 ns/iter (+/- 45) = 41317 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 41,418 ns/iter (+/- 591) = 14364 MB/s
test sherlock::name_sherlock_nocase ... bench: 39,877 ns/iter (+/- 545) = 14919 MB/s
test sherlock::name_whitespace ... bench: 17,883 ns/iter (+/- 151) = 33268 MB/s
test sherlock::no_match_common ... bench: 13,696 ns/iter (+/- 123) = 43438 MB/s
test sherlock::no_match_really_common ... bench: 10,157 ns/iter (+/- 222) = 58573 MB/s
test sherlock::no_match_uncommon ... bench: 13,663 ns/iter (+/- 53) = 43543 MB/s
test sherlock::quotes ... bench: 234,890 ns/iter (+/- 4,574) = 2532 MB/s
test sherlock::repeated_class_negation ... bench: 36,406,680 ns/iter (+/- 397,378) = 16 MB/s
test sherlock::the_lower ... bench: 192,028 ns/iter (+/- 5,315) = 3098 MB/s
test sherlock::the_nocase ... bench: 311,087 ns/iter (+/- 6,723) = 1912 MB/s
test sherlock::the_upper ... bench: 21,710 ns/iter (+/- 1,269) = 27403 MB/s
test sherlock::the_whitespace ... bench: 425,246 ns/iter (+/- 7,741) = 1399 MB/s
test sherlock::word_ending_n ... bench: 1,116,412 ns/iter (+/- 11,753) = 532 MB/s
test sherlock::words ... bench: 4,452,805 ns/iter (+/- 84,309) = 133 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 119 measured; 0 filtered out; finished in 142.33s

View file

@ -0,0 +1,112 @@
running 107 tests
test misc::anchored_literal_long_match ... bench: 7 ns/iter (+/- 0) = 55714 MB/s
test misc::anchored_literal_long_non_match ... bench: 8 ns/iter (+/- 0) = 48750 MB/s
test misc::anchored_literal_short_match ... bench: 7 ns/iter (+/- 0) = 3714 MB/s
test misc::anchored_literal_short_non_match ... bench: 8 ns/iter (+/- 0) = 3250 MB/s
test misc::easy0_1K ... bench: 24 ns/iter (+/- 0) = 43791 MB/s
test misc::easy0_1MB ... bench: 28 ns/iter (+/- 0) = 37450107 MB/s
test misc::easy0_32 ... bench: 24 ns/iter (+/- 0) = 2458 MB/s
test misc::easy0_32K ... bench: 24 ns/iter (+/- 0) = 1366458 MB/s
test misc::easy1_1K ... bench: 18 ns/iter (+/- 0) = 58000 MB/s
test misc::easy1_1MB ... bench: 21 ns/iter (+/- 0) = 49933142 MB/s
test misc::easy1_32 ... bench: 18 ns/iter (+/- 2) = 2888 MB/s
test misc::easy1_32K ... bench: 18 ns/iter (+/- 0) = 1821555 MB/s
test misc::hard_1K ... bench: 24 ns/iter (+/- 0) = 43791 MB/s
test misc::hard_1MB ... bench: 28 ns/iter (+/- 0) = 37450107 MB/s
test misc::hard_32 ... bench: 24 ns/iter (+/- 0) = 2458 MB/s
test misc::hard_32K ... bench: 24 ns/iter (+/- 0) = 1366458 MB/s
test misc::is_match_set ... bench: 37 ns/iter (+/- 0) = 675 MB/s
test misc::literal ... bench: 7 ns/iter (+/- 0) = 7285 MB/s
test misc::long_needle1 ... bench: 1,801 ns/iter (+/- 2) = 55525 MB/s
test misc::long_needle2 ... bench: 212,892 ns/iter (+/- 206) = 469 MB/s
test misc::match_class ... bench: 40 ns/iter (+/- 0) = 2025 MB/s
test misc::match_class_in_range ... bench: 7 ns/iter (+/- 0) = 11571 MB/s
test misc::matches_set ... bench: 174 ns/iter (+/- 2) = 143 MB/s
test misc::medium_1K ... bench: 25 ns/iter (+/- 0) = 42080 MB/s
test misc::medium_1MB ... bench: 29 ns/iter (+/- 0) = 36158758 MB/s
test misc::medium_32 ... bench: 25 ns/iter (+/- 0) = 2400 MB/s
test misc::medium_32K ... bench: 25 ns/iter (+/- 0) = 1311840 MB/s
test misc::no_exponential ... bench: 270 ns/iter (+/- 8) = 370 MB/s
test misc::not_literal ... bench: 44 ns/iter (+/- 1) = 1159 MB/s
test misc::one_pass_long_prefix ... bench: 23 ns/iter (+/- 0) = 1130 MB/s
test misc::one_pass_long_prefix_not ... bench: 23 ns/iter (+/- 0) = 1130 MB/s
test misc::one_pass_short ... bench: 16 ns/iter (+/- 1) = 1062 MB/s
test misc::one_pass_short_not ... bench: 19 ns/iter (+/- 0) = 894 MB/s
test misc::reallyhard2_1K ... bench: 38 ns/iter (+/- 2) = 27368 MB/s
test misc::reallyhard_1K ... bench: 1,215 ns/iter (+/- 15) = 865 MB/s
test misc::reallyhard_1MB ... bench: 1,217,631 ns/iter (+/- 11,216) = 861 MB/s
test misc::reallyhard_32 ... bench: 53 ns/iter (+/- 4) = 1113 MB/s
test misc::reallyhard_32K ... bench: 38,251 ns/iter (+/- 364) = 857 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 2,353 ns/iter (+/- 4) = 3399 MB/s
test regexdna::find_new_lines ... bench: 7,322,463 ns/iter (+/- 37,966) = 694 MB/s
test regexdna::subst1 ... bench: 466,849 ns/iter (+/- 12,252) = 10888 MB/s
test regexdna::subst10 ... bench: 465,011 ns/iter (+/- 19,693) = 10931 MB/s
test regexdna::subst11 ... bench: 457,806 ns/iter (+/- 13,453) = 11103 MB/s
test regexdna::subst2 ... bench: 456,878 ns/iter (+/- 32,828) = 11126 MB/s
test regexdna::subst3 ... bench: 465,531 ns/iter (+/- 21,786) = 10919 MB/s
test regexdna::subst4 ... bench: 454,553 ns/iter (+/- 12,698) = 11183 MB/s
test regexdna::subst5 ... bench: 456,977 ns/iter (+/- 13,155) = 11123 MB/s
test regexdna::subst6 ... bench: 466,105 ns/iter (+/- 15,667) = 10906 MB/s
test regexdna::subst7 ... bench: 462,655 ns/iter (+/- 18,871) = 10987 MB/s
test regexdna::subst8 ... bench: 456,642 ns/iter (+/- 19,218) = 11132 MB/s
test regexdna::subst9 ... bench: 456,307 ns/iter (+/- 15,369) = 11140 MB/s
test regexdna::variant1 ... bench: 655,033 ns/iter (+/- 7,901) = 7760 MB/s
test regexdna::variant2 ... bench: 902,675 ns/iter (+/- 15,165) = 5631 MB/s
test regexdna::variant3 ... bench: 1,159,521 ns/iter (+/- 14,489) = 4384 MB/s
test regexdna::variant4 ... bench: 1,147,781 ns/iter (+/- 16,536) = 4428 MB/s
test regexdna::variant5 ... bench: 1,133,068 ns/iter (+/- 13,938) = 4486 MB/s
test regexdna::variant6 ... bench: 1,061,174 ns/iter (+/- 14,478) = 4790 MB/s
test regexdna::variant7 ... bench: 1,151,637 ns/iter (+/- 35,753) = 4414 MB/s
test regexdna::variant8 ... bench: 1,137,068 ns/iter (+/- 37,678) = 4470 MB/s
test regexdna::variant9 ... bench: 1,185,082 ns/iter (+/- 14,355) = 4289 MB/s
test rust_compile::compile_huge ... bench: 66,894 ns/iter (+/- 2,425)
test rust_compile::compile_huge_bytes ... bench: 3,331,663 ns/iter (+/- 47,261)
test rust_compile::compile_huge_full ... bench: 6,446,254 ns/iter (+/- 65,334)
test rust_compile::compile_simple ... bench: 2,351 ns/iter (+/- 71)
test rust_compile::compile_simple_bytes ... bench: 2,350 ns/iter (+/- 49)
test rust_compile::compile_simple_full ... bench: 14,460 ns/iter (+/- 144)
test rust_compile::compile_small ... bench: 10,350 ns/iter (+/- 120)
test rust_compile::compile_small_bytes ... bench: 10,993 ns/iter (+/- 89)
test rust_compile::compile_small_full ... bench: 14,201 ns/iter (+/- 139)
test sherlock::before_after_holmes ... bench: 698,092 ns/iter (+/- 6,907) = 852 MB/s
test sherlock::before_holmes ... bench: 29,127 ns/iter (+/- 1,001) = 20425 MB/s
test sherlock::everything_greedy ... bench: 1,026,902 ns/iter (+/- 86,299) = 579 MB/s
test sherlock::everything_greedy_nl ... bench: 433,157 ns/iter (+/- 10,129) = 1373 MB/s
test sherlock::holmes_cochar_watson ... bench: 57,103 ns/iter (+/- 509) = 10418 MB/s
test sherlock::holmes_coword_watson ... bench: 344,973 ns/iter (+/- 3,288) = 1724 MB/s
test sherlock::ing_suffix ... bench: 158,337 ns/iter (+/- 2,492) = 3757 MB/s
test sherlock::ing_suffix_limited_space ... bench: 776,703 ns/iter (+/- 8,000) = 765 MB/s
test sherlock::letters ... bench: 10,179,909 ns/iter (+/- 55,188) = 58 MB/s
test sherlock::letters_lower ... bench: 10,007,465 ns/iter (+/- 75,168) = 59 MB/s
test sherlock::letters_upper ... bench: 1,116,201 ns/iter (+/- 11,571) = 532 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 693,124 ns/iter (+/- 6,540) = 858 MB/s
test sherlock::name_alt1 ... bench: 12,079 ns/iter (+/- 192) = 49253 MB/s
test sherlock::name_alt2 ... bench: 44,336 ns/iter (+/- 1,424) = 13418 MB/s
test sherlock::name_alt3 ... bench: 49,569 ns/iter (+/- 721) = 12002 MB/s
test sherlock::name_alt3_nocase ... bench: 189,812 ns/iter (+/- 2,952) = 3134 MB/s
test sherlock::name_alt4 ... bench: 52,132 ns/iter (+/- 1,182) = 11412 MB/s
test sherlock::name_alt4_nocase ... bench: 120,591 ns/iter (+/- 2,521) = 4933 MB/s
test sherlock::name_alt5 ... bench: 46,956 ns/iter (+/- 545) = 12670 MB/s
test sherlock::name_alt5_nocase ... bench: 199,252 ns/iter (+/- 2,212) = 2985 MB/s
test sherlock::name_holmes ... bench: 17,983 ns/iter (+/- 591) = 33083 MB/s
test sherlock::name_holmes_nocase ... bench: 58,139 ns/iter (+/- 919) = 10232 MB/s
test sherlock::name_sherlock ... bench: 14,283 ns/iter (+/- 113) = 41653 MB/s
test sherlock::name_sherlock_holmes ... bench: 14,587 ns/iter (+/- 82) = 40785 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 40,947 ns/iter (+/- 385) = 14529 MB/s
test sherlock::name_sherlock_nocase ... bench: 39,607 ns/iter (+/- 567) = 15020 MB/s
test sherlock::name_whitespace ... bench: 18,803 ns/iter (+/- 232) = 31640 MB/s
test sherlock::no_match_common ... bench: 13,704 ns/iter (+/- 73) = 43413 MB/s
test sherlock::no_match_really_common ... bench: 14,166 ns/iter (+/- 191) = 41997 MB/s
test sherlock::no_match_uncommon ... bench: 13,702 ns/iter (+/- 36) = 43419 MB/s
test sherlock::quotes ... bench: 232,609 ns/iter (+/- 3,217) = 2557 MB/s
test sherlock::repeated_class_negation ... bench: 36,167,769 ns/iter (+/- 592,579) = 16 MB/s
test sherlock::the_lower ... bench: 188,281 ns/iter (+/- 2,966) = 3159 MB/s
test sherlock::the_nocase ... bench: 312,853 ns/iter (+/- 23,145) = 1901 MB/s
test sherlock::the_upper ... bench: 20,987 ns/iter (+/- 909) = 28347 MB/s
test sherlock::the_whitespace ... bench: 427,154 ns/iter (+/- 6,396) = 1392 MB/s
test sherlock::word_ending_n ... bench: 1,112,964 ns/iter (+/- 15,393) = 534 MB/s
test sherlock::words ... bench: 4,513,468 ns/iter (+/- 35,410) = 131 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 107 measured; 0 filtered out; finished in 143.96s

View file

@ -0,0 +1,115 @@
running 110 tests
test misc::anchored_literal_long_match ... bench: 15 ns/iter (+/- 0) = 26000 MB/s
test misc::anchored_literal_long_non_match ... bench: 12 ns/iter (+/- 1) = 32500 MB/s
test misc::anchored_literal_short_match ... bench: 15 ns/iter (+/- 0) = 1733 MB/s
test misc::anchored_literal_short_non_match ... bench: 12 ns/iter (+/- 1) = 2166 MB/s
test misc::easy0_1K ... bench: 42 ns/iter (+/- 0) = 25023 MB/s
test misc::easy0_1MB ... bench: 42 ns/iter (+/- 0) = 24966738 MB/s
test misc::easy0_32 ... bench: 42 ns/iter (+/- 0) = 1404 MB/s
test misc::easy0_32K ... bench: 43 ns/iter (+/- 0) = 762674 MB/s
test misc::easy1_1K ... bench: 35 ns/iter (+/- 0) = 29828 MB/s
test misc::easy1_1MB ... bench: 35 ns/iter (+/- 0) = 29959885 MB/s
test misc::easy1_32 ... bench: 35 ns/iter (+/- 0) = 1485 MB/s
test misc::easy1_32K ... bench: 35 ns/iter (+/- 0) = 936800 MB/s
test misc::hard_1K ... bench: 43 ns/iter (+/- 0) = 24441 MB/s
test misc::hard_1MB ... bench: 42 ns/iter (+/- 0) = 24966738 MB/s
test misc::hard_32 ... bench: 42 ns/iter (+/- 0) = 1404 MB/s
test misc::hard_32K ... bench: 42 ns/iter (+/- 0) = 780833 MB/s
test misc::is_match_set ... bench: 46 ns/iter (+/- 1) = 543 MB/s
test misc::literal ... bench: 9 ns/iter (+/- 0) = 5666 MB/s
test misc::long_needle1 ... bench: 1,801 ns/iter (+/- 24) = 55525 MB/s
test misc::long_needle2 ... bench: 194,124 ns/iter (+/- 289) = 515 MB/s
test misc::match_class ... bench: 22 ns/iter (+/- 1) = 3681 MB/s
test misc::match_class_in_range ... bench: 10 ns/iter (+/- 0) = 8100 MB/s
test misc::match_class_unicode ... bench: 196 ns/iter (+/- 0) = 821 MB/s
test misc::matches_set ... bench: 55 ns/iter (+/- 3) = 454 MB/s
test misc::medium_1K ... bench: 43 ns/iter (+/- 0) = 24465 MB/s
test misc::medium_1MB ... bench: 43 ns/iter (+/- 0) = 24386139 MB/s
test misc::medium_32 ... bench: 43 ns/iter (+/- 0) = 1395 MB/s
test misc::medium_32K ... bench: 43 ns/iter (+/- 0) = 762697 MB/s
test misc::no_exponential ... bench: 167 ns/iter (+/- 0) = 598 MB/s
test misc::not_literal ... bench: 26 ns/iter (+/- 1) = 1961 MB/s
test misc::one_pass_long_prefix ... bench: 40 ns/iter (+/- 0) = 650 MB/s
test misc::one_pass_long_prefix_not ... bench: 40 ns/iter (+/- 0) = 650 MB/s
test misc::one_pass_short ... bench: 30 ns/iter (+/- 0) = 566 MB/s
test misc::one_pass_short_not ... bench: 31 ns/iter (+/- 0) = 548 MB/s
test misc::reallyhard2_1K ... bench: 67 ns/iter (+/- 1) = 15522 MB/s
test misc::reallyhard_1K ... bench: 78 ns/iter (+/- 1) = 13474 MB/s
test misc::reallyhard_1MB ... bench: 19,310 ns/iter (+/- 80) = 54303 MB/s
test misc::reallyhard_32 ... bench: 62 ns/iter (+/- 2) = 951 MB/s
test misc::reallyhard_32K ... bench: 543 ns/iter (+/- 4) = 60395 MB/s
test misc::replace_all ... bench: 151 ns/iter (+/- 13)
test misc::reverse_suffix_no_quadratic ... bench: 9,302 ns/iter (+/- 25) = 860 MB/s
test misc::short_haystack_1000000x ... bench: 90,868 ns/iter (+/- 354) = 88039 MB/s
test misc::short_haystack_100000x ... bench: 7,215 ns/iter (+/- 18) = 110881 MB/s
test misc::short_haystack_10000x ... bench: 605 ns/iter (+/- 2) = 132249 MB/s
test misc::short_haystack_1000x ... bench: 148 ns/iter (+/- 2) = 54128 MB/s
test misc::short_haystack_100x ... bench: 83 ns/iter (+/- 3) = 9771 MB/s
test misc::short_haystack_10x ... bench: 89 ns/iter (+/- 1) = 1022 MB/s
test misc::short_haystack_1x ... bench: 79 ns/iter (+/- 1) = 240 MB/s
test misc::short_haystack_2x ... bench: 79 ns/iter (+/- 1) = 341 MB/s
test misc::short_haystack_3x ... bench: 80 ns/iter (+/- 2) = 437 MB/s
test misc::short_haystack_4x ... bench: 79 ns/iter (+/- 1) = 544 MB/s
test regexdna::find_new_lines ... bench: 1,748,215 ns/iter (+/- 25,793) = 2907 MB/s
test regexdna::subst1 ... bench: 486,169 ns/iter (+/- 11,425) = 10456 MB/s
test regexdna::subst10 ... bench: 479,019 ns/iter (+/- 7,468) = 10612 MB/s
test regexdna::subst11 ... bench: 481,118 ns/iter (+/- 10,305) = 10565 MB/s
test regexdna::subst2 ... bench: 484,508 ns/iter (+/- 11,753) = 10491 MB/s
test regexdna::subst3 ... bench: 481,861 ns/iter (+/- 7,991) = 10549 MB/s
test regexdna::subst4 ... bench: 477,043 ns/iter (+/- 12,101) = 10656 MB/s
test regexdna::subst5 ... bench: 483,954 ns/iter (+/- 7,728) = 10503 MB/s
test regexdna::subst6 ... bench: 479,564 ns/iter (+/- 13,514) = 10600 MB/s
test regexdna::subst7 ... bench: 481,345 ns/iter (+/- 11,205) = 10560 MB/s
test regexdna::subst8 ... bench: 479,772 ns/iter (+/- 13,266) = 10595 MB/s
test regexdna::subst9 ... bench: 480,299 ns/iter (+/- 9,997) = 10583 MB/s
test regexdna::variant1 ... bench: 693,230 ns/iter (+/- 21,808) = 7332 MB/s
test regexdna::variant2 ... bench: 936,552 ns/iter (+/- 9,916) = 5427 MB/s
test regexdna::variant3 ... bench: 1,192,921 ns/iter (+/- 11,038) = 4261 MB/s
test regexdna::variant4 ... bench: 1,170,341 ns/iter (+/- 27,745) = 4343 MB/s
test regexdna::variant5 ... bench: 1,166,877 ns/iter (+/- 8,369) = 4356 MB/s
test regexdna::variant6 ... bench: 1,085,919 ns/iter (+/- 9,594) = 4681 MB/s
test regexdna::variant7 ... bench: 1,248,718 ns/iter (+/- 13,480) = 4070 MB/s
test regexdna::variant8 ... bench: 1,216,643 ns/iter (+/- 15,505) = 4178 MB/s
test regexdna::variant9 ... bench: 1,219,951 ns/iter (+/- 14,109) = 4166 MB/s
test sherlock::before_after_holmes ... bench: 27,363 ns/iter (+/- 604) = 21742 MB/s
test sherlock::before_holmes ... bench: 31,147 ns/iter (+/- 876) = 19100 MB/s
test sherlock::everything_greedy ... bench: 1,326,354 ns/iter (+/- 22,628) = 448 MB/s
test sherlock::everything_greedy_nl ... bench: 801,343 ns/iter (+/- 895) = 742 MB/s
test sherlock::holmes_cochar_watson ... bench: 56,328 ns/iter (+/- 1,009) = 10561 MB/s
test sherlock::holmes_coword_watson ... bench: 301,186 ns/iter (+/- 3,615) = 1975 MB/s
test sherlock::ing_suffix ... bench: 176,428 ns/iter (+/- 2,182) = 3372 MB/s
test sherlock::ing_suffix_limited_space ... bench: 173,948 ns/iter (+/- 5,073) = 3420 MB/s
test sherlock::letters ... bench: 7,226,608 ns/iter (+/- 261,849) = 82 MB/s
test sherlock::letters_lower ... bench: 7,024,589 ns/iter (+/- 145,281) = 84 MB/s
test sherlock::letters_upper ... bench: 1,004,841 ns/iter (+/- 6,857) = 592 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 15,978 ns/iter (+/- 90) = 37234 MB/s
test sherlock::name_alt1 ... bench: 11,151 ns/iter (+/- 289) = 53352 MB/s
test sherlock::name_alt2 ... bench: 45,441 ns/iter (+/- 960) = 13092 MB/s
test sherlock::name_alt3 ... bench: 51,934 ns/iter (+/- 806) = 11455 MB/s
test sherlock::name_alt3_nocase ... bench: 171,844 ns/iter (+/- 4,176) = 3462 MB/s
test sherlock::name_alt4 ... bench: 46,611 ns/iter (+/- 1,072) = 12763 MB/s
test sherlock::name_alt4_nocase ... bench: 74,956 ns/iter (+/- 2,098) = 7937 MB/s
test sherlock::name_alt5 ... bench: 47,595 ns/iter (+/- 595) = 12499 MB/s
test sherlock::name_alt5_nocase ... bench: 100,636 ns/iter (+/- 814) = 5911 MB/s
test sherlock::name_holmes ... bench: 19,293 ns/iter (+/- 687) = 30836 MB/s
test sherlock::name_holmes_nocase ... bench: 52,310 ns/iter (+/- 1,024) = 11373 MB/s
test sherlock::name_sherlock ... bench: 16,080 ns/iter (+/- 327) = 36998 MB/s
test sherlock::name_sherlock_holmes ... bench: 14,605 ns/iter (+/- 120) = 40734 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 38,662 ns/iter (+/- 360) = 15388 MB/s
test sherlock::name_sherlock_nocase ... bench: 37,650 ns/iter (+/- 316) = 15801 MB/s
test sherlock::name_whitespace ... bench: 16,234 ns/iter (+/- 125) = 36647 MB/s
test sherlock::no_match_common ... bench: 13,709 ns/iter (+/- 72) = 43397 MB/s
test sherlock::no_match_really_common ... bench: 9,870 ns/iter (+/- 133) = 60276 MB/s
test sherlock::no_match_uncommon ... bench: 13,735 ns/iter (+/- 57) = 43315 MB/s
test sherlock::quotes ... bench: 189,377 ns/iter (+/- 2,105) = 3141 MB/s
test sherlock::repeated_class_negation ... bench: 29,934 ns/iter (+/- 1,249) = 19874 MB/s
test sherlock::the_lower ... bench: 213,236 ns/iter (+/- 3,823) = 2790 MB/s
test sherlock::the_nocase ... bench: 322,922 ns/iter (+/- 5,946) = 1842 MB/s
test sherlock::the_upper ... bench: 23,494 ns/iter (+/- 718) = 25322 MB/s
test sherlock::the_whitespace ... bench: 392,113 ns/iter (+/- 6,046) = 1517 MB/s
test sherlock::word_ending_n ... bench: 673,618 ns/iter (+/- 12,865) = 883 MB/s
test sherlock::words ... bench: 3,632,096 ns/iter (+/- 56,944) = 163 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 110 measured; 0 filtered out; finished in 117.87s

View file

@ -0,0 +1,103 @@
running 98 tests
test misc::anchored_literal_long_match ... bench: 15 ns/iter (+/- 0) = 26000 MB/s
test misc::anchored_literal_long_non_match ... bench: 12 ns/iter (+/- 0) = 32500 MB/s
test misc::anchored_literal_short_match ... bench: 15 ns/iter (+/- 0) = 1733 MB/s
test misc::anchored_literal_short_non_match ... bench: 12 ns/iter (+/- 0) = 2166 MB/s
test misc::easy0_1K ... bench: 42 ns/iter (+/- 0) = 25023 MB/s
test misc::easy0_1MB ... bench: 42 ns/iter (+/- 0) = 24966738 MB/s
test misc::easy0_32 ... bench: 42 ns/iter (+/- 0) = 1404 MB/s
test misc::easy0_32K ... bench: 42 ns/iter (+/- 0) = 780833 MB/s
test misc::easy1_1K ... bench: 34 ns/iter (+/- 1) = 30705 MB/s
test misc::easy1_1MB ... bench: 34 ns/iter (+/- 0) = 30841058 MB/s
test misc::easy1_32 ... bench: 34 ns/iter (+/- 0) = 1529 MB/s
test misc::easy1_32K ... bench: 34 ns/iter (+/- 0) = 964352 MB/s
test misc::hard_1K ... bench: 42 ns/iter (+/- 0) = 25023 MB/s
test misc::hard_1MB ... bench: 42 ns/iter (+/- 0) = 24966738 MB/s
test misc::hard_32 ... bench: 42 ns/iter (+/- 0) = 1404 MB/s
test misc::hard_32K ... bench: 42 ns/iter (+/- 0) = 780833 MB/s
test misc::is_match_set ... bench: 47 ns/iter (+/- 1) = 531 MB/s
test misc::literal ... bench: 10 ns/iter (+/- 0) = 5100 MB/s
test misc::long_needle1 ... bench: 1,808 ns/iter (+/- 7) = 55310 MB/s
test misc::long_needle2 ... bench: 213,106 ns/iter (+/- 416) = 469 MB/s
test misc::match_class ... bench: 23 ns/iter (+/- 1) = 3521 MB/s
test misc::match_class_in_range ... bench: 11 ns/iter (+/- 0) = 7363 MB/s
test misc::matches_set ... bench: 56 ns/iter (+/- 3) = 446 MB/s
test misc::medium_1K ... bench: 43 ns/iter (+/- 0) = 24465 MB/s
test misc::medium_1MB ... bench: 43 ns/iter (+/- 0) = 24386139 MB/s
test misc::medium_32 ... bench: 43 ns/iter (+/- 0) = 1395 MB/s
test misc::medium_32K ... bench: 43 ns/iter (+/- 0) = 762697 MB/s
test misc::no_exponential ... bench: 162 ns/iter (+/- 4) = 617 MB/s
test misc::not_literal ... bench: 27 ns/iter (+/- 1) = 1888 MB/s
test misc::one_pass_long_prefix ... bench: 41 ns/iter (+/- 0) = 634 MB/s
test misc::one_pass_long_prefix_not ... bench: 41 ns/iter (+/- 0) = 634 MB/s
test misc::one_pass_short ... bench: 30 ns/iter (+/- 0) = 566 MB/s
test misc::one_pass_short_not ... bench: 31 ns/iter (+/- 0) = 548 MB/s
test misc::reallyhard2_1K ... bench: 70 ns/iter (+/- 1) = 14857 MB/s
test misc::reallyhard_1K ... bench: 78 ns/iter (+/- 3) = 13474 MB/s
test misc::reallyhard_1MB ... bench: 19,850 ns/iter (+/- 345) = 52826 MB/s
test misc::reallyhard_32 ... bench: 61 ns/iter (+/- 2) = 967 MB/s
test misc::reallyhard_32K ... bench: 546 ns/iter (+/- 8) = 60064 MB/s
test misc::reverse_suffix_no_quadratic ... bench: 9,304 ns/iter (+/- 29) = 859 MB/s
test regexdna::find_new_lines ... bench: 1,733,767 ns/iter (+/- 66,699) = 2932 MB/s
test regexdna::subst1 ... bench: 486,442 ns/iter (+/- 11,929) = 10450 MB/s
test regexdna::subst10 ... bench: 486,073 ns/iter (+/- 12,157) = 10458 MB/s
test regexdna::subst11 ... bench: 483,485 ns/iter (+/- 11,703) = 10514 MB/s
test regexdna::subst2 ... bench: 487,298 ns/iter (+/- 9,184) = 10431 MB/s
test regexdna::subst3 ... bench: 491,219 ns/iter (+/- 9,614) = 10348 MB/s
test regexdna::subst4 ... bench: 482,668 ns/iter (+/- 9,576) = 10531 MB/s
test regexdna::subst5 ... bench: 489,673 ns/iter (+/- 8,331) = 10381 MB/s
test regexdna::subst6 ... bench: 484,707 ns/iter (+/- 5,276) = 10487 MB/s
test regexdna::subst7 ... bench: 485,109 ns/iter (+/- 9,360) = 10478 MB/s
test regexdna::subst8 ... bench: 485,790 ns/iter (+/- 9,298) = 10464 MB/s
test regexdna::subst9 ... bench: 483,255 ns/iter (+/- 12,434) = 10519 MB/s
test regexdna::variant1 ... bench: 654,757 ns/iter (+/- 8,719) = 7763 MB/s
test regexdna::variant2 ... bench: 905,052 ns/iter (+/- 9,599) = 5616 MB/s
test regexdna::variant3 ... bench: 1,161,187 ns/iter (+/- 13,798) = 4377 MB/s
test regexdna::variant4 ... bench: 1,144,656 ns/iter (+/- 15,198) = 4440 MB/s
test regexdna::variant5 ... bench: 1,136,222 ns/iter (+/- 9,112) = 4473 MB/s
test regexdna::variant6 ... bench: 1,062,124 ns/iter (+/- 12,336) = 4786 MB/s
test regexdna::variant7 ... bench: 1,144,371 ns/iter (+/- 44,700) = 4442 MB/s
test regexdna::variant8 ... bench: 1,143,064 ns/iter (+/- 53,456) = 4447 MB/s
test regexdna::variant9 ... bench: 1,187,063 ns/iter (+/- 14,341) = 4282 MB/s
test sherlock::before_after_holmes ... bench: 27,804 ns/iter (+/- 598) = 21397 MB/s
test sherlock::before_holmes ... bench: 31,197 ns/iter (+/- 933) = 19070 MB/s
test sherlock::everything_greedy ... bench: 1,272,335 ns/iter (+/- 12,466) = 467 MB/s
test sherlock::everything_greedy_nl ... bench: 801,469 ns/iter (+/- 955) = 742 MB/s
test sherlock::holmes_cochar_watson ... bench: 56,790 ns/iter (+/- 1,606) = 10476 MB/s
test sherlock::holmes_coword_watson ... bench: 300,554 ns/iter (+/- 3,460) = 1979 MB/s
test sherlock::ing_suffix ... bench: 179,355 ns/iter (+/- 5,486) = 3317 MB/s
test sherlock::ing_suffix_limited_space ... bench: 175,703 ns/iter (+/- 2,380) = 3386 MB/s
test sherlock::letters ... bench: 7,197,094 ns/iter (+/- 181,502) = 82 MB/s
test sherlock::letters_lower ... bench: 7,100,979 ns/iter (+/- 155,898) = 83 MB/s
test sherlock::letters_upper ... bench: 1,018,217 ns/iter (+/- 21,695) = 584 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench: 15,931 ns/iter (+/- 140) = 37344 MB/s
test sherlock::name_alt1 ... bench: 10,932 ns/iter (+/- 96) = 54421 MB/s
test sherlock::name_alt2 ... bench: 45,580 ns/iter (+/- 829) = 13052 MB/s
test sherlock::name_alt3 ... bench: 51,942 ns/iter (+/- 1,418) = 11453 MB/s
test sherlock::name_alt3_nocase ... bench: 171,749 ns/iter (+/- 1,451) = 3463 MB/s
test sherlock::name_alt4 ... bench: 45,705 ns/iter (+/- 1,536) = 13016 MB/s
test sherlock::name_alt4_nocase ... bench: 73,782 ns/iter (+/- 1,679) = 8063 MB/s
test sherlock::name_alt5 ... bench: 48,045 ns/iter (+/- 1,261) = 12382 MB/s
test sherlock::name_alt5_nocase ... bench: 100,307 ns/iter (+/- 553) = 5931 MB/s
test sherlock::name_holmes ... bench: 18,916 ns/iter (+/- 662) = 31451 MB/s
test sherlock::name_holmes_nocase ... bench: 52,714 ns/iter (+/- 774) = 11286 MB/s
test sherlock::name_sherlock ... bench: 14,575 ns/iter (+/- 163) = 40818 MB/s
test sherlock::name_sherlock_holmes ... bench: 14,625 ns/iter (+/- 166) = 40679 MB/s
test sherlock::name_sherlock_holmes_nocase ... bench: 39,024 ns/iter (+/- 361) = 15245 MB/s
test sherlock::name_sherlock_nocase ... bench: 38,025 ns/iter (+/- 418) = 15645 MB/s
test sherlock::name_whitespace ... bench: 16,247 ns/iter (+/- 88) = 36618 MB/s
test sherlock::no_match_common ... bench: 13,724 ns/iter (+/- 28) = 43349 MB/s
test sherlock::no_match_really_common ... bench: 13,798 ns/iter (+/- 93) = 43117 MB/s
test sherlock::no_match_uncommon ... bench: 13,671 ns/iter (+/- 80) = 43517 MB/s
test sherlock::quotes ... bench: 189,359 ns/iter (+/- 2,334) = 3141 MB/s
test sherlock::repeated_class_negation ... bench: 29,083 ns/iter (+/- 708) = 20456 MB/s
test sherlock::the_lower ... bench: 204,122 ns/iter (+/- 4,256) = 2914 MB/s
test sherlock::the_nocase ... bench: 319,388 ns/iter (+/- 6,790) = 1862 MB/s
test sherlock::the_upper ... bench: 22,706 ns/iter (+/- 961) = 26201 MB/s
test sherlock::the_whitespace ... bench: 386,276 ns/iter (+/- 4,950) = 1540 MB/s
test sherlock::word_ending_n ... bench: 690,010 ns/iter (+/- 8,516) = 862 MB/s
test sherlock::words ... bench: 3,659,990 ns/iter (+/- 104,505) = 162 MB/s
test result: ok. 0 passed; 0 failed; 0 ignored; 98 measured; 0 filtered out; finished in 105.65s

View file

@ -0,0 +1,11 @@
These represent an old log of benchmarks from regex 1.7.3 and older. New
and much more comprehensive benchmarks are now maintained as part of the
[rebar] project.
We keep these old benchmark recordings for posterity, but they may be removed
in the future.
Measurements can be compared using the [`cargo-benchcmp`][cargo-benchcmp] tool.
[rebar]: https://github.com/BurntSushi/rebar
[cargo-benchcmp]: https://github.com/BurntSushi/cargo-benchcmp

View file

@ -0,0 +1,28 @@
test bench::anchored_literal_long_match ... bench: 520 ns/iter (+/- 1)
test bench::anchored_literal_long_non_match ... bench: 236 ns/iter (+/- 2)
test bench::anchored_literal_short_match ... bench: 519 ns/iter (+/- 2)
test bench::anchored_literal_short_non_match ... bench: 238 ns/iter (+/- 2)
test bench::easy0_1K ... bench: 7742 ns/iter (+/- 97) = 132 MB/s
test bench::easy0_32 ... bench: 4989 ns/iter (+/- 20) = 6 MB/s
test bench::easy0_32K ... bench: 96347 ns/iter (+/- 997) = 340 MB/s
test bench::easy1_1K ... bench: 9805 ns/iter (+/- 1846) = 104 MB/s
test bench::easy1_32 ... bench: 4930 ns/iter (+/- 202) = 6 MB/s
test bench::easy1_32K ... bench: 163332 ns/iter (+/- 9207) = 200 MB/s
test bench::hard_1K ... bench: 97455 ns/iter (+/- 1089) = 10 MB/s
test bench::hard_32 ... bench: 8256 ns/iter (+/- 148) = 3 MB/s
test bench::hard_32K ... bench: 2948095 ns/iter (+/- 11988) = 11 MB/s
test bench::literal ... bench: 371 ns/iter (+/- 5)
test bench::match_class ... bench: 2168 ns/iter (+/- 12)
test bench::match_class_in_range ... bench: 2379 ns/iter (+/- 13)
test bench::medium_1K ... bench: 37073 ns/iter (+/- 1100) = 27 MB/s
test bench::medium_32 ... bench: 6183 ns/iter (+/- 218) = 5 MB/s
test bench::medium_32K ... bench: 1032000 ns/iter (+/- 8278) = 31 MB/s
test bench::no_exponential ... bench: 727975 ns/iter (+/- 2970)
test bench::not_literal ... bench: 4670 ns/iter (+/- 29)
test bench::one_pass_long_prefix ... bench: 1562 ns/iter (+/- 24)
test bench::one_pass_long_prefix_not ... bench: 1539 ns/iter (+/- 40)
test bench::one_pass_short_a ... bench: 2688 ns/iter (+/- 21)
test bench::one_pass_short_a_not ... bench: 4197 ns/iter (+/- 36)
test bench::one_pass_short_b ... bench: 2198 ns/iter (+/- 22)
test bench::one_pass_short_b_not ... bench: 3761 ns/iter (+/- 41)
test bench::replace_all ... bench: 2874 ns/iter (+/- 25)

View file

@ -0,0 +1,28 @@
test bench::anchored_literal_long_match ... bench: 545 ns/iter (+/- 12)
test bench::anchored_literal_long_non_match ... bench: 251 ns/iter (+/- 11)
test bench::anchored_literal_short_match ... bench: 521 ns/iter (+/- 31)
test bench::anchored_literal_short_non_match ... bench: 231 ns/iter (+/- 0)
test bench::easy0_1K ... bench: 7465 ns/iter (+/- 102) = 137 MB/s
test bench::easy0_32 ... bench: 4995 ns/iter (+/- 27) = 6 MB/s
test bench::easy0_32K ... bench: 86985 ns/iter (+/- 755) = 376 MB/s
test bench::easy1_1K ... bench: 9493 ns/iter (+/- 1727) = 107 MB/s
test bench::easy1_32 ... bench: 4955 ns/iter (+/- 324) = 6 MB/s
test bench::easy1_32K ... bench: 155288 ns/iter (+/- 13016) = 210 MB/s
test bench::hard_1K ... bench: 95925 ns/iter (+/- 1674) = 10 MB/s
test bench::hard_32 ... bench: 8264 ns/iter (+/- 151) = 3 MB/s
test bench::hard_32K ... bench: 2886440 ns/iter (+/- 25807) = 11 MB/s
test bench::literal ... bench: 365 ns/iter (+/- 12)
test bench::match_class ... bench: 2313 ns/iter (+/- 8)
test bench::match_class_in_range ... bench: 2596 ns/iter (+/- 8)
test bench::medium_1K ... bench: 38136 ns/iter (+/- 941) = 26 MB/s
test bench::medium_32 ... bench: 6178 ns/iter (+/- 147) = 5 MB/s
test bench::medium_32K ... bench: 1065698 ns/iter (+/- 6815) = 30 MB/s
test bench::no_exponential ... bench: 682461 ns/iter (+/- 2860)
test bench::not_literal ... bench: 4525 ns/iter (+/- 67)
test bench::one_pass_long_prefix ... bench: 1459 ns/iter (+/- 13)
test bench::one_pass_long_prefix_not ... bench: 1463 ns/iter (+/- 8)
test bench::one_pass_short_a ... bench: 2615 ns/iter (+/- 10)
test bench::one_pass_short_a_not ... bench: 4066 ns/iter (+/- 48)
test bench::one_pass_short_b ... bench: 2064 ns/iter (+/- 10)
test bench::one_pass_short_b_not ... bench: 3502 ns/iter (+/- 24)
test bench::replace_all ... bench: 2949 ns/iter (+/- 15)

View file

@ -0,0 +1,28 @@
test bench::anchored_literal_long_match ... bench: 373 ns/iter (+/- 5)
test bench::anchored_literal_long_non_match ... bench: 204 ns/iter (+/- 3)
test bench::anchored_literal_short_match ... bench: 376 ns/iter (+/- 5)
test bench::anchored_literal_short_non_match ... bench: 206 ns/iter (+/- 3)
test bench::easy0_1K ... bench: 9136 ns/iter (+/- 177) = 112 MB/s
test bench::easy0_32 ... bench: 6641 ns/iter (+/- 86) = 4 MB/s
test bench::easy0_32K ... bench: 88826 ns/iter (+/- 1366) = 368 MB/s
test bench::easy1_1K ... bench: 10937 ns/iter (+/- 737) = 93 MB/s
test bench::easy1_32 ... bench: 7366 ns/iter (+/- 219) = 4 MB/s
test bench::easy1_32K ... bench: 122324 ns/iter (+/- 4628) = 267 MB/s
test bench::hard_1K ... bench: 59998 ns/iter (+/- 965) = 17 MB/s
test bench::hard_32 ... bench: 9058 ns/iter (+/- 123) = 3 MB/s
test bench::hard_32K ... bench: 1694326 ns/iter (+/- 27226) = 19 MB/s
test bench::literal ... bench: 336 ns/iter (+/- 6)
test bench::match_class ... bench: 2109 ns/iter (+/- 27)
test bench::match_class_in_range ... bench: 2274 ns/iter (+/- 32)
test bench::medium_1K ... bench: 38317 ns/iter (+/- 1075) = 26 MB/s
test bench::medium_32 ... bench: 7969 ns/iter (+/- 115) = 4 MB/s
test bench::medium_32K ... bench: 1028260 ns/iter (+/- 12905) = 31 MB/s
test bench::no_exponential ... bench: 257719 ns/iter (+/- 4939)
test bench::not_literal ... bench: 1699 ns/iter (+/- 31)
test bench::one_pass_long_prefix ... bench: 750 ns/iter (+/- 9)
test bench::one_pass_long_prefix_not ... bench: 747 ns/iter (+/- 12)
test bench::one_pass_short_a ... bench: 1844 ns/iter (+/- 22)
test bench::one_pass_short_a_not ... bench: 2395 ns/iter (+/- 21)
test bench::one_pass_short_b ... bench: 1270 ns/iter (+/- 26)
test bench::one_pass_short_b_not ... bench: 1869 ns/iter (+/- 25)
test bench::replace_all ... bench: 3124 ns/iter (+/- 53)

View file

@ -0,0 +1,28 @@
test bench::anchored_literal_long_match ... bench: 373 ns/iter (+/- 5)
test bench::anchored_literal_long_non_match ... bench: 202 ns/iter (+/- 12)
test bench::anchored_literal_short_match ... bench: 380 ns/iter (+/- 135)
test bench::anchored_literal_short_non_match ... bench: 211 ns/iter (+/- 1)
test bench::easy0_1K ... bench: 2,723 ns/iter (+/- 101) = 376 MB/s
test bench::easy0_32 ... bench: 255 ns/iter (+/- 2) = 125 MB/s
test bench::easy0_32K ... bench: 81,845 ns/iter (+/- 598) = 400 MB/s
test bench::easy1_1K ... bench: 3,872 ns/iter (+/- 783) = 264 MB/s
test bench::easy1_32 ... bench: 287 ns/iter (+/- 143) = 111 MB/s
test bench::easy1_32K ... bench: 115,340 ns/iter (+/- 4,717) = 284 MB/s
test bench::hard_1K ... bench: 52,484 ns/iter (+/- 472) = 19 MB/s
test bench::hard_32 ... bench: 1,923 ns/iter (+/- 49) = 16 MB/s
test bench::hard_32K ... bench: 1,710,214 ns/iter (+/- 9,733) = 19 MB/s
test bench::literal ... bench: 337 ns/iter (+/- 13)
test bench::match_class ... bench: 2,141 ns/iter (+/- 7)
test bench::match_class_in_range ... bench: 2,301 ns/iter (+/- 7)
test bench::medium_1K ... bench: 31,696 ns/iter (+/- 961) = 32 MB/s
test bench::medium_32 ... bench: 1,155 ns/iter (+/- 71) = 27 MB/s
test bench::medium_32K ... bench: 1,016,101 ns/iter (+/- 12,090) = 32 MB/s
test bench::no_exponential ... bench: 262,801 ns/iter (+/- 1,332)
test bench::not_literal ... bench: 1,729 ns/iter (+/- 3)
test bench::one_pass_long_prefix ... bench: 779 ns/iter (+/- 4)
test bench::one_pass_long_prefix_not ... bench: 779 ns/iter (+/- 6)
test bench::one_pass_short_a ... bench: 1,943 ns/iter (+/- 10)
test bench::one_pass_short_a_not ... bench: 2,545 ns/iter (+/- 9)
test bench::one_pass_short_b ... bench: 1,364 ns/iter (+/- 4)
test bench::one_pass_short_b_not ... bench: 2,029 ns/iter (+/- 22)
test bench::replace_all ... bench: 3,185 ns/iter (+/- 12)

View file

@ -0,0 +1,29 @@
test bench::anchored_literal_long_match ... bench: 287 ns/iter (+/- 11)
test bench::anchored_literal_long_non_match ... bench: 111 ns/iter (+/- 0)
test bench::anchored_literal_short_match ... bench: 286 ns/iter (+/- 4)
test bench::anchored_literal_short_non_match ... bench: 114 ns/iter (+/- 0)
test bench::easy0_1K ... bench: 2562 ns/iter (+/- 94) = 399 MB/s
test bench::easy0_32 ... bench: 95 ns/iter (+/- 1) = 336 MB/s
test bench::easy0_32K ... bench: 81755 ns/iter (+/- 576) = 400 MB/s
test bench::easy1_1K ... bench: 3586 ns/iter (+/- 917) = 285 MB/s
test bench::easy1_32 ... bench: 155 ns/iter (+/- 132) = 206 MB/s
test bench::easy1_32K ... bench: 113980 ns/iter (+/- 9331) = 287 MB/s
test bench::hard_1K ... bench: 54573 ns/iter (+/- 565) = 18 MB/s
test bench::hard_32 ... bench: 1806 ns/iter (+/- 44) = 17 MB/s
test bench::hard_32K ... bench: 1754465 ns/iter (+/- 7867) = 18 MB/s
test bench::literal ... bench: 299 ns/iter (+/- 1)
test bench::match_class ... bench: 2399 ns/iter (+/- 23)
test bench::match_class_in_range ... bench: 2142 ns/iter (+/- 8)
test bench::match_class_unicode ... bench: 2804 ns/iter (+/- 9)
test bench::medium_1K ... bench: 29536 ns/iter (+/- 537) = 34 MB/s
test bench::medium_32 ... bench: 962 ns/iter (+/- 59) = 33 MB/s
test bench::medium_32K ... bench: 946483 ns/iter (+/- 7106) = 34 MB/s
test bench::no_exponential ... bench: 274301 ns/iter (+/- 552)
test bench::not_literal ... bench: 2039 ns/iter (+/- 13)
test bench::one_pass_long_prefix ... bench: 573 ns/iter (+/- 3)
test bench::one_pass_long_prefix_not ... bench: 577 ns/iter (+/- 4)
test bench::one_pass_short_a ... bench: 1951 ns/iter (+/- 29)
test bench::one_pass_short_a_not ... bench: 2464 ns/iter (+/- 10)
test bench::one_pass_short_b ... bench: 1301 ns/iter (+/- 6)
test bench::one_pass_short_b_not ... bench: 1785 ns/iter (+/- 6)
test bench::replace_all ... bench: 2168 ns/iter (+/- 152)

View file

@ -0,0 +1,33 @@
test bench::anchored_literal_long_match ... bench: 206 ns/iter (+/- 7)
test bench::anchored_literal_long_non_match ... bench: 97 ns/iter (+/- 1)
test bench::anchored_literal_short_match ... bench: 193 ns/iter (+/- 1)
test bench::anchored_literal_short_non_match ... bench: 86 ns/iter (+/- 0)
test bench::easy0_1K ... bench: 356 ns/iter (+/- 136) = 2876 MB/s
test bench::easy0_1MB ... bench: 352,434 ns/iter (+/- 7,874) = 2974 MB/s
test bench::easy0_32 ... bench: 72 ns/iter (+/- 21) = 444 MB/s
test bench::easy0_32K ... bench: 11,053 ns/iter (+/- 1,388) = 2964 MB/s
test bench::easy1_1K ... bench: 331 ns/iter (+/- 162) = 3093 MB/s
test bench::easy1_1MB ... bench: 353,723 ns/iter (+/- 6,836) = 2964 MB/s
test bench::easy1_32 ... bench: 73 ns/iter (+/- 20) = 438 MB/s
test bench::easy1_32K ... bench: 10,297 ns/iter (+/- 1,137) = 3182 MB/s
test bench::hard_1K ... bench: 34,951 ns/iter (+/- 171) = 29 MB/s
test bench::hard_1MB ... bench: 63,323,613 ns/iter (+/- 279,582) = 15 MB/s
test bench::hard_32 ... bench: 1,131 ns/iter (+/- 13) = 28 MB/s
test bench::hard_32K ... bench: 1,099,921 ns/iter (+/- 1,338) = 29 MB/s
test bench::literal ... bench: 16 ns/iter (+/- 0)
test bench::match_class ... bench: 188 ns/iter (+/- 0)
test bench::match_class_in_range ... bench: 188 ns/iter (+/- 0)
test bench::match_class_unicode ... bench: 1,940 ns/iter (+/- 10)
test bench::medium_1K ... bench: 5,262 ns/iter (+/- 256) = 194 MB/s
test bench::medium_1MB ... bench: 5,295,539 ns/iter (+/- 9,808) = 197 MB/s
test bench::medium_32 ... bench: 217 ns/iter (+/- 19) = 147 MB/s
test bench::medium_32K ... bench: 169,169 ns/iter (+/- 1,606) = 193 MB/s
test bench::no_exponential ... bench: 293,739 ns/iter (+/- 1,632)
test bench::not_literal ... bench: 1,371 ns/iter (+/- 136)
test bench::one_pass_long_prefix ... bench: 337 ns/iter (+/- 6)
test bench::one_pass_long_prefix_not ... bench: 341 ns/iter (+/- 6)
test bench::one_pass_short_a ... bench: 1,399 ns/iter (+/- 16)
test bench::one_pass_short_a_not ... bench: 1,229 ns/iter (+/- 13)
test bench::one_pass_short_b ... bench: 844 ns/iter (+/- 24)
test bench::one_pass_short_b_not ... bench: 849 ns/iter (+/- 45)
test bench::replace_all ... bench: 579 ns/iter (+/- 3)

View file

@ -0,0 +1,33 @@
test bench::anchored_literal_long_match ... bench: 225 ns/iter (+/- 22)
test bench::anchored_literal_long_non_match ... bench: 62 ns/iter (+/- 1)
test bench::anchored_literal_short_match ... bench: 225 ns/iter (+/- 1)
test bench::anchored_literal_short_non_match ... bench: 60 ns/iter (+/- 1)
test bench::easy0_1K ... bench: 29,984 ns/iter (+/- 190) = 34 MB/s
test bench::easy0_1MB ... bench: 30,641,690 ns/iter (+/- 110,535) = 33 MB/s
test bench::easy0_32 ... bench: 981 ns/iter (+/- 12) = 32 MB/s
test bench::easy0_32K ... bench: 957,358 ns/iter (+/- 2,633) = 34 MB/s
test bench::easy1_1K ... bench: 29,636 ns/iter (+/- 150) = 34 MB/s
test bench::easy1_1MB ... bench: 30,295,321 ns/iter (+/- 98,181) = 34 MB/s
test bench::easy1_32 ... bench: 971 ns/iter (+/- 30) = 32 MB/s
test bench::easy1_32K ... bench: 947,307 ns/iter (+/- 4,258) = 34 MB/s
test bench::hard_1K ... bench: 54,856 ns/iter (+/- 209) = 18 MB/s
test bench::hard_1MB ... bench: 56,126,571 ns/iter (+/- 224,163) = 17 MB/s
test bench::hard_32 ... bench: 1,776 ns/iter (+/- 23) = 18 MB/s
test bench::hard_32K ... bench: 1,753,833 ns/iter (+/- 54,427) = 18 MB/s
test bench::literal ... bench: 1,516 ns/iter (+/- 6)
test bench::match_class ... bench: 2,429 ns/iter (+/- 11)
test bench::match_class_in_range ... bench: 2,398 ns/iter (+/- 4)
test bench::match_class_unicode ... bench: 12,915 ns/iter (+/- 29)
test bench::medium_1K ... bench: 31,914 ns/iter (+/- 276) = 32 MB/s
test bench::medium_1MB ... bench: 32,617,173 ns/iter (+/- 68,114) = 31 MB/s
test bench::medium_32 ... bench: 1,046 ns/iter (+/- 42) = 30 MB/s
test bench::medium_32K ... bench: 1,019,516 ns/iter (+/- 3,788) = 32 MB/s
test bench::no_exponential ... bench: 303,239 ns/iter (+/- 518)
test bench::not_literal ... bench: 1,756 ns/iter (+/- 115)
test bench::one_pass_long_prefix ... bench: 834 ns/iter (+/- 7)
test bench::one_pass_long_prefix_not ... bench: 858 ns/iter (+/- 15)
test bench::one_pass_short_a ... bench: 1,597 ns/iter (+/- 9)
test bench::one_pass_short_a_not ... bench: 1,950 ns/iter (+/- 21)
test bench::one_pass_short_b ... bench: 1,077 ns/iter (+/- 5)
test bench::one_pass_short_b_not ... bench: 1,596 ns/iter (+/- 9)
test bench::replace_all ... bench: 1,288 ns/iter (+/- 13)

View file

@ -0,0 +1,33 @@
test bench::anchored_literal_long_match ... bench: 197 ns/iter (+/- 9)
test bench::anchored_literal_long_non_match ... bench: 95 ns/iter (+/- 1)
test bench::anchored_literal_short_match ... bench: 193 ns/iter (+/- 2)
test bench::anchored_literal_short_non_match ... bench: 85 ns/iter (+/- 2)
test bench::easy0_1K ... bench: 304 ns/iter (+/- 119) = 3368 MB/s
test bench::easy0_1MB ... bench: 281,912 ns/iter (+/- 5,274) = 3719 MB/s
test bench::easy0_32 ... bench: 74 ns/iter (+/- 16) = 432 MB/s
test bench::easy0_32K ... bench: 8,909 ns/iter (+/- 667) = 3678 MB/s
test bench::easy1_1K ... bench: 300 ns/iter (+/- 111) = 3413 MB/s
test bench::easy1_1MB ... bench: 282,250 ns/iter (+/- 5,556) = 3714 MB/s
test bench::easy1_32 ... bench: 98 ns/iter (+/- 17) = 326 MB/s
test bench::easy1_32K ... bench: 8,105 ns/iter (+/- 593) = 4042 MB/s
test bench::hard_1K ... bench: 34,562 ns/iter (+/- 211) = 29 MB/s
test bench::hard_1MB ... bench: 64,510,947 ns/iter (+/- 308,627) = 15 MB/s
test bench::hard_32 ... bench: 1,139 ns/iter (+/- 26) = 28 MB/s
test bench::hard_32K ... bench: 1,102,562 ns/iter (+/- 1,850) = 29 MB/s
test bench::literal ... bench: 15 ns/iter (+/- 0)
test bench::match_class ... bench: 105 ns/iter (+/- 1)
test bench::match_class_in_range ... bench: 105 ns/iter (+/- 1)
test bench::match_class_unicode ... bench: 2,270 ns/iter (+/- 185)
test bench::medium_1K ... bench: 2,262 ns/iter (+/- 73) = 452 MB/s
test bench::medium_1MB ... bench: 2,185,098 ns/iter (+/- 3,007) = 479 MB/s
test bench::medium_32 ... bench: 139 ns/iter (+/- 1) = 230 MB/s
test bench::medium_32K ... bench: 72,320 ns/iter (+/- 193) = 453 MB/s
test bench::no_exponential ... bench: 300,699 ns/iter (+/- 494)
test bench::not_literal ... bench: 1,462 ns/iter (+/- 89)
test bench::one_pass_long_prefix ... bench: 283 ns/iter (+/- 1)
test bench::one_pass_long_prefix_not ... bench: 287 ns/iter (+/- 0)
test bench::one_pass_short_a ... bench: 1,131 ns/iter (+/- 11)
test bench::one_pass_short_a_not ... bench: 1,259 ns/iter (+/- 12)
test bench::one_pass_short_b ... bench: 883 ns/iter (+/- 15)
test bench::one_pass_short_b_not ... bench: 799 ns/iter (+/- 28)
test bench::replace_all ... bench: 170 ns/iter (+/- 1)

View file

@ -0,0 +1,33 @@
test bench::anchored_literal_long_match ... bench: 192 ns/iter (+/- 11)
test bench::anchored_literal_long_non_match ... bench: 92 ns/iter (+/- 4)
test bench::anchored_literal_short_match ... bench: 182 ns/iter (+/- 6)
test bench::anchored_literal_short_non_match ... bench: 82 ns/iter (+/- 1)
test bench::easy0_1K ... bench: 277 ns/iter (+/- 79) = 3696 MB/s
test bench::easy0_1MB ... bench: 230,829 ns/iter (+/- 5,712) = 4542 MB/s
test bench::easy0_32 ... bench: 70 ns/iter (+/- 4) = 457 MB/s
test bench::easy0_32K ... bench: 8,444 ns/iter (+/- 492) = 3880 MB/s
test bench::easy1_1K ... bench: 272 ns/iter (+/- 98) = 3764 MB/s
test bench::easy1_1MB ... bench: 273,867 ns/iter (+/- 6,351) = 3828 MB/s
test bench::easy1_32 ... bench: 72 ns/iter (+/- 15) = 444 MB/s
test bench::easy1_32K ... bench: 8,109 ns/iter (+/- 540) = 4040 MB/s
test bench::hard_1K ... bench: 31,043 ns/iter (+/- 1,237) = 32 MB/s
test bench::hard_1MB ... bench: 60,077,413 ns/iter (+/- 129,611) = 16 MB/s
test bench::hard_32 ... bench: 1,036 ns/iter (+/- 20) = 30 MB/s
test bench::hard_32K ... bench: 996,238 ns/iter (+/- 3,181) = 32 MB/s
test bench::literal ... bench: 15 ns/iter (+/- 0)
test bench::match_class ... bench: 75 ns/iter (+/- 7)
test bench::match_class_in_range ... bench: 77 ns/iter (+/- 7)
test bench::match_class_unicode ... bench: 2,057 ns/iter (+/- 102)
test bench::medium_1K ... bench: 2,252 ns/iter (+/- 63) = 454 MB/s
test bench::medium_1MB ... bench: 2,186,091 ns/iter (+/- 7,496) = 479 MB/s
test bench::medium_32 ... bench: 132 ns/iter (+/- 2) = 242 MB/s
test bench::medium_32K ... bench: 72,394 ns/iter (+/- 342) = 452 MB/s
test bench::no_exponential ... bench: 286,662 ns/iter (+/- 1,150)
test bench::not_literal ... bench: 1,130 ns/iter (+/- 10)
test bench::one_pass_long_prefix ... bench: 271 ns/iter (+/- 0)
test bench::one_pass_long_prefix_not ... bench: 276 ns/iter (+/- 3)
test bench::one_pass_short_a ... bench: 1,147 ns/iter (+/- 10)
test bench::one_pass_short_a_not ... bench: 901 ns/iter (+/- 8)
test bench::one_pass_short_b ... bench: 887 ns/iter (+/- 7)
test bench::one_pass_short_b_not ... bench: 777 ns/iter (+/- 6)
test bench::replace_all ... bench: 154 ns/iter (+/- 0)

View file

@ -0,0 +1,33 @@
test bench::anchored_literal_long_match ... bench: 156 ns/iter (+/- 5)
test bench::anchored_literal_long_non_match ... bench: 85 ns/iter (+/- 7)
test bench::anchored_literal_short_match ... bench: 145 ns/iter (+/- 3)
test bench::anchored_literal_short_non_match ... bench: 76 ns/iter (+/- 2)
test bench::easy0_1K ... bench: 269 ns/iter (+/- 63) = 3806 MB/s
test bench::easy0_1MB ... bench: 232,461 ns/iter (+/- 13,022) = 4509 MB/s
test bench::easy0_32 ... bench: 63 ns/iter (+/- 6) = 507 MB/s
test bench::easy0_32K ... bench: 8,358 ns/iter (+/- 430) = 3920 MB/s
test bench::easy1_1K ... bench: 274 ns/iter (+/- 101) = 3737 MB/s
test bench::easy1_1MB ... bench: 278,949 ns/iter (+/- 11,324) = 3758 MB/s
test bench::easy1_32 ... bench: 63 ns/iter (+/- 15) = 507 MB/s
test bench::easy1_32K ... bench: 7,731 ns/iter (+/- 488) = 4238 MB/s
test bench::hard_1K ... bench: 44,685 ns/iter (+/- 661) = 22 MB/s
test bench::hard_1MB ... bench: 60,108,237 ns/iter (+/- 814,810) = 16 MB/s
test bench::hard_32 ... bench: 1,412 ns/iter (+/- 38) = 22 MB/s
test bench::hard_32K ... bench: 1,363,335 ns/iter (+/- 21,316) = 24 MB/s
test bench::literal ... bench: 14 ns/iter (+/- 0)
test bench::match_class ... bench: 81 ns/iter (+/- 0)
test bench::match_class_in_range ... bench: 81 ns/iter (+/- 2)
test bench::match_class_unicode ... bench: 2,978 ns/iter (+/- 64)
test bench::medium_1K ... bench: 2,239 ns/iter (+/- 68) = 457 MB/s
test bench::medium_1MB ... bench: 2,215,729 ns/iter (+/- 20,897) = 472 MB/s
test bench::medium_32 ... bench: 124 ns/iter (+/- 2) = 258 MB/s
test bench::medium_32K ... bench: 72,486 ns/iter (+/- 1,027) = 452 MB/s
test bench::no_exponential ... bench: 282,992 ns/iter (+/- 8,102)
test bench::not_literal ... bench: 1,526 ns/iter (+/- 32)
test bench::one_pass_long_prefix ... bench: 307 ns/iter (+/- 7)
test bench::one_pass_long_prefix_not ... bench: 311 ns/iter (+/- 8)
test bench::one_pass_short_a ... bench: 623 ns/iter (+/- 12)
test bench::one_pass_short_a_not ... bench: 920 ns/iter (+/- 19)
test bench::one_pass_short_b ... bench: 554 ns/iter (+/- 13)
test bench::one_pass_short_b_not ... bench: 740 ns/iter (+/- 12)
test bench::replace_all ... bench: 155 ns/iter (+/- 5)

View file

@ -0,0 +1,33 @@
test bench::anchored_literal_long_match ... bench: 145 ns/iter (+/- 1)
test bench::anchored_literal_long_non_match ... bench: 92 ns/iter (+/- 2)
test bench::anchored_literal_short_match ... bench: 129 ns/iter (+/- 3)
test bench::anchored_literal_short_non_match ... bench: 72 ns/iter (+/- 1)
test bench::easy0_1K ... bench: 268 ns/iter (+/- 88) = 3820 MB/s
test bench::easy0_1MB ... bench: 234,067 ns/iter (+/- 4,663) = 4479 MB/s
test bench::easy0_32 ... bench: 64 ns/iter (+/- 4) = 500 MB/s
test bench::easy0_32K ... bench: 8,298 ns/iter (+/- 521) = 3948 MB/s
test bench::easy1_1K ... bench: 275 ns/iter (+/- 95) = 3723 MB/s
test bench::easy1_1MB ... bench: 280,466 ns/iter (+/- 5,938) = 3738 MB/s
test bench::easy1_32 ... bench: 64 ns/iter (+/- 16) = 500 MB/s
test bench::easy1_32K ... bench: 7,693 ns/iter (+/- 595) = 4259 MB/s
test bench::hard_1K ... bench: 27,844 ns/iter (+/- 1,012) = 36 MB/s
test bench::hard_1MB ... bench: 52,323,489 ns/iter (+/- 1,251,665) = 19 MB/s
test bench::hard_32 ... bench: 970 ns/iter (+/- 92) = 32 MB/s
test bench::hard_32K ... bench: 896,945 ns/iter (+/- 29,977) = 36 MB/s
test bench::literal ... bench: 13 ns/iter (+/- 1)
test bench::match_class ... bench: 80 ns/iter (+/- 0)
test bench::match_class_in_range ... bench: 80 ns/iter (+/- 0)
test bench::match_class_unicode ... bench: 2,150 ns/iter (+/- 18)
test bench::medium_1K ... bench: 2,241 ns/iter (+/- 55) = 456 MB/s
test bench::medium_1MB ... bench: 2,186,354 ns/iter (+/- 9,134) = 479 MB/s
test bench::medium_32 ... bench: 125 ns/iter (+/- 1) = 256 MB/s
test bench::medium_32K ... bench: 72,156 ns/iter (+/- 145) = 454 MB/s
test bench::no_exponential ... bench: 305,034 ns/iter (+/- 1,134)
test bench::not_literal ... bench: 1,169 ns/iter (+/- 105)
test bench::one_pass_long_prefix ... bench: 257 ns/iter (+/- 4)
test bench::one_pass_long_prefix_not ... bench: 276 ns/iter (+/- 4)
test bench::one_pass_short_a ... bench: 680 ns/iter (+/- 3)
test bench::one_pass_short_a_not ... bench: 804 ns/iter (+/- 48)
test bench::one_pass_short_b ... bench: 337 ns/iter (+/- 3)
test bench::one_pass_short_b_not ... bench: 339 ns/iter (+/- 5)
test bench::replace_all ... bench: 150 ns/iter (+/- 1)

View file

@ -0,0 +1,33 @@
test bench::anchored_literal_long_match ... bench: 171 ns/iter (+/- 20)
test bench::anchored_literal_long_non_match ... bench: 90 ns/iter (+/- 8)
test bench::anchored_literal_short_match ... bench: 180 ns/iter (+/- 33)
test bench::anchored_literal_short_non_match ... bench: 78 ns/iter (+/- 9)
test bench::easy0_1K ... bench: 272 ns/iter (+/- 82) = 3764 MB/s
test bench::easy0_1MB ... bench: 233,014 ns/iter (+/- 22,144) = 4500 MB/s
test bench::easy0_32 ... bench: 62 ns/iter (+/- 6) = 516 MB/s
test bench::easy0_32K ... bench: 8,490 ns/iter (+/- 905) = 3859 MB/s
test bench::easy1_1K ... bench: 273 ns/iter (+/- 100) = 3750 MB/s
test bench::easy1_1MB ... bench: 279,901 ns/iter (+/- 5,598) = 3746 MB/s
test bench::easy1_32 ... bench: 62 ns/iter (+/- 6) = 516 MB/s
test bench::easy1_32K ... bench: 7,713 ns/iter (+/- 566) = 4248 MB/s
test bench::hard_1K ... bench: 38,641 ns/iter (+/- 605) = 26 MB/s
test bench::hard_1MB ... bench: 56,579,116 ns/iter (+/- 1,193,231) = 18 MB/s
test bench::hard_32 ... bench: 1,252 ns/iter (+/- 24) = 25 MB/s
test bench::hard_32K ... bench: 1,247,639 ns/iter (+/- 12,774) = 26 MB/s
test bench::literal ... bench: 13 ns/iter (+/- 1)
test bench::match_class ... bench: 80 ns/iter (+/- 1)
test bench::match_class_in_range ... bench: 80 ns/iter (+/- 0)
test bench::match_class_unicode ... bench: 2,459 ns/iter (+/- 77)
test bench::medium_1K ... bench: 2,244 ns/iter (+/- 63) = 456 MB/s
test bench::medium_1MB ... bench: 2,192,052 ns/iter (+/- 21,460) = 478 MB/s
test bench::medium_32 ... bench: 122 ns/iter (+/- 3) = 262 MB/s
test bench::medium_32K ... bench: 73,167 ns/iter (+/- 15,655) = 447 MB/s
test bench::no_exponential ... bench: 289,292 ns/iter (+/- 1,488)
test bench::not_literal ... bench: 1,480 ns/iter (+/- 18)
test bench::one_pass_long_prefix ... bench: 324 ns/iter (+/- 15)
test bench::one_pass_long_prefix_not ... bench: 337 ns/iter (+/- 5)
test bench::one_pass_short_a ... bench: 1,161 ns/iter (+/- 10)
test bench::one_pass_short_a_not ... bench: 798 ns/iter (+/- 6)
test bench::one_pass_short_b ... bench: 456 ns/iter (+/- 6)
test bench::one_pass_short_b_not ... bench: 452 ns/iter (+/- 33)
test bench::replace_all ... bench: 148 ns/iter (+/- 0)

View file

@ -0,0 +1,35 @@
test bench::anchored_literal_long_match ... bench: 179 ns/iter (+/- 5)
test bench::anchored_literal_long_non_match ... bench: 90 ns/iter (+/- 1)
test bench::anchored_literal_short_match ... bench: 164 ns/iter (+/- 16)
test bench::anchored_literal_short_non_match ... bench: 79 ns/iter (+/- 1)
test bench::compile_simple ... bench: 3,708 ns/iter (+/- 225)
test bench::compile_unicode ... bench: 5,871 ns/iter (+/- 264)
test bench::easy0_1K ... bench: 263 ns/iter (+/- 92) = 3893 MB/s
test bench::easy0_1MB ... bench: 217,835 ns/iter (+/- 4,074) = 4813 MB/s
test bench::easy0_32 ... bench: 67 ns/iter (+/- 1) = 477 MB/s
test bench::easy0_32K ... bench: 8,204 ns/iter (+/- 426) = 3994 MB/s
test bench::easy1_1K ... bench: 276 ns/iter (+/- 100) = 3710 MB/s
test bench::easy1_1MB ... bench: 284,086 ns/iter (+/- 6,516) = 3691 MB/s
test bench::easy1_32 ... bench: 70 ns/iter (+/- 15) = 457 MB/s
test bench::easy1_32K ... bench: 7,844 ns/iter (+/- 556) = 4177 MB/s
test bench::hard_1K ... bench: 30,062 ns/iter (+/- 1,684) = 34 MB/s
test bench::hard_1MB ... bench: 50,839,701 ns/iter (+/- 104,343) = 20 MB/s
test bench::hard_32 ... bench: 1,009 ns/iter (+/- 48) = 31 MB/s
test bench::hard_32K ... bench: 965,341 ns/iter (+/- 45,075) = 33 MB/s
test bench::literal ... bench: 12 ns/iter (+/- 0)
test bench::match_class ... bench: 80 ns/iter (+/- 0)
test bench::match_class_in_range ... bench: 80 ns/iter (+/- 1)
test bench::match_class_unicode ... bench: 2,150 ns/iter (+/- 22)
test bench::medium_1K ... bench: 2,262 ns/iter (+/- 66) = 452 MB/s
test bench::medium_1MB ... bench: 2,193,428 ns/iter (+/- 6,147) = 478 MB/s
test bench::medium_32 ... bench: 129 ns/iter (+/- 1) = 248 MB/s
test bench::medium_32K ... bench: 72,629 ns/iter (+/- 348) = 451 MB/s
test bench::no_exponential ... bench: 289,043 ns/iter (+/- 2,478)
test bench::not_literal ... bench: 1,195 ns/iter (+/- 10)
test bench::one_pass_long_prefix ... bench: 265 ns/iter (+/- 3)
test bench::one_pass_long_prefix_not ... bench: 270 ns/iter (+/- 4)
test bench::one_pass_short_a ... bench: 730 ns/iter (+/- 4)
test bench::one_pass_short_a_not ... bench: 712 ns/iter (+/- 4)
test bench::one_pass_short_b ... bench: 445 ns/iter (+/- 49)
test bench::one_pass_short_b_not ... bench: 406 ns/iter (+/- 72)
test bench::replace_all ... bench: 136 ns/iter (+/- 2)

View file

@ -0,0 +1,35 @@
test bench::anchored_literal_long_match ... bench: 190 ns/iter (+/- 12)
test bench::anchored_literal_long_non_match ... bench: 85 ns/iter (+/- 2)
test bench::anchored_literal_short_match ... bench: 147 ns/iter (+/- 9)
test bench::anchored_literal_short_non_match ... bench: 74 ns/iter (+/- 5)
test bench::compile_simple ... bench: 4,218 ns/iter (+/- 201)
test bench::compile_unicode ... bench: 402,353 ns/iter (+/- 2,642)
test bench::easy0_1K ... bench: 253 ns/iter (+/- 79) = 4047 MB/s
test bench::easy0_1MB ... bench: 215,308 ns/iter (+/- 3,474) = 4870 MB/s
test bench::easy0_32 ... bench: 64 ns/iter (+/- 4) = 500 MB/s
test bench::easy0_32K ... bench: 8,134 ns/iter (+/- 435) = 4028 MB/s
test bench::easy1_1K ... bench: 277 ns/iter (+/- 105) = 3696 MB/s
test bench::easy1_1MB ... bench: 283,435 ns/iter (+/- 5,975) = 3699 MB/s
test bench::easy1_32 ... bench: 64 ns/iter (+/- 14) = 500 MB/s
test bench::easy1_32K ... bench: 7,832 ns/iter (+/- 575) = 4183 MB/s
test bench::hard_1K ... bench: 35,380 ns/iter (+/- 772) = 28 MB/s
test bench::hard_1MB ... bench: 46,639,535 ns/iter (+/- 456,010) = 22 MB/s
test bench::hard_32 ... bench: 1,110 ns/iter (+/- 53) = 28 MB/s
test bench::hard_32K ... bench: 1,146,751 ns/iter (+/- 17,290) = 28 MB/s
test bench::literal ... bench: 12 ns/iter (+/- 0)
test bench::match_class ... bench: 80 ns/iter (+/- 1)
test bench::match_class_in_range ... bench: 80 ns/iter (+/- 0)
test bench::match_class_unicode ... bench: 2,487,088 ns/iter (+/- 103,259)
test bench::medium_1K ... bench: 2,253 ns/iter (+/- 52) = 454 MB/s
test bench::medium_1MB ... bench: 2,193,344 ns/iter (+/- 7,582) = 478 MB/s
test bench::medium_32 ... bench: 119 ns/iter (+/- 5) = 268 MB/s
test bench::medium_32K ... bench: 72,569 ns/iter (+/- 283) = 451 MB/s
test bench::no_exponential ... bench: 292,840 ns/iter (+/- 2,823)
test bench::not_literal ... bench: 6,417 ns/iter (+/- 26)
test bench::one_pass_long_prefix ... bench: 304 ns/iter (+/- 0)
test bench::one_pass_long_prefix_not ... bench: 943 ns/iter (+/- 44)
test bench::one_pass_short_a ... bench: 688 ns/iter (+/- 11)
test bench::one_pass_short_a_not ... bench: 687 ns/iter (+/- 7)
test bench::one_pass_short_b ... bench: 589 ns/iter (+/- 6)
test bench::one_pass_short_b_not ... bench: 357 ns/iter (+/- 11)
test bench::replace_all ... bench: 131 ns/iter (+/- 1)

View file

@ -0,0 +1,35 @@
test bench::anchored_literal_long_match ... bench: 174 ns/iter (+/- 65)
test bench::anchored_literal_long_non_match ... bench: 94 ns/iter (+/- 1)
test bench::anchored_literal_short_match ... bench: 142 ns/iter (+/- 1)
test bench::anchored_literal_short_non_match ... bench: 82 ns/iter (+/- 0)
test bench::compile_simple ... bench: 4,878 ns/iter (+/- 207)
test bench::compile_unicode ... bench: 679,701 ns/iter (+/- 10,264)
test bench::easy0_1K ... bench: 257 ns/iter (+/- 83) = 3984 MB/s
test bench::easy0_1MB ... bench: 217,698 ns/iter (+/- 3,307) = 4816 MB/s
test bench::easy0_32 ... bench: 61 ns/iter (+/- 3) = 524 MB/s
test bench::easy0_32K ... bench: 8,144 ns/iter (+/- 449) = 4023 MB/s
test bench::easy1_1K ... bench: 276 ns/iter (+/- 106) = 3710 MB/s
test bench::easy1_1MB ... bench: 285,518 ns/iter (+/- 4,933) = 3672 MB/s
test bench::easy1_32 ... bench: 61 ns/iter (+/- 12) = 524 MB/s
test bench::easy1_32K ... bench: 7,896 ns/iter (+/- 508) = 4149 MB/s
test bench::hard_1K ... bench: 35,361 ns/iter (+/- 684) = 28 MB/s
test bench::hard_1MB ... bench: 48,691,236 ns/iter (+/- 2,316,446) = 21 MB/s
test bench::hard_32 ... bench: 1,087 ns/iter (+/- 33) = 29 MB/s
test bench::hard_32K ... bench: 1,147,627 ns/iter (+/- 4,982) = 28 MB/s
test bench::literal ... bench: 12 ns/iter (+/- 0)
test bench::match_class ... bench: 80 ns/iter (+/- 0)
test bench::match_class_in_range ... bench: 80 ns/iter (+/- 0)
test bench::match_class_unicode ... bench: 2,431,592 ns/iter (+/- 89,268)
test bench::medium_1K ... bench: 2,245 ns/iter (+/- 93) = 456 MB/s
test bench::medium_1MB ... bench: 2,192,828 ns/iter (+/- 4,343) = 478 MB/s
test bench::medium_32 ... bench: 120 ns/iter (+/- 2) = 266 MB/s
test bench::medium_32K ... bench: 72,996 ns/iter (+/- 627) = 448 MB/s
test bench::no_exponential ... bench: 290,775 ns/iter (+/- 1,176)
test bench::not_literal ... bench: 5,282 ns/iter (+/- 199)
test bench::one_pass_long_prefix ... bench: 294 ns/iter (+/- 3)
test bench::one_pass_long_prefix_not ... bench: 315 ns/iter (+/- 7)
test bench::one_pass_short_a ... bench: 708 ns/iter (+/- 21)
test bench::one_pass_short_a_not ... bench: 861 ns/iter (+/- 9)
test bench::one_pass_short_b ... bench: 607 ns/iter (+/- 2)
test bench::one_pass_short_b_not ... bench: 344 ns/iter (+/- 11)
test bench::replace_all ... bench: 135 ns/iter (+/- 1)