You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consumes 1.5 Gigabytes (GB) memory on trying to create DefaultPlotPanel
Takes nearly 2 minutes on relatively fast PC
val rand = java.util.Random()
val n = 90000
val data = mapOf<String, Any>(
"x" to List(n) { "Some average text $it" },
"y" to List(n) { rand.nextGaussian() }
)
val plot = letsPlot() + themeClassic() + geomLine(data = data, showLegend = false, sampling = samplingNone) {
x = "x"
y = "y"
}
The reason for disappointing performance found to be a huge number of ticks and gridlines along the x-axis.
After the fixes you will see significant performance improvement it terms of both, building time and memory consumption.
This, relatively small and simple data
Main.zip
The text was updated successfully, but these errors were encountered: