Skip to content

Commit

Permalink
add windows timings
Browse files Browse the repository at this point in the history
  • Loading branch information
sevas committed Aug 15, 2023
1 parent ef7871e commit c28ddd3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ rustpy: rust/src/$(wildcard *.rs)
bench:
python -m pytest tests/ -v --benchmark-histogram

report: bench
report-macos: bench
qlmanage -t -s 2028 *.svg -o .

report-win: bench
inkscape -w 1024 *.svg -o benchmark_windows.png # requires inkscape

19 changes: 18 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This is purely educational and not made to be a production-ready library.

## Timings

### Macbook Air M2
### MacOS, Macbook Air M2 (2022)
![benchmark_20230815_130412.svg.png](media%2Fbenchmark_20230815_130412.svg.png)

```text
Expand All @@ -45,6 +45,23 @@ test_benchmarkproject_points[project_points_cv] 5,152.7080 (68.51)
```

### Windows, Intel Core i5-7500 CPU @ 3.40GHz


```text
---------------------------------------------------------------------------------------------------------------- benchmark: 5 tests ---------------------------------------------------------------------------------------------------------------
Name (time in us) Min Max Mean StdDev Median IQR Outliers OPS Rounds Iterations
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_benchmarkproject_points[project_points_nb] 286.9001 (1.0) 382.4000 (1.0) 337.5200 (1.0) 41.9242 (1.0) 349.7000 (1.16) 74.5749 (7.85) 2;0 2,962.7871 (1.0) 5 1
test_benchmarkproject_points[project_points_nb_parfor] 287.3000 (1.00) 531.5000 (1.39) 347.9800 (1.03) 103.8021 (2.48) 302.5001 (1.0) 88.6500 (9.33) 1;1 2,873.7282 (0.97) 5 1
test_benchmarkproject_points[project_points_rs] 326.8999 (1.14) 3,095.9001 (8.10) 358.1250 (1.06) 120.7205 (2.88) 336.7000 (1.11) 9.5000 (1.0) 55;218 2,792.3210 (0.94) 1531 1
test_benchmarkproject_points[project_points_np] 1,948.3999 (6.79) 5,246.8000 (13.72) 3,119.9148 (9.24) 430.1179 (10.26) 3,083.7000 (10.19) 255.0998 (26.85) 66;61 320.5216 (0.11) 366 1
test_benchmarkproject_points[project_points_cv] 15,761.0000 (54.94) 33,150.4000 (86.69) 18,445.3739 (54.65) 3,425.0722 (81.70) 17,590.1001 (58.15) 956.9500 (100.73) 1;5 54.2141 (0.02) 23 1
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
```

## License
Expand Down

0 comments on commit c28ddd3

Please sign in to comment.