Skip to content

Commit

Permalink
bench uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
loloicci committed Apr 17, 2024
1 parent 4cb5358 commit b81309b
Show file tree
Hide file tree
Showing 16 changed files with 2,475 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ docker run --rm -v "$(pwd)":/code \
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="devcontract_cache_bench_sha1",target=/code/contracts/bench-sha1/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.12.9 ./contracts/bench_sha1
cosmwasm/rust-optimizer:0.12.9 ./contracts/bench-sha1

docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="devcontract_cache_bench_uuid",target=/code/contracts/bench-uuid/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.12.9 ./contracts/bench-uuid
```

## Entry points
Expand Down
6 changes: 6 additions & 0 deletions contracts/bench-uuid/.cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[alias]
wasm = "build --release --target wasm32-unknown-unknown"
wasm-debug = "build --target wasm32-unknown-unknown"
unit-test = "test --lib"
integration-test = "test --test integration"
schema = "run --example schema"
Loading

0 comments on commit b81309b

Please sign in to comment.