jimp-compact icon indicating copy to clipboard operation
jimp-compact copied to clipboard

benchmark?

Open Kikobeats opened this issue 5 years ago • 2 comments

This library looks promising and a good alternative to the very heavy jimp; however, will desirable to have some benchmark for comparison to see if the switch is worth for a perf point of view 🙂

Kikobeats avatar Aug 30 '19 15:08 Kikobeats

Hi! That's a nice idea. Please go on if interested for making a PR adding benchmark script and mentioning performance. BTW I don't expect (at least notable) runtime performance differences as we don't transpile anything. That's just bundling so it is expected to be better for:

  • Install size of node_modules
  • cold-start time (much much less require calls)

pi0 avatar Aug 30 '19 16:08 pi0

I know it's been a long since this issue but I just made a benchmark trying imagescript, jimp-compact and sharp.

You can check it here: https://github.com/simxnet/image-benchmarks/

EDIT: These are the results as of 05/25/24 image

simxnet avatar May 25 '24 08:05 simxnet