Skip to content

Commit

Permalink
MWPW-166838 fixed referential time (#3587)
Browse files Browse the repository at this point in the history
82 was network ressource measure i did, here initTime performance marker duration was 35, which will more than double adjusted limit
  • Loading branch information
npeltier authored Jan 30, 2025
1 parent 4ca2559 commit 63842cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/features/mas/docs/benchmarks.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
//if adjust is set to true, we adjust the limit based on the stored initTime and
//reference time of 82ms it took on a quick network. This way, we should not be
//affected by network speed when comparing benchmarks to limit.
const referentInitialTime = 82.0;
const referentInitialTime = 35.0;
const previousLimit = limit;
if (referentInitialTime < window.initTime) {
limit = limit * window.initTime / referentInitialTime;
Expand Down

0 comments on commit 63842cd

Please sign in to comment.