Run on a Rails 4.2.7.1 app, with Ruby 2.2.6.p396
$ bundle exec rake benchmarks:avro_vs_json
Rehearsal ------------------------------------------
avro: 13.940000 0.000000 13.940000 ( 13.958903)
json: 5.420000 0.000000 5.420000 ( 5.427391)
-------------------------------- total: 19.360000sec
user system total real
avro: 14.290000 0.000000 14.290000 ( 14.309323)
json: 4.920000 0.000000 4.920000 ( 4.917310)
$ bundle exec rake benchmarks:avro_vs_json_single
AVRO: 0.011360064 seconds
JSON: 7.7003e-05 seconds
AVRO: 0.000465333 seconds
JSON: 5.1177e-05 seconds
AVRO: 0.000228787 seconds
JSON: 0.000275685 seconds
AVRO: 0.000330687 seconds
JSON: 0.00086971 seconds