Skip to content

Commit

Permalink
CI: add short python oneliner for displaying system info
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlstrm committed May 11, 2024
1 parent 3f082f5 commit bd8adee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ jobs:
- name: Benchmark
if: matrix.os != 'windows-latest'
run: |
python -c "import platform, os; print('OS:', platform.system(), platform.release(), 'Architecture:', platform.machine(), 'CPU threads:', os.cpu_count())"
hyperfine --warmup 0 --runs 5 "./target/release/brc-rs"
- name: Benchmark
if: matrix.os == 'windows-latest'
run: |
python -c "import platform, os; print('OS:', platform.system(), platform.release(), 'Architecture:', platform.machine(), 'CPU threads:', os.cpu_count())"
hyperfine --warmup 0 --runs 5 "target\release\brc-rs.exe"

0 comments on commit bd8adee

Please sign in to comment.