We made some measurements of HTML 5 Canvas drawing performance using http://www.kevs3d.co.uk/dev/canvasmark/ and we noticed that we got a much higher performance out of Linux than Windows:
╔═════════════════════╦═══════╦═════════╦════════════╗
║ CPU short ║ Score ║ OS ║ Browser ║
╠═════════════════════╬═══════╬═════════╬════════════╣
║ Intel i7-4790 ║ 13309 ║ Linux ║ Firefox 70 ║
║ Intel i7-4790 ║ 13323 ║ Linux ║ Chrome 77 ║
║ Intel i5-8400 ║ 13172 ║ Linux ║ Firefox 70 ║
║ Intel i5-8400 ║ 11873 ║ Linux ║ Chrome 77 ║
║ Intel Pentium G2030 ║ 4863 ║ Windows ║ Firefox 69 ║
║ Intel Pentium G2030 ║ 5380 ║ Windows ║ IE 11 ║
║ Intel Core i7-4770S ║ 6146 ║ Windows ║ Firefox 69 ║
║ Intel Core i3-6100 ║ 8387 ║ Windows ║ Firefox 69 ║
║ Ryzen 7 1700 ║ 9100 ║ Windows ║ Firefox 70 ║
║ Ryzen 7 1700 ║ 12897 ║ Linux ║ Firefox 70 ║
║ Ryzen 7 1700 ║ 10870 ║ Linux ║ Chrome ║
╚═════════════════════╩═══════╩═════════╩════════════╝
Questions
- What is the reason for this discrepancy?
- Is there some way to get the same performance under Windows than Linux?
- The Ryzen 7 has an Nvidia 1070Ti GPU while the other only have internal GPUs but it is slower than even the 5 year old i7-4790. Is there some way to enable GPU acceleration for Canvas and why is the Ryzen so slow?