Skip to content

Commit

Permalink
Change the default measurement method to rAF-based approach (WebKit#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
rniwa committed Jun 30, 2023
1 parent 151d73d commit b44d982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/params.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Params {
// Change how a test measurement is triggered and async time is measured:
// "timer": The classic (as in Speedometer 2.x) way using setTimeout
// "raf": Using rAF callbacks, both for triggering the sync part and for measuring async time.
measurementMethod = "timer"; // or "raf"
measurementMethod = "raf"; // or "timer"
// Wait time before the sync step in ms.
waitBeforeSync = 0;
// Warmup time before the sync step in ms.
Expand Down

0 comments on commit b44d982

Please sign in to comment.