Skip to content

Commit a290d49

Browse files
committed
Add CRoaring benchmark in CI
1 parent 22c18ab commit a290d49

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414

15+
- name: lscpu
16+
run: lscpu
17+
1518
- name: Setup .NET
1619
uses: actions/setup-dotnet@v2
1720
with:
@@ -26,5 +29,8 @@ jobs:
2629
- name: Test
2730
run: dotnet test --no-build --verbosity normal --configuration Release
2831

29-
- name: Benchmark
30-
run: dotnet run -p Equativ.RoaringBitmaps.Benchmarks -c Release -- -f '*Popcnt*'
32+
- name: Benchmark Popcnt
33+
run: dotnet run -p Equativ.RoaringBitmaps.Benchmarks -c Release -- -f '*Popcnt*'
34+
35+
- name: Benchmark against CRoaring
36+
run: dotnet run -p Equativ.RoaringBitmaps.Benchmarks -c Release -- -f '*CRoaring*'

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ Benchmarks include numbers on [Roaring.Net](https://github.com/k-wojcik/Roaring.
3333
Charts are generated using [chartbenchmark.net](https://chartbenchmark.net/).
3434

3535
### Macbook pro M1 (ARM64)
36-
![Performance](Resources/bench_m1.png)
36+
![Performance](Resources/bench_m1.png)
37+
(lower is better)
3738

3839
### How can this be faster than the C implementation?
3940

0 commit comments

Comments
 (0)