Performance in exporting
We have done some tests with the latest build: https://github.com/highcharts/node-export-server/tree/enhancement/puppeteer.
In our initial tests the performance is insufficient for our goals. Average performance of exporting a chart is around 1 second. We tried running with more memory with no success.
We have an existing setup using JavaFX which takes about 300 ms for the same image.
Is there a way to boost performance?
There is not. This repo is basically abandoned, and the code quality is very poor. We sank a lot of time into trying to get this junk heap to work at all without falling over constantly with no success. We ended up using browserless for our rendering, which is also a giant pain.
I wish Highcharts was built in a way that would allow for rendering svgs without a browser, but sadly it is not.
@jakubSzuminski Any update on this?
@timfaase we've recently merged a new PR (https://github.com/highcharts/node-export-server/pull/422) where we replaced the generic-pool package with tarn which, at least in our tests, improved the performance.
Could you please try out the latest version (from the stable branch or from the npm [email protected]) and let us know whether it works faster? Do you encounter any issues with this?
Fixed in v4.0.0 (current master) by https://github.com/highcharts/node-export-server/pull/521.