Comments (8)
It's very bizarre that Chrome DevTools and PageSpeed Insights are giving such different results for this. I've filed an issue in the Lighthouse repository: GoogleChrome/lighthouse#14301. Hopefully they can shed some light on it.
from cobe.
This is definitely critical and it's what COBE was made for. I think COBE should be way more performant than most of WebGL solutions out there. It's strange to have only 47, because it scored 100 for me:
from cobe.
Btw let me know if there's anything I can help, if you decide to go with this library :)
from cobe.
They said it's because the web-based PageSpeed Insights tool just runs WebGL with software rendering and there's a ticket to track that: GoogleChrome/lighthouse#8557
I wonder if there's a way to detect if hardware rendering is enabled and only display the animation on https://cobe.vercel.app/ if it is?
from cobe.
This means every WebGL page will have the issue with PageSpeed Insights then. Personally I don’t think it makes sense to hack it to bypass performance measurement tools (because it can’t represent the real world usage then). But yeah you can for sure render a static image instead of this component if hardware rendering isn’t supported.
from cobe.
I guess the question is what will you want to show to a real user if they don't have hardware acceleration. I agree we shouldn't special case performance measurement tools. I'm not sure what the experience on a non-accelerated machine would be generally though and whether it still makes sense to show the animation in that case
from cobe.
Yep! In our product we show a video of that same rotating globe if WebGL isn't supported, I think it works great in this case too.
from cobe.
Cool. Thanks for the help!
from cobe.
Related Issues (20)
- Custom marker shape? HOT 1
- draggable with vue? HOT 5
- Slow performance on mobile HOT 5
- Country / area glow? HOT 1
- Performance problem | GPU HOT 1
- Rotate to Location on Vue.js HOT 1
- Offset options not working HOT 3
- Marker onClick or onHover event? HOT 2
- Auto rotate plus draggable HOT 1
- draggable & rotate-to-location with Vanilla js HOT 4
- Why does my site slow down
- Auto rotate something like blink HOT 2
- the package is not wroking with vue2 / nuxt js. HOT 6
- Cobe's playground https://cobe-playground.vercel.app/ broken on Chrome. HOT 1
- Unique marker colors HOT 3
- Increased recalculations per second (+CPU usage etc.) when used with other animations HOT 2
- Wrong Page Redirect in Draggable and Rotate Showcase
- Cannot read properties of `null` (reading 'enable') - When hardware acceleration is disabled HOT 2
- Earth drawing error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cobe.