webgl-gate 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Skip your WebGL bundle when the page is drawn by the CPU.
|
|
4
4
|
|
|
5
|
+
<p align="center">
|
|
6
|
+
<img src="https://raw.githubusercontent.com/Alexkutsenko95/webgl-gate/main/assets/webgl-gate-card.png" width="600" alt="Probe time in headless Chrome: 10 to 24 ms on a real GPU, so the scene loads; 1.4 to 1.7 s on SwiftShader, the CPU rasterizer PageSpeed uses, so the scene bundle is never downloaded.">
|
|
7
|
+
</p>
|
|
8
|
+
|
|
5
9
|
Lighthouse and PageSpeed Insights measure mobile pages on **SwiftShader**, a software rasterizer. So do many
|
|
6
10
|
virtual machines and remote desktops, and so does any browser with hardware acceleration switched off. There a
|
|
7
11
|
PixiJS or three.js scene doesn't just run slowly. Downloading and parsing its bundle alone costs main-thread time,
|
package/package.json
CHANGED