mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-06-10 07:09:48 +08:00
16 lines
340 B
Bash
Executable File
16 lines
340 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CURRENT_BRANCH=$(git rev-parse --short HEAD)
|
|
BASELINE_BRANCH=${BASELINE_BRANCH:="next"}
|
|
|
|
# Gather baseline perf measurements
|
|
git checkout "$BASELINE_BRANCH";
|
|
npx reassure measure --baseline
|
|
|
|
# Gather current perf measurements
|
|
git checkout "$CURRENT_BRANCH";
|
|
npx reassure measure
|
|
|
|
# Compare results
|
|
npx reassure compare
|