Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. # AVRO vs JSON benchmark
  2.  
  3. Run on a Rails 4.2.7.1 app, with Ruby 2.2.6.p396
  4.  
  5. ```
  6. $ bundle exec rake benchmarks:avro_vs_json
  7.  
  8. Rehearsal ------------------------------------------
  9. avro: 13.940000 0.000000 13.940000 ( 13.958903)
  10. json: 5.420000 0.000000 5.420000 ( 5.427391)
  11. -------------------------------- total: 19.360000sec
  12.  
  13. user system total real
  14. avro: 14.290000 0.000000 14.290000 ( 14.309323)
  15. json: 4.920000 0.000000 4.920000 ( 4.917310)
  16.  
  17.  
  18. $ bundle exec rake benchmarks:avro_vs_json_single
  19.  
  20. AVRO: 0.011360064 seconds
  21. JSON: 7.7003e-05 seconds
  22.  
  23. AVRO: 0.000465333 seconds
  24. JSON: 5.1177e-05 seconds
  25.  
  26. AVRO: 0.000228787 seconds
  27. JSON: 0.000275685 seconds
  28.  
  29. AVRO: 0.000330687 seconds
  30. JSON: 0.00086971 seconds
  31. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement