Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51161

Blue Ocean spinner animation uses 100% CPU

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Blue Ocean 1.6 - beta 2, Blue Ocean - 1.6 - beta 4

      The new blue ocean spinner animation for running builds creates 100% CPU usage in Chrome on my laptop, making it last ~2 hours on battery instead of 10.

      The speed of the machine almost doesn't matter, it'll try to make the animation as smooth as possible.

      Note this is a common problem with lots of software; Chromium had this issue with their tab notification highligts, Firefox had this problem with their spinner.

      The solution is always to cap the speed of the spinner animation (e.g. to 25 FPS), or to use an animation that is designed to looks good at low FPS (e.g. using a "segmented" spinner like this one.

            nicu Nicolae Pascu
            nh2 Niklas Hambuechen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: