mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-15 08:50:40 -08:00
workflows: use arch-specific dev shell
This commit is contained in:
2
.github/workflows/bench-primitives.yml
vendored
2
.github/workflows/bench-primitives.yml
vendored
@@ -67,7 +67,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 🏃🏻♀️ Benchmarks (using Nix as shell)
|
- name: 🏃🏻♀️ Benchmarks (using Nix as shell)
|
||||||
working-directory: ciphers
|
working-directory: ciphers
|
||||||
run: nix develop --command cargo bench -F bench --bench primitives --verbose $RUST_TARGET_FLAG -- --output-format bencher | tee ../bench-primitives.txt
|
run: nix develop ".#devShells.${{ matrix.system }}.default" --command cargo bench -F bench --bench primitives --verbose $RUST_TARGET_FLAG -- --output-format bencher | tee ../bench-primitives.txt
|
||||||
|
|
||||||
- name: Extract benchmarks
|
- name: Extract benchmarks
|
||||||
uses: cryspen/benchmark-data-extract-transform@v2
|
uses: cryspen/benchmark-data-extract-transform@v2
|
||||||
|
|||||||
2
.github/workflows/bench-protocol.yml
vendored
2
.github/workflows/bench-protocol.yml
vendored
@@ -66,7 +66,7 @@ jobs:
|
|||||||
# Benchmarks ...
|
# Benchmarks ...
|
||||||
|
|
||||||
- name: 🏃🏻♀️ Benchmarks
|
- name: 🏃🏻♀️ Benchmarks
|
||||||
run: nix develop --command cargo bench -p rosenpass --bench trace_handshake -F trace_bench --verbose $RUST_TARGET_FLAG >bench-protocol.json
|
run: nix develop ".#devShells.${{ matrix.system }}.default" --command cargo bench -p rosenpass --bench trace_handshake -F trace_bench --verbose $RUST_TARGET_FLAG >bench-protocol.json
|
||||||
|
|
||||||
- name: Upload benchmarks
|
- name: Upload benchmarks
|
||||||
uses: cryspen/benchmark-upload-and-plot-action@v3
|
uses: cryspen/benchmark-upload-and-plot-action@v3
|
||||||
|
|||||||
@@ -30,12 +30,12 @@ pub mod option;
|
|||||||
pub mod result;
|
pub mod result;
|
||||||
/// Time and duration utilities.
|
/// Time and duration utilities.
|
||||||
pub mod time;
|
pub mod time;
|
||||||
|
/// Trace benchmarking utilities
|
||||||
|
#[cfg(feature = "trace_bench")]
|
||||||
|
pub mod trace_bench;
|
||||||
/// Type-level numbers and arithmetic.
|
/// Type-level numbers and arithmetic.
|
||||||
pub mod typenum;
|
pub mod typenum;
|
||||||
/// Zero-copy serialization utilities.
|
/// Zero-copy serialization utilities.
|
||||||
pub mod zerocopy;
|
pub mod zerocopy;
|
||||||
/// Memory wiping utilities.
|
/// Memory wiping utilities.
|
||||||
pub mod zeroize;
|
pub mod zeroize;
|
||||||
/// Trace benchmarking utilities
|
|
||||||
#[cfg(feature = "trace_bench")]
|
|
||||||
pub mod trace_bench;
|
|
||||||
|
|||||||
Reference in New Issue
Block a user