4 ms·
No-no Headless chrome / firefox doesn't work here, since I need to run Selenium on the server and that's the most obvious overhead because any browser, even in
by Fruzenshtein 7y ago
No-no
Headless chrome / firefox doesn't work here, since I need to run Selenium on the server and that's the most obvious overhead because any browser, even in a headless mode consumes RAM. This becomes even more critical if you need to process more than 100 images per minute :|
- samwillis 7y agoFrom experience 100 images / min with chrome and puppeteer (you don't need Selenium) is more than doable with less than 1gb ram.
- pizzaparty2 7y agoYou could roll your own fairly easily with qt webkit and a mere smidgen of c++. But it'd probably be similar yo puppeteer. Maybe you can save some time by not creating a new instance of puppeteer for each image.
- quickthrower2 7y agoSelenium can also snapshot pages.