Open
Conversation
Allow changing the score profile on the fly from the results and graph pages and update computed results, graphs, etc. immediately. This also affects the data that's used as the source for the "Show Debug Info" and downloaded JSON.
✅ Deploy Preview for webkit-motionmark-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Author
smfr
reviewed
Mar 9, 2026
| return this.s1 + this.t1 * complexity; | ||
| } | ||
|
|
||
| _windowedFit(samples, desiredFrameLength, windowSize, strict) |
Contributor
There was a problem hiding this comment.
I get some very long hangs when this JS is running (multiple seconds), so I think we should show a spinner when changing scores, and maybe find way to optimize this JS.
We should also cache the results so that flipping between graphs doesn't involve 20s hangs every time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Experimental windowed score functions.
This adds "Windowed" and "Windowed Strict" score modes, that can be selected from the Developer page.
Windowed = the best score over a 10% window of samples, reaching 90% or more of the target framerate.
Windowed Strict = the best score over a 10% window of samples, searching from lowest-to-highest complexity, that never drops below 90% of the target framerate.
Note: this is a rebased version of vmiura's PR #89