json gem encoding/decoding is 2x slower than under MRI
------------------------------------------------------
Key: JRUBY-6221
URL: https://jira.codehaus.org/browse/JRUBY-6221
Project: JRuby
Issue Type: Bug
Components: Performance
Affects Versions: JRuby 1.6.3
Environment: OSX, json gem version 1.6.1
Reporter: Chuck Remes
MRI with the json gem (plus C extension) is about 2x faster than JRuby for
encoding and 2.5x faster for decoding. I believe the JRuby json gem has a
native java extension, so performance should be comparable.
The gist contains the benchmark code and the output for both MRI & JRuby.
https://gist.github.com/1374478
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email