mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
49b000831a
### What? Configure codspeed ### Why? To track performance changes of small functions correctly. ### How? --------- Co-authored-by: Benjamin Woodruff <benjamin.woodruff@vercel.com>
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")]'
|