File: log

package info (click to toggle)
ruby-regexp-parser 2.11.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,092 kB
  • sloc: ruby: 6,891; makefile: 6; sh: 3
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:    32069.4 i/s
          Lexer::lex:    30700.6 i/s - same-ish: difference falls within error
       Parser::parse:    26248.5 i/s - 1.22x  (± 0.00) slower

Parsing a complex Regexp (URI.regexp)

       Scanner::scan:      843.4 i/s
          Lexer::lex:      546.3 i/s - 1.54x  (± 0.00) slower
       Parser::parse:      332.5 i/s - 2.54x  (± 0.00) slower