Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8287453

RenderPerfTest incorrectly measures performance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 17
    • client-libs
    • 2d
    • b26

      The test (test/jdk/performance/client/RenderPerfTest) has some flaws in detection of the marker frames and uses Swing timer to periodically check the color of the marker. The timer is not reliable because it could swallow some updates if there are unprocessed ones on the EDT. Also, there is no protection from missing frames, so the test could hang till the end timeout if some updates were not rendered.

        1. rp_m1_metal_after.txt
          1 kB
        2. rp_m1_metal_before.txt
          1 kB
        3. rp_m1_ogl_after.txt
          1 kB
        4. rp_m1_ogl_before.txt
          1 kB
        5. rp_x64_metal_after.txt
          1 kB
        6. rp_x64_metal_before.txt
          1 kB
        7. rp_x64_ogl_after.txt
          1 kB
        8. rp_x64_ogl_before.txt
          1 kB

            avu Alexey Ushakov
            avu Alexey Ushakov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: