-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a966ee
commit 9e81562
Showing
6 changed files
with
464 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
Oops, something went wrong.