antlr / intellij-plugin-v4

An IntelliJ plugin for ANTLR v4
https://plugins.jetbrains.com/plugin/7358-antlr-v4
BSD 3-Clause "New" or "Revised" License
461 stars 103 forks source link

Time column sorted as string when “Show expert columns" selected #655

Closed Thracky closed 10 months ago

Thracky commented 1 year ago

Time values are sorted alphabetically in the expert columns view of the profiler.

I’m guessing that this is due to SimpleProfilerTableDataModel returning a float: return decisionInfo.timeInPrediction/(1000.0 * 1000.0);)

versus ExpertProfilerTableDataModel returning a formatted string: return milliUpToMicroFormatter.format(decisionInfo.timeInPrediction / (1000.0 * 1000.0));