Skip to content

Commit

Permalink
Make: Pull pytest-benchmark from GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Jan 24, 2025
1 parent 56f3008 commit bb7acc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ pip install -r requirements.txt # Install the depende
pytest less_slow.py # Run the benchmarks
```

Alternatively, consider using `uv` to run the benchmarks in a controlled environment.
Alternatively, consider using [`uv`](https://docs.astral.sh/uv/getting-started/installation/) to run the benchmarks in a controlled environment.

```sh
uv run --python="3.14" --no-sync --with-requirements requirements.in \
uv run --python="3.12" --no-sync --with-requirements requirements.in \
pytest -ra -q less_slow.py
```

Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Core dependencies
pytest
pytest-benchmark
pytest-benchmark @ git+https://github.com/ionelmc/pytest-benchmark.git@master

# Numerics
numpy
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pytest==8.3.4
# via
# -r requirements.in
# pytest-benchmark
pytest-benchmark==5.1.0
pytest-benchmark @ git+https://github.com/ionelmc/pytest-benchmark.git@e1c4371f0988f9919bd15afdbadf4bd595adbc7a
# via -r requirements.in
python-dateutil==2.9.0.post0
# via pandas
Expand Down

0 comments on commit bb7acc6

Please sign in to comment.