Skip to content

strarsis/sharp-overlay-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sharp-overlay-benchmark

Clone and install the package dependencies, satisfy sharp+canvas system dependencies if necessary.

$ git clone https://github.com/strarsis/sharp-overlay-benchmark.git
$ cd sharp-overlay-benchmark/
$ npm install

Then run both tests to compare the ops/second:

(cwd is project workdir)
$ node test-sharp
$ node test-canvas

The generated images have been added to this repository now to improve test reproducibility. They can be (re-)generated using the generate-input.js script:

$ cd generate/
$ node generate-input

About

Benchmark for sharp for overlayWith

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published