Skip to content

Commit 9d564a4

Browse files
authored
Switch perf to the new perf infra (#30)
1 parent 6b95e7c commit 9d564a4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

GithubCommentReader/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,7 @@ function action(task, relationships = ["MEMBER", "OWNER", "COLLABORATOR"], prOnl
304304
const commands = (/** @type {Map<RegExp, CommentAction>} */(new Map()))
305305
.set(/run dt slower/, action(async (request, log) => await makeNewBuildWithComments(request, "Definitely Typed test suite", 18, log)))
306306
.set(/pack this/, action(async (request, log) => await makeNewBuildWithComments(request, "tarball bundle task", 19, log)))
307-
.set(/perf test(?: this)?(?! this)(?! faster)/, action(async (request, log) => await makeNewBuildWithComments(request, "perf test suite", 22, log, p => ({...p, queue: { id: 22 }}))))
308-
.set(/perf test(?: this)? faster/, action(async (request, log) => await makeNewBuildWithComments(request, "abridged perf test suite", 45, log, p => ({...p, queue: { id: 22 }}))))
309-
.set(/new perf test(?: this)?(?: (\S+)?)?/, action(async (request, log, match) => {
307+
.set(/(?:new )?perf test(?: this)?(?: (\S+)?)?/, action(async (request, log, match) => {
310308
let preset = match[1] || "regular";
311309
if (preset === "faster") preset = "tsc-only";
312310

0 commit comments

Comments
 (0)