Skip to content

Conversation

@kmiller68
Copy link
Contributor

Right now when the score goes up the scatter plots go down. This is a bit confusing since a higher score is better. I think it would be clearer if the plots reflected this.

Right now when the score goes up the scatter plots go down. This is a
bit confusing since a higher score is better. I think it would be
clearer if the plots reflected this.
@netlify
Copy link

netlify bot commented Jan 13, 2026

Deploy Preview for webkit-jetstream-preview ready!

Name Link
🔨 Latest commit e12665f
🔍 Latest deploy log https://app.netlify.com/projects/webkit-jetstream-preview/deploys/6967981099c3ac0008aeef05
😎 Deploy Preview https://deploy-preview-254--webkit-jetstream-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kmiller68
Copy link
Contributor Author

Screenshot 2026-01-13 at 6 30 06 PM

With the change in this PR the charts look like

@danleh
Copy link
Contributor

danleh commented Jan 14, 2026

I guess the underlying potential confusion here is that the scatter plot shows iteration times not scores. I do like however the absolute times instead of scores for quick debugging or judging tier-up behavior. Maybe we should simply add a label below or a y-axis label mentioning "times in ms" or so (right now only shown on hover)? I am not a big fan of inverting the y-axis, that's quite unconventional for times, no?

Copy link
Contributor

@danleh danleh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, now it makes more sense: The scatter plot also shows scores, where higher is better (as you wanted). One nit to show raw time on hover.

const cx = padding + i * xRatio;
const cy = height - padding - (result - minResult) * yRatio;
const title = `Iteration ${i + 1}: ${uiFriendlyDuration(result)}`;
const title = `Iteration ${i + 1}: ${uiFriendlyScore(result)}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we print Iteration 1: x ms, score y maybe, so have both available (and it's only on hover, so not cluttering for those that only care about the quick visual impression).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call sure

@kmiller68
Copy link
Contributor Author

I guess the underlying potential confusion here is that the scatter plot shows iteration times not scores. I do like however the absolute times instead of scores for quick debugging or judging tier-up behavior. Maybe we should simply add a label below or a y-axis label mentioning "times in ms" or so (right now only shown on hover)? I am not a big fan of inverting the y-axis, that's quite unconventional for times, no?

I just changed it to use scores instead of times. I guess I was inverting the times rather than fixing the scores, which is silly although both are normalized anyway.

@kmiller68 kmiller68 merged commit b065e59 into WebKit:main Jan 14, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants