Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
danking committed Dec 11, 2024
1 parent e41e57a commit 6522e4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ jobs:
cargo criterion \
--bench ${{ matrix.benchmark.id }} \
--message-format=json \
| bash scripts/coerce-criterion-json.sh |
> ${{ matrix.benchmark.id }}-raw.json
cat ${{ matrix.benchmark.id }}-raw.json \
| bash scripts/coerce-criterion-json.sh \
> ${{ matrix.benchmark.id }}.json
- name: Setup AWS CLI
Expand Down
2 changes: 1 addition & 1 deletion bench-vortex/src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub fn render_table(all_measurements: Vec<Measurement>, formats: &[Format]) -> a

pub fn print_measurements_json(all_measurements: Vec<Measurement>) -> anyhow::Result<()> {
for measurement in all_measurements {
println!("{}", serde_json::to_string(&mesaurement.to_json()))
println!("{}", serde_json::to_string(&measurement.to_json())?)
}

Ok(())
Expand Down

0 comments on commit 6522e4b

Please sign in to comment.