XChart
XChart copied to clipboard
Optimize BitmapEncoder class
Is there a way to optimize the methods of the BitmapEncoder class? They are extremely costly; a graph with 50k points takes over 2 seconds to save when calling saveBitmap(List<T>). getBufferedImage and saveBitMap( toStream ) are even more costly.
Size and Timing Info
207852 is the size in bytes of the graph 10811 is the size in bytes of the empty graph Runtime of saving the filled graph takes anywhere from 2-2.959 seconds on my machine Runtime of saving the empty graph takes .20 seconds on my machine