Skip to content

Commit

Permalink
Merge pull request #6 from bodo-run/run-in-parallel
Browse files Browse the repository at this point in the history
feat: run serialization in parallel
  • Loading branch information
mohsen1 authored Jan 19, 2025
2 parents 5ef3504 + 8a6e6af commit fbd5dd3
Show file tree
Hide file tree
Showing 6 changed files with 688 additions and 193 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
cargo bench --bench serialization --no-run
- name: Compare benchmarks
run: cargo bench --bench serialization -- --baseline main --significance-threshold 5
run: cargo bench --bench serialization -- --baseline main --noise-threshold 2

- name: Upload benchmark results
uses: actions/upload-artifact@v3
Expand Down
4 changes: 1 addition & 3 deletions benches/serialization.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
use criterion::{
black_box, criterion_group, criterion_main, BatchSize, BenchmarkId, Criterion, Throughput,
};
use criterion::{black_box, criterion_group, criterion_main, BatchSize, Criterion, Throughput};
use rand::{distributions::Alphanumeric, Rng};
use std::fs::{self, File};
use std::io::Write;
Expand Down
Loading

0 comments on commit fbd5dd3

Please sign in to comment.