Advertisement
Amegatron

Cache test (PHP): Yaml::parse VS unserialize VS json_decode

Jun 5th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. iterations: 1000
  2. yaml: 17.4401
  3. unserialize: 0.0537
  4. json_decode: 0.0859
  5. yaml/unserialize: 324.88512751272
  6. yaml/json_decode: 203.05906683396
  7. unserialize/yaml: 0.0030780110116331
  8. unserialize/json_decode: 0.62501804372689
  9. json_decode/yaml: 0.0049246754434151
  10. json_decode/unserialize: 1.5999538093927
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement