mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? Configure codspeed ### Why? To track performance changes of small functions correctly. ### How? --------- Co-authored-by: Benjamin Woodruff <[email protected]>
9 lines
335 B
Bash
Executable File
9 lines
335 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
|
|
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|
|
|
WS_CRATES="$("$SCRIPT_DIR"/get-workspace-crates.sh)"
|
|
echo "$WS_CRATES" | jq -r -c '[.[] | select(.targets[] | .kind | contains(["bench"])) | .name] | sort | unique' | jq -r -c '[.[] | select(. != "napi" and . != "wasm")]'
|