Published at July 28, 2017 · 1 min read
Sometimes we need to understand why unit-test is so slow. Sometimes I’m to lazy to go deep to understand why. That’s why I’ve created a very simple profiled class to make unit-tests profiling fast and simple. I used only cProfile, so it will work on any Python project. It’s so simple, so I can’t talk about it more. You can install it via ‘pip install ProfiledTest’ and use it like:...