3 ms·
Running it as a pooled web server via generic-pool makes it run a bit more efficiently. Using the pooling method, it can do 512x512 images every 400 ms, add in
by cowkingdeluxe 9y ago
Running it as a pooled web server via generic-pool makes it run a bit more efficiently. Using the pooling method, it can do 512x512 images every 400 ms, add in Optimize, WebP & S3 for a total 1000 ms.
I based the pool off of https://github.com/latesh/puppeteer-pool/blob/master/src/index.js https://github.com/latesh/puppeteer-pool/blob/master/src/ind... .