pytest-codspeed icon indicating copy to clipboard operation
pytest-codspeed copied to clipboard

Pytest plugin to create CodSpeed benchmarks

Results 29 pytest-codspeed issues
Sort by recently updated
recently updated
newest added

Tried it out just now, and: ``` INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/opt/hostedtoolcache/PyPy/3.10.13/x64/lib/pypy3.10/site-packages/pytest_codspeed/_wrapper/__init__.py", line 34, in get_lib INTERNALERROR> from .dist_callgrind_wrapper import lib # type: ignore INTERNALERROR> ModuleNotFoundError:...

Integrations - Python
Feature
Systems

PyPy uses a JIT, so the initial run of a function may be misleading: after some number of runs the JIT kicks in, and then it will run much faster....

Integrations - Python

Another alternative to #25 This time we leave original implementation as is and rather correct the implementation to not override the default protocol.

Resolves #24 Changes include: - Ruff version bump and enabled some additional lints (happy to remove these changes if undesired) - Add a TDD test used to showcase problematic behavior...

With Python 3.12 pytest-codspeed runs the benchmark twice. Once to prime the cache and once with instrumentation enabled. The tests added here are derived from the discussion in #25.

When tests write to `stdout`/`stderr` the text ends up writing immediately to the terminal and pytest is unable to intercept it (with the `capsys` fixture) for inspection. Ideally `pytest-codspeed` wouldn't...

Currently running the action with pytest-speed installed will prevent benchmarks from being detected. ## Temporary Workaround Uninstall pytest-speed before running the action

Hey there, Following up on https://github.com/CodSpeedHQ/action/issues/112, this PR updates the README to point to the latest stable version of the action. I followed the snippet to configure my workflow, and...

Currently, installing the package on Python 3.13 will raise the following error because of `cffi` 1.16.0: > 'PyErr_WriteUnraisable' declared here PyAPI_FUNC(void) PyErr_WriteUnraisable(PyObject *); This is fixed in cffi 1.17.0, but...