6min chapter

Django Chat cover image

Contributing to Django - David Smith

Django Chat

CHAPTER

How to Automate Django Benchmarking

I'm not an expert in our own and databases but there's small changes that you can make to a number of packages Django comes along and deprecates a feature that change will then need to be made across the whole ecosystem. So I looked at how could we automate this so step one was to get it running in a GitHub action and save it into a SQLite database That worked quite well for a little while until the database got so big that it's stuck workingwe hit the size limit eventually. Then Victor Steiner built PyPerf which is a little tool to write some benchmarks and run them much more reliably with CPU isolation as well. It did highlight a few regressions that were

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode