Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: eb77573c45
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (13 sloc) 0.262 kb
$: << 'lib'
require 'bundler'
Bundler.setup
require 'schemer'
require 'benchmark'
lexer = Schemer::Lexer.new
n = 100
text = File.read(File.expand_path('../examples/bintree.scm'))
Benchmark.bm do |x|
x.report do
n.times { lexer.parse text }
end
end
Jump to Line
Something went wrong with that request. Please try again.