Skip to content

Commit

Permalink
add more benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertdev committed Dec 18, 2024
1 parent 3d70330 commit e2a0bfb
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
- name: Benchmark
run: |
cp target/${{matrix.target}}/release/examples/blogpost-compress .
cp target/${{matrix.target}}/release/examples/blogpost-uncompress .
benchmarker/target/release/benchmarker zlib_benchmarks.json zlib-rs-bench/metrics-${{matrix.name}}.json > bench_results.json
- name: Upload benchmark results to artifacts
uses: actions/upload-artifact@v4
Expand Down
56 changes: 56 additions & 0 deletions zlib_benchmarks.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,70 @@
{
"blogpost-compress-rs": [
"./blogpost-compress 1 rs silesia-small.tar",
"./blogpost-compress 2 rs silesia-small.tar",
"./blogpost-compress 3 rs silesia-small.tar",
"./blogpost-compress 4 rs silesia-small.tar",
"./blogpost-compress 5 rs silesia-small.tar",
"./blogpost-compress 6 rs silesia-small.tar",
"./blogpost-compress 7 rs silesia-small.tar",
"./blogpost-compress 8 rs silesia-small.tar",
"./blogpost-compress 9 rs silesia-small.tar"
],
"blogpost-compress-ng": [
"./blogpost-compress 1 ng silesia-small.tar",
"./blogpost-compress 2 ng silesia-small.tar",
"./blogpost-compress 3 ng silesia-small.tar",
"./blogpost-compress 4 ng silesia-small.tar",
"./blogpost-compress 5 ng silesia-small.tar",
"./blogpost-compress 6 ng silesia-small.tar",
"./blogpost-compress 7 ng silesia-small.tar",
"./blogpost-compress 8 ng silesia-small.tar",
"./blogpost-compress 9 ng silesia-small.tar"
],
"blogpost-uncompress-rs": [
"./blogpost-uncompress rs-chunked 4 silesia-small.tar",
"./blogpost-uncompress rs-chunked 5 silesia-small.tar",
"./blogpost-uncompress rs-chunked 6 silesia-small.tar",
"./blogpost-uncompress rs-chunked 7 silesia-small.tar",
"./blogpost-uncompress rs-chunked 8 silesia-small.tar",
"./blogpost-uncompress rs-chunked 9 silesia-small.tar",
"./blogpost-uncompress rs-chunked 10 silesia-small.tar",
"./blogpost-uncompress rs-chunked 11 silesia-small.tar",
"./blogpost-uncompress rs-chunked 12 silesia-small.tar",
"./blogpost-uncompress rs-chunked 13 silesia-small.tar",
"./blogpost-uncompress rs-chunked 14 silesia-small.tar",
"./blogpost-uncompress rs-chunked 15 silesia-small.tar",
"./blogpost-uncompress rs-chunked 16 silesia-small.tar",
"./blogpost-uncompress rs-chunked 17 silesia-small.tar",
"./blogpost-uncompress rs-chunked 18 silesia-small.tar",
"./blogpost-uncompress rs-chunked 19 silesia-small.tar",
"./blogpost-uncompress rs-chunked 20 silesia-small.tar",
"./blogpost-uncompress rs-chunked 21 silesia-small.tar",
"./blogpost-uncompress rs-chunked 22 silesia-small.tar",
"./blogpost-uncompress rs-chunked 23 silesia-small.tar",
"./blogpost-uncompress rs-chunked 24 silesia-small.tar"
],
"blogpost-uncompress-ng": [
"./blogpost-uncompress ng-chunked 4 silesia-small.tar",
"./blogpost-uncompress ng-chunked 5 silesia-small.tar",
"./blogpost-uncompress ng-chunked 6 silesia-small.tar",
"./blogpost-uncompress ng-chunked 7 silesia-small.tar",
"./blogpost-uncompress ng-chunked 8 silesia-small.tar",
"./blogpost-uncompress ng-chunked 9 silesia-small.tar",
"./blogpost-uncompress ng-chunked 10 silesia-small.tar",
"./blogpost-uncompress ng-chunked 11 silesia-small.tar",
"./blogpost-uncompress ng-chunked 12 silesia-small.tar",
"./blogpost-uncompress ng-chunked 13 silesia-small.tar",
"./blogpost-uncompress ng-chunked 14 silesia-small.tar",
"./blogpost-uncompress ng-chunked 15 silesia-small.tar",
"./blogpost-uncompress ng-chunked 16 silesia-small.tar",
"./blogpost-uncompress ng-chunked 17 silesia-small.tar",
"./blogpost-uncompress ng-chunked 18 silesia-small.tar",
"./blogpost-uncompress ng-chunked 19 silesia-small.tar",
"./blogpost-uncompress ng-chunked 20 silesia-small.tar",
"./blogpost-uncompress ng-chunked 21 silesia-small.tar",
"./blogpost-uncompress ng-chunked 22 silesia-small.tar",
"./blogpost-uncompress ng-chunked 23 silesia-small.tar",
"./blogpost-uncompress ng-chunked 24 silesia-small.tar"
]
}

0 comments on commit e2a0bfb

Please sign in to comment.