GithubHelp home page GithubHelp logo

Comments (3)

nibbydev avatar nibbydev commented on May 25, 2024

Cheers!
Do you mean the progress bars on the prices or the leagues page?

from poewatch.

coldino avatar coldino commented on May 25, 2024

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.

nibbydev avatar nibbydev commented on May 25, 2024

Fixed in dev branch and live environment.
Ty for the heads up!

from poewatch.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.