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

Sorting a TableView in descending order takes much longer than in ascending order

    Details

      Description

      Sorting a TableView in Descending order takes significantly longer than Ascending order (around 5x longer). For 22K rows Asc takes roughly 1sec, Desc takes roughly 5 secs. For 150K rows Asc takes 5-6seconds while Desc takes almost 30 secs. When profiling, I see that getCellObservableValue is invoked roughly 2x times the amount of rows in Ascending, but in Descending is invoked roughly 16x times the amount of rows.

        Attachments

          Activity

            People

            • Assignee:
              jgiles Jonathan Giles
              Reporter:
              egjfx E.G (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: