$npx skillfedfor your agent

pytest-timer

A timer plugin for pytest

With conditionsPyPI TestingReleased Dec 202394.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_timer-1.0.0-py3-none-any.whl
v1.0.0 · released 2023-12-26 · 1 runtime deps: pytest

Yes, if you need basic test timing visibility and accept dormant maintenance. The plugin is simple, has no security vulnerabilities, and low install friction. However, if you need active bug fixes, advanced profiling features, or support for newer pytest versions beyond 3.12, consider whether the lack of recent updates poses a risk for your project.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install as a pure-Python wheel with only pytest as a runtime dependency.
  • Maintenance is dormant—last release was 2023-12-26 and no commits since 2024-09-03—but the repository remains active and the package is stable enough for basic timing use.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2023-12-26 (962 days) · last repo commit 2024-09-03 · 15 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 94,800 downloads/mo, #13,302 on PyPI

Verify before relying

pip install pytest-timer
pytest --timer-top-n 10
  • Whether colored output (termcolor/colorama extras) works reliably on modern terminal emulators.
  • Whether the plugin handles async tests or parametrized tests correctly.
  • Performance impact when running large test suites with hundreds or thousands of tests.
Same gist for agents: .md · .json

What it is and what it does

pytest-timer is a pytest plugin that automatically measures and displays the execution time of each test as part of the test report. It was ported from the nose-timer plugin for the older nose test runner. After running tests, it appends a summary section showing test names, their status, and duration in seconds.

The plugin integrates directly into pytest's reporting pipeline with no configuration required beyond installation. It supports filtering to show only the slowest tests (via --timer-top-n), disabling colored output for headless environments (--timer-no-color), and filtering results by status color (--timer-filter). Optional dependencies on termcolor or colorama enable colored duration output.

Use it for

  • Identify slow tests in a suite to prioritize optimization efforts.
  • Monitor test performance regressions across commits by comparing duration reports.
  • Debug flaky tests by observing variance in execution time across runs.
  • Generate timing reports in CI/CD pipelines to track test suite health over time.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need basic test timing visibility and accept dormant maintenance.

The plugin is simple, has no security vulnerabilities, and low install friction. However, if you need active bug fixes, advanced profiling features, or support for newer pytest versions beyond 3.12, consider whether the lack of recent updates poses a risk for your project.

Install

pytest-timer on PyPI

Before you install

Low friction install as a pure-Python wheel with only pytest as a runtime dependency. Maintenance is dormant—last release was 2023-12-26 and no commits since 2024-09-03—but the repository remains active and the package is stable enough for basic timing use.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install pytest-timer
pytest --timer-top-n 10

Verify before relying

  • Whether colored output (termcolor/colorama extras) works reliably on modern terminal emulators.
  • Whether the plugin handles async tests or parametrized tests correctly.
  • Performance impact when running large test suites with hundreds or thousands of tests.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pytest
MaintenanceDormant 962 days since the last release
Last repo commit
First released
Downloads94,800 / month, #13,302 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: ConsoleFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Testing

Evidence: pytest_timer-1.0.0-py3-none-any.whl

Tags

Capabilities
pytest test timingmeasure test durationslowest tests reportpytest performance profilingtest execution time tracking
Topics
pytest-plugintest-profiling

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 › “measure test duration”

  • pytest-timerPytest plugin that measures and reports the execution time of…
  • django-slowtestsIntegrates with Django's test runner to identify and report the…
  • stopwatch.pyProvides a simple stopwatch timer that measures elapsed time using…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

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.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

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.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

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.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

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.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-durations · pytest-extra-durations · django-slowtests · pytest-timeouts · stopwatch.py · pytest-timeout · pytest-clarity · xdoctest · pytest-split · types-termcolor