| 1 | // Per-file profiler for finding candidate test-speed work; see ../../perf/test-suite.md |
| 2 | // for the benchmark notes, kept wins, and discarded experiments. |
| 3 | // Example: TEST_PROFILE_GLOB='test/server/**/*.test.ts' TEST_PROFILE_TOP=15 bun run profile:test |
| 4 | const pattern = Bun.env.TEST_PROFILE_GLOB ?? "test/**/*.test.{ts,tsx}" |