Skip to content

Commit

Permalink
feat: add predictability v8 engine flags
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Apr 12, 2023
1 parent 17c9f2c commit e3f7c1c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.js.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ const run = async (inputs: ActionInputs): Promise<{profileFolder: string}> => {
...process.env,
PYTHONMALLOC: "malloc",
PYTHONHASHSEED: "0",
CODSPEED_V8_FLAGS: [
"--hash-seed=1",
"--random-seed=1",
"--no-randomize-hashes",
"--no-scavenge-task",
"--no-opt ",
"--predictable ",
"--predictable-gc-schedule",
].join(" "),
ARCH: arch,
CODSPEED_ENV: "github",
},
Expand Down

0 comments on commit e3f7c1c

Please sign in to comment.