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