Make the colors used in Canvas Lines, Arcs and Paths non-opaque. by smfr · Pull Request #108 · WebKit/MotionMark

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@smfr

Copy link Copy Markdown

Contributor

@smfr smfr commented

Mar 9, 2026

This gives all the colors alpha of about 96% alpha.

This is experimental only, to allow for testing.

This gives all the colors alpha of about 96% alpha.

@netlify

Copy link Copy Markdown

netlify bot commented

Mar 9, 2026

edited

Loading

Deploy Preview for webkit-motionmark-preview ready!

Name Link
🔨 Latest commit d344013
🔍 Latest deploy log https://app.netlify.com/projects/webkit-motionmark-preview/deploys/69af2bf8b7b99d0008ea130e
😎 Deploy Preview https://deploy-preview-108--webkit-motionmark-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.

@jrmuizel

Copy link Copy Markdown

jrmuizel commented

Mar 9, 2026

I get the same score ~8000 in Firefox in this version of canvas lines as in https://browserbench.org/MotionMark1.3/developer.html

In both cases stroke line is being converted to draw rect. So it's not surprising to me that the performance is roughly the same.

@smfr

Copy link Copy Markdown

Contributor Author

smfr commented

Mar 10, 2026

I was testing Paths, not Lines.

@smfr

Copy link Copy Markdown

Contributor Author

smfr commented

Mar 10, 2026

On my machine with Firefox 148.0.2 I get a score of 4288 on Paths stock, and 11940 on Paths with alpa, a 2.8x increase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@smfr @jrmuizel