Benchmarking avro and fastavro using pytest-benchmark, tox and matplotlib

Ever wonder how you can benchmark a block of Python code to see how fast it runs or how do you choose between multiple libraries that do the same thing but not sure which one is faster or which python interpreter is most performant for your application. Fantastic, you have come to the right place. In this blog, I will introduce you to a set of tools that can help you achieve exactly that.

I work for the distributed systems team at Yelp which is responsible for building a Streaming Data Pipeline systems…