do not run a gc after creating a plot
the gc often takes a second or more, which slows down the rendering a lot
This commit is contained in:
@@ -88,7 +88,6 @@ public class PdbController implements HardcodedValues {
|
||||
final String imageUrl = WEB_IMAGE_OUTPUT_PATH + "/"
|
||||
+ result.getImageName();
|
||||
LOGGER.trace("image url: {}", imageUrl);
|
||||
System.gc();
|
||||
|
||||
return new PlotResponse(
|
||||
DataSeries.toMap(result.getDataSeries()), imageUrl);
|
||||
|
||||
Reference in New Issue
Block a user