Skip to content

chore: try to run benchtop #3

chore: try to run benchtop

chore: try to run benchtop #3

Workflow file for this run

name: Benchtop
on:
push:
branches:
- master
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
bench:
name: NOMT - run benchtop
runs-on: ubuntu-latest
env:
SIZE: 22
BUCKETS: 4000000
RUST_BACKTRACE: 1
steps:
- uses: actions/checkout@v4
- run: df -h /
- run: |
cargo build --release --verbose --manifest-path=benchtop/Cargo.toml
# Clean up everything except the binary we need
mv target/release/benchtop /tmp/benchtop
# Clean cargo artifacts and caches
cargo clean
rm -rf ~/.cargo/registry
rm -rf ~/.cargo/git
rm -rf ~/.rustup
# Restore just our binary
mkdir -p target/release
mv /tmp/benchtop target/release/benchtop
- run: >-
./target/release/benchtop init
-b nomt
-c $SIZE
-w transfer
--buckets $BUCKETS
- run: >-
./target/release/benchtop run
-w transfer
-b nomt
-s 10000
-c $SIZE
--time-limit 30s
--workload-concurrency 6