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

JSONDataWriter consumes all CPU

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • None

      We use the REST API and especially JSON to query data and post process build results.

      When requesting larger data (e.g. test results which contain test logs) this results in heavy load on CPU.

      A first look at the code of JSONDataWriter revealed the use of String.format which compiles the pattern to encode unicode characters in hex for each character.

            scddev Dietmar Scheidl
            scddev Dietmar Scheidl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: