# Timing Tests in Python For Fun and Profit

DevFeed: [Timing Tests in Python For Fun and Profit](<https://devfeed.tech/articles/timing-tests-in-python-for-fun-and-profit-33944.md>)

Original publisher: [Read original article](<https://hakibenita.com/timing-tests-in-python-for-fun-and-profit>)

Author: Haki Benita

Published: 2016-11-08T22:00:00Z

Content type: tutorial

Language: en

Sources: [Haki Benita](<https://devfeed.tech/sources/haki-benita.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [test](<https://devfeed.tech/topics/test.md>)

Tags: [articles](<https://devfeed.tech/tags/articles.md>), [django](<https://devfeed.tech/tags/django.md>), [performance](<https://devfeed.tech/tags/performance.md>), [python](<https://devfeed.tech/tags/python.md>), [reporting](<https://devfeed.tech/tags/reporting.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [timing](<https://devfeed.tech/tags/timing.md>)

## AI overview

A Python tutorial on finding slow tests by measuring test execution time, reporting tests that exceed a threshold, and building custom unittest result and runner classes to produce a consolidated report without modifying existing test cases.

## Source excerpt

Hunting down slow tests by reporting tests that take longer than a certain threshold (Because the first step to better test performance is awareness!)