[ANN] Grammar 0.8.1 - a performance release

E

Eric Mahurin

[Note: parts of this message were removed to make it a legal post.]

I just uploaded Grammar 0.8.1 here:

http://rubyforge.org/projects/grammar/

I mainly put performance into this release. Benchmarking JSON parsers from
various parser generators, here is how it looks:

5.04M/s Grammar/Ruby2CExt(hacked) 0.8.1
4.62M/s Ragel/C (the json gem - cext)
2.88M/s Grammar/Ruby2CExt 0.8.1
1.36M/s Grammar/Ruby2CExt 0.8
457K/s Grammar/Ruby 0.8.1
413K/s Grammar/Ruby 0.8
291K/s RACC/ext
83.6K/s RACC/ruby
11.9K/s Treetop
5.07K/s GhostWheel
2.29K/s Peggy

About 1000X faster when compared to packrat parsers (the last 3).

I'll try to work with Dominick Bathon to get my "hacks" into the ruby2cext
project - at least as plugins.

Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] Grammar 0.8 0

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top