- Solved
- Archived
slow graphic function canvascontext.createLinearGradient()
Hello together, when implementing canvas graphics with 2D context, I notified that the latest FF 87.0 on windows is much slower than chrome/edge/opera on windows and als… (read more)
Hello together,
when implementing canvas graphics with 2D context, I notified that the latest FF 87.0 on windows is much slower than chrome/edge/opera on windows and also much slower as safari on mac. I drilled into detail and detected that it was caused when drawing polygons with color gradient (see attached image). Means that using canvascontext.createLinearGradient() instead of flat colors makes it slow. On the other hand using flat colors is perfectly fast.
I wondered, because I had much better experience with FF and installed an earlier version (78.9.0esr) on the same windows workstation and the problem was gone. Seams, that some change made the newer FF slower with this type of graphic..
CPU is i7 8650U 1.90 - 2.11 GHZ, OS is Windows 10 version 20H2
But the effect is the same on all windows workstations I tested. Would be happy to see, that I can use FF again with these type of graphic apps.