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

Massive slowdown with Firefox due to usage of locale and time formatting (js) when using Pipeline Stage View Plugin

      Hi,

      I'm experiencing massive slowdown with Jenkins in its web interface.

      I've had a quick look and it seems to be related to ICU's usage for formatting date and time.

      Here's a Firefox profile:

      https://share.firefox.dev/47mWWnJ

      We are currently using Jenkins version 2.427

      Cheers,

      Alex

          [JENKINS-72308] Massive slowdown with Firefox due to usage of locale and time formatting (js) when using Pipeline Stage View Plugin

          Alexandre created issue -
          Alexandre made changes -
          Description Original: Hi,

          I'm experiencing massive slowdown with Jenkins in its web interface.

          I've had a quick look and it seems to be related to ICU's usage for formatting date and time.

          Here's a Firefox profile:

          [https://profiler.firefox.com/public/50xssfjvw3p09ndr0bg6z1m6vsadg82pseet50r/calltree/?globalTrackOrder=01&thread=2&v=10]

          We are currently using Jenkins version 2.427

          Cheers,

          Alex
          New: Hi,

          I'm experiencing massive slowdown with Jenkins in its web interface.

          I've had a quick look and it seems to be related to ICU's usage for formatting date and time.

          Here's a Firefox profile:

          https://share.firefox.dev/47mWWnJ

          We are currently using Jenkins version 2.427

          Cheers,

          Alex

          Alexandre added a comment -

          Maybe the problem is that the js code creates a formatter each time it needs one.

          If so, one solution could be to have a single global formatter that you can re-use.

          Alexandre added a comment - Maybe the problem is that the js code creates a formatter each time it needs one. If so, one solution could be to have a single global formatter that you can re-use.

          Mark Waite added a comment -

          I installed Firefox 119.0.1 on my Windows computer and did not see any slowdown on the Jenkins 2.426.1 release candidate that I'm using. I did not see any slowdown on Jenkins 2.414.3 using ci.jenkins.io with Firefox 119.0.1.

          Can you describe your configuration in more detail so that others can duplicate the issue?

          Mark Waite added a comment - I installed Firefox 119.0.1 on my Windows computer and did not see any slowdown on the Jenkins 2.426.1 release candidate that I'm using. I did not see any slowdown on Jenkins 2.414.3 using ci.jenkins.io with Firefox 119.0.1. Can you describe your configuration in more detail so that others can duplicate the issue?

          Markus Winter added a comment -

          Could it be that you see this slowdown when looking a the full log of a run that has timestamps enabled, where the log is big (>5MiB)?

          Markus Winter added a comment - Could it be that you see this slowdown when looking a the full log of a run that has timestamps enabled, where the log is big (>5MiB)?

          Alexandre added a comment -

          Which information exactly do you need?
          I run an up to date archlinux.
          My locale is `en_US.UTF-8`.

          Alexandre added a comment - Which information exactly do you need? I run an up to date archlinux. My locale is `en_US.UTF-8`.

          Alexandre added a comment -

          I get the slowdown when looking at the build overview, not even displaying a single log.

          Alexandre added a comment - I get the slowdown when looking at the build overview, not even displaying a single log.

          Alexandre added a comment -

          I have this issue on Jenkins pipelines using the classic interface, I don't know if other type of tasks triggers it.
          If I look at the same job from the blue ocean, then it isn't slow.

          Alexandre added a comment - I have this issue on Jenkins pipelines using the classic interface, I don't know if other type of tasks triggers it. If I look at the same job from the blue ocean, then it isn't slow.
          Alexandre made changes -
          Attachment New: Screenshot from 2023-11-10 09-55-45.png [ 61460 ]

          Alexandre added a comment -

          This is how the screen looks:

          Alexandre added a comment - This is how the screen looks:

            Unassigned Unassigned
            abique Alexandre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: