Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2ea7b5f

Browse files
committed
Split up files somewhat
1 parent 3930a88 commit 2ea7b5f

13 files changed

+3163
-3157
lines changed

bin/bench

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def compare(filepath)
1515
source = File.read(filepath)
1616

1717
Benchmark.ips do |x|
18-
x.report("syntax_tree") { SyntaxTree.new(source).parse }
18+
x.report("syntax_tree") { SyntaxTree.parse(source) }
1919
x.report("parser") { Parser::CurrentRuby.parse(source) }
2020
x.report("ruby_parser") { RubyParser.new.parse(source) }
2121
x.compare!

0 commit comments

Comments
 (0)