Skip to content

Commit 8577e4c

Browse files
add comment as to when we don't benchmark the vercel-commerce app
1 parent 552fd68 commit 8577e4c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

benchmarking/src/cloudflare.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,16 @@ export async function collectAppPathsToBenchmark(): Promise<
2121
> {
2222
const allExampleNames = await nodeFsPromises.readdir("../examples");
2323

24-
const examplesToIgnore = new Set(["vercel-commerce"]);
24+
/**
25+
* Example applications that we don't want to benchmark
26+
*
27+
* Currently we only want to skip the `vercel-commerce` example, and that's simply
28+
* because it requires a shopify specific setup and secrets.
29+
*/
30+
const exampleAppsNotToBenchmark = new Set(["vercel-commerce"]);
2531

2632
const examplePaths = allExampleNames
27-
.filter((exampleName) => !examplesToIgnore.has(exampleName))
33+
.filter((exampleName) => !exampleAppsNotToBenchmark.has(exampleName))
2834
.map((exampleName) => ({
2935
name: exampleName,
3036
path: nodePath.resolve(`../examples/${exampleName}`),

0 commit comments

Comments
 (0)