summaryrefslogtreecommitdiffstats
path: root/vendor/regex/record/old-bench-log/05/pcre1-vs-rust
blob: 1d8c0d632d41afd4ccdd62802fa4256d536e4026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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%