Make the colors used in Canvas Lines, Arcs and Paths non-opaque. by smfr · Pull Request #108 · WebKit/MotionMark
Navigation Menu
{{ message }}
WebKit / MotionMark Public
- Notifications You must be signed in to change notification settings
- Fork 27
Open
smfr wants to merge 1 commit intoWebKit:mainfrom
Open
Make the colors used in Canvas Lines, Arcs and Paths non-opaque.#108
smfr wants to merge 1 commit intoWebKit:mainfrom
Make the colors used in Canvas Lines, Arcs and Paths non-opaque.#108
smfr wants to merge 1 commit intoWebKit:mainfrom
Conversation
Copy link Copy Markdown
Contributor
smfr
commented
Mar 9, 2026
smfr
commented
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.
Copy link Copy Markdown
✅ 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 |
To edit notification comments on pull requests, go to your Netlify project configuration.
Copy link Copy Markdown
jrmuizel
commented
Mar 9, 2026
jrmuizel commented
Mar 9, 2026I 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.
Copy link Copy Markdown
Contributor Author
smfr
commented
Mar 10, 2026
smfr commented
Mar 10, 2026I was testing Paths, not Lines.
Copy link Copy Markdown
Contributor Author
smfr
commented
Mar 10, 2026
smfr commented
Mar 10, 2026On 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.
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