Skip to content

Commit

Permalink
Merge branch 'master' of github.com:moondance-labs/tanssi into refact…
Browse files Browse the repository at this point in the history
…or/switch-biome
  • Loading branch information
timbrinded committed Feb 5, 2025
2 parents d7bbe22 + fc0f70e commit e8ab9b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/benchmarking.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ function choose_and_bench {
function bench {
OUTPUT="${OUTPUT_PATH}/${1}.rs"
echo "benchmarking '${1}::${2}' --check=${3}, writing results to '${OUTPUT}'"
touch "$OUTPUT"
# Check enabled
if [[ "${3}" -eq 1 ]]; then
STEPS=16
Expand All @@ -100,6 +99,7 @@ function bench {
MODIFIED_PALLET_FILE=${PALLET/::/_}
OUTPUT="${OUTPUT_PATH}/$MODIFIED_PALLET_FILE.rs"
fi
touch "$OUTPUT"
WASMTIME_BACKTRACE_DETAILS=1 ${BINARY} benchmark pallet \
--execution=wasm \
--wasm-execution=compiled \
Expand All @@ -120,6 +120,7 @@ function bench {
MODIFIED_PALLET_FILE=${1/::/_}
OUTPUT="${OUTPUT_PATH}/$MODIFIED_PALLET_FILE.rs"
fi
touch "$OUTPUT"
WASMTIME_BACKTRACE_DETAILS=1 ${BINARY} benchmark pallet \
--execution=wasm \
--wasm-execution=compiled \
Expand Down

0 comments on commit e8ab9b1

Please sign in to comment.