Skip to content

Commit

Permalink
Bench plot
Browse files Browse the repository at this point in the history
  • Loading branch information
ogxd committed Nov 9, 2024
1 parent c69fd44 commit 58d1256
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: rustup default nightly

- name: Benchmark
run: cargo bench --bench throughput --features bench-md
run: cargo bench --bench throughput --features bench-plot

- uses: actions/upload-artifact@v3
with:
Expand All @@ -44,7 +44,7 @@ jobs:
run: rustup default nightly

- name: Benchmark
run: cargo bench --bench throughput --features bench-md,hybrid
run: cargo bench --bench throughput --features bench-plot,hybrid

- uses: actions/upload-artifact@v3
with:
Expand All @@ -65,7 +65,7 @@ jobs:
run: rustup default nightly

- name: Benchmark
run: cargo bench --bench throughput --features bench-md
run: cargo bench --bench throughput --features bench-plot

- uses: actions/upload-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions benches/throughput/result_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ impl ResultProcessor for OutputPlot {
(x_min..x_max)
.log_scale()
.with_key_points(self.series.iter().next().unwrap().1.iter().map(|(x, _)| *x as u32).collect::<Vec<u32>>()),
y_min..y_max
//.log_scale(),
(y_min..y_max)
.log_scale(),
).unwrap();

chart
Expand Down
1 change: 1 addition & 0 deletions src/gxhash/platform/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ pub unsafe fn get_partial_unsafe_no_ub(data: *const State, len: usize) -> State
src = in(reg) data, out("v2") result,
options(nomem, nostack)
);
//let result = load_unaligned(data);
let partial_vector = vandq_s8(result, vreinterpretq_s8_u8(mask));
vaddq_s8(partial_vector, vdupq_n_s8(len as i8))
}
Expand Down

0 comments on commit 58d1256

Please sign in to comment.