pytest-extra-durations
A pytest plugin to get durations on a per-function basis and per module basis.
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release April 2020, no commits since) and has not been maintained for over four years. While it has low install friction and a permissive license, the lack of maintenance means it is unlikely to work reliably with current pytest versions and may break silently. For active test timing analysis, consider a maintained alternative or pytest's built-in `--durations` option.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with low friction—a pure Python wheel with only pytest as a runtime dependency.
- However, the package has been abandoned since April 2020 and receives no maintenance, so it may not work reliably with recent pytest versions or Python releases.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or distribution in your own projects.
last release 2020-04-21 (2306 days) · last repo commit 2020-04-21 · 8 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 108,031 downloads/mo, #12,582 on PyPI
Alternatives
Verify before relying
pip install pytest-extra-durations
pytest --modules-durations=4 ./path/to/test/directory
pytest --functions-durations=4 ./path/to/test/directory- Whether the plugin remains compatible with pytest versions released after April 2020
- Whether it works correctly with modern versions of pytest-xdist
What it is and what it does
pytest-extra-durations is a pytest plugin that adds three layers of timing information to your test runs. It always displays the sum of all test, setup, and teardown durations—a figure independent of worker count or collection time. It also offers optional per-module and per-function duration summaries via command-line flags, similar to pytest's built-in `--durations` option but aggregating across workers in pytest-xdist runs.
The plugin integrates directly into pytest's reporting and requires only pytest as a dependency. It is designed to help developers identify slow tests and modules in their suite, particularly useful when running distributed tests with pytest-xdist where standard timing metrics can be obscured by parallelization overhead.
Use it for
- Identify which test modules consume the most time in a large test suite
- Find individual test functions that are unexpectedly slow, even when run in parallel
- Compare total test execution time across runs without being affected by worker count
- Diagnose performance regressions by tracking per-module and per-function durations over time
- Optimize test parallelization by understanding which tests or modules are bottlenecks
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release April 2020, no commits since) and has not been maintained for over four years. While it has low install friction and a permissive license, the lack of maintenance means it is unlikely to work reliably with current pytest versions and may break silently. For active test timing analysis, consider a maintained alternative or pytest's built-in `--durations` option.
Install
pytest-extra-durations on PyPI
Before you install
Installation is straightforward with low friction—a pure Python wheel with only pytest as a runtime dependency. However, the package has been abandoned since April 2020 and receives no maintenance, so it may not work reliably with recent pytest versions or Python releases.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or distribution in your own projects.
Quickstart
pip install pytest-extra-durations
pytest --modules-durations=4 ./path/to/test/directory
pytest --functions-durations=4 ./path/to/test/directory
Verify before relying
- Whether the plugin remains compatible with pytest versions released after April 2020
- Whether it works correctly with modern versions of pytest-xdist
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.5 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepytest |
| Maintenance | Abandoned 2,306 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 108,031 / month, #12,582 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Testing |
Evidence: pytest_extra_durations-0.1.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pytest test duration reporting”
- pytest-extra-durationsA pytest plugin that reports test execution time broken down by…
- pytest-durationsA pytest plugin that measures and reports fixture and test function…
- pytest-csvA pytest plugin that exports test results to CSV format with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also pytest-durations · pytest-timer · pytest-timeouts · pytest-xdist · pytest-split · pytest-timeout · pytest-parallel · pytest-retry · pytest-fail-slow · xdoctest