Sha256: 6e320d988040ce3a3373f0333718436cae714b543fe86a1f2d7daaa3ab7e4232
Contents?: true
Size: 298 Bytes
Versions: 1
Compression:
Stored size: 298 Bytes
Contents
$LOAD_PATH.unshift 'lib' require 'textpow' syntax = Textpow::SyntaxNode.load("#{Textpow.syntax_path}/javascript.syntax") text = File.read('examples/jquery.js') processor = Textpow::RecordingProcessor.new start = Time.now.to_f 5.times{ syntax.parse(text, processor) } puts Time.now.to_f - start
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
textpow1x-1.1.0 | examples/benchmark_js.rb |