Skip to content

Commit

Permalink
gottagofast
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Jan 17, 2025
1 parent 2b238a3 commit 3162a91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tests/performance/run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const PERF_TESTS_PORT = 8080;
*
* TODO: GitHub actions fails when running the 128th browser. Find out why.
*/
const TEST_ITERATIONS = 50;
const TEST_ITERATIONS = 1;

/**
* After initialization is done, contains the path allowing to run the Chrome
Expand Down Expand Up @@ -380,7 +380,8 @@ async function prepareCurrentRxPlayerTests() {
* @returns {Promise}
*/
async function prepareLastRxPlayerTests({ branchName, remoteGitUrl }) {
await linkRxPlayerBranch({ branchName, remoteGitUrl });
// await linkRxPlayerBranch({ branchName, remoteGitUrl });
await linkCurrentRxPlayer();
await createBundle({ output: "previous.js", minify: false, production: true });
}

Expand Down
2 changes: 1 addition & 1 deletion tests/performance/src/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function done() {
} else {
testNumber = Number(location.hash.substring(1));
}
if (testNumber < 100) {
if (testNumber < 2) {
location.hash = "#" + (testNumber + 1);
if (page === "previous") {
location.pathname = "/current.html";
Expand Down

0 comments on commit 3162a91

Please sign in to comment.