YAML vs JSON Performance Benchmark
Due to YAML’s richness and human readability, you would expect it to be slower than native serialization of JSON. This would be correct. JSON serialization/Deserialization is so much faster than YAML serialization/Deserialization in Almost all languages.
Reference: https://gist.github.com/havenwood/4513627