yutannihilation commented on PR #183:
URL: https://github.com/apache/sedona-db/pull/183#issuecomment-3374884723
Hmm, before adding the case, it seems all benchmark tests are skipped on my
local.
```
❯ pytest test_functions.py::TestBenchFunctions
======================================= test session starts
=======================================
platform darwin -- Python 3.12.9, pytest-8.4.2, pluggy-1.6.0
benchmark: 5.1.0 (defaults: timer=time.perf_counter disable_gc=False
min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10
warmup=False warmup_iterations=100000)
rootdir: /Users/yutani/repo/sedona-db/benchmarks
plugins: benchmark-5.1.0
collected 57 items
test_functions.py sssssssssssssssssssssssssssssssssssssssssssssssssssssssss
[100%]
======================================= 57 skipped in 1.13s
=======================================
```
Here's what I did. Am I missing some steps? Since I'm not very good at
Python, I might make some silly mistake...
```sh
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install "python/sedonadb[test]" pytest pytest-benchmark
cd benchmarks
pytest test_functions.py::TestBenchFunctions
```
> I'd expect to see some appealing numbers compared to DuckDB.
Since DuckDB's `ST_Azimuth()` is also implemented by me, you can blame me if
DuckDB is not slow enough :) Anyway, looking forward to seeing the result!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]