Comments (3)
Cheers!
Do you mean the progress bars on the prices
or the leagues
page?
from poewatch.
Ah! Didn't realise the leagues progress was live until now. I was talking about the one on the prices page that you can turn on/off. Even though the interval in the leagues page is doing significantly more its CPU usage is actually lower because layout is not affected.
Previous testing has been in Chrome. Just tested in Edge and both pages have good performance there already. Chrome just needs a little help.
Here's a fix:
#progressbar-live {
width: 100%;
transform-origin: left;
animation-duration: 60s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@keyframes progressbar-live {
from {transform: scaleX(0)}
to {transform: scaleX(1)}
}
Drops CPU usage from 50% of one core to purely background levels.
from poewatch.
Fixed in dev branch and live environment.
Ty for the heads up!
from poewatch.
Related Issues (7)
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 poewatch.