Skip to content

Commit

Permalink
Merge pull request #619 from CosmWasm/signed-int-key-bench
Browse files Browse the repository at this point in the history
Signed int key benchmarks
  • Loading branch information
maurolacy authored Jan 3, 2022
2 parents bcb81a5 + 6c22e89 commit cd29409
Show file tree
Hide file tree
Showing 4 changed files with 709 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ workflows:
- package_storage_plus
- lint
- wasm-build
- benchmarking:
requires:
- package_storage_plus
filters:
branches:
only:
# Long living branches
- main
# 👇Add your branch here if benchmarking matters to your work
deploy:
jobs:
- build_and_upload_contracts:
Expand Down Expand Up @@ -662,6 +671,30 @@ jobs:
- target
key: cargocache-v2-storage-plus:1.53.0-{{ checksum "~/project/Cargo.lock" }}

benchmarking:
docker:
- image: rust:1.53.0
environment:
RUST_BACKTRACE: 1
steps:
- checkout:
path: ~/project
- run:
name: Version information (default; stable)
command: rustc --version && cargo --version
- restore_cache:
keys:
- cargocache-v2-benchmarking-rust:1.53.0-{{ checksum "~/project/Cargo.lock" }}
- run:
name: Run storage-plus benchmarks
working_directory: ~/project/packages/storage-plus
command: cargo bench -- --color never --save-baseline
- save_cache:
paths:
- /usr/local/cargo/registry
- target
key: cargocache-v2-benchmarking-rust:1.53.0-{{ checksum "~/project/Cargo.lock" }}

# This job roughly follows the instructions from https://circleci.com/blog/publishing-to-github-releases-via-circleci/
build_and_upload_contracts:
docker:
Expand Down
Loading

0 comments on commit cd29409

Please sign in to comment.