File: log

package info (click to toggle)
ruby-regexp-parser 2.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 968 kB
  • sloc: ruby: 6,396; sh: 12; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 502 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Results of rake:benchmark on ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin21]

Parsing a minimal Regexp

       Scanner::scan:    32710.2 i/s
          Lexer::lex:    31091.8 i/s - same-ish: difference falls within error
       Parser::parse:    27097.3 i/s - 1.21x  (± 0.00) slower

Parsing a complex Regexp (URI.regexp)

       Scanner::scan:      877.0 i/s
          Lexer::lex:      545.2 i/s - 1.61x  (± 0.00) slower
       Parser::parse:      294.7 i/s - 2.98x  (± 0.00) slower