Skip to content

Commit

Permalink
fix: avoid transferring traces to JS (#5139)
Browse files Browse the repository at this point in the history
  • Loading branch information
agostbiro authored and fvictorio committed Apr 22, 2024
1 parent 9be7023 commit 3c647b1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion crates/tools/js/benchmark/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,15 @@ function numIterations(scenarioName) {
// Run fast scenarios repeatedly to get more reliable results
if (scenarioName.includes("safe-contracts")) {
return 15;
} else if (scenarioName.includes("seaport")) {
} else if (
scenarioName.includes("seaport") ||
scenarioName.includes("openzeppelin") ||
scenarioName.includes("rocketpool") ||
scenarioName.includes("uniswap")
) {
return 5;
} else if (scenarioName.includes("neptune-mutual")) {
return 3;
} else {
return 1;
}
Expand Down

0 comments on commit 3c647b1

Please sign in to comment.