3 ms·
How long did these take to render with phantomjs?
by bkyan 15y ago
How long did these take to render with phantomjs?
- dangrossman 15y agoI set up a queue/worker setup with a max of 5 threads to generate screenshots with phantomjs then resize them with imagemagick. It was averaging one URL per second. Wasn't very taxing on the CPU so probably could be pushed much higher even on this little VPS.
- bkyan 15y agoExcellent! Thanks for the tip. I'm currently using url2png and imagemagick. URL2PNG is an excellent service, but probably won't be economically feasible for me, long term, when I get to trying to scale my app. ( I'm working on a visual bookmarking app with screenshot thumbnails serving as tiles on a draggable corkboard interface. You can double-click the tiles to open the target url in a draggable iframe. Example: http://beta.mindcast.com/ui/4k82yb5zb2ov http://beta.mindcast.com/ui/4k82yb5zb2ov )