jkphl / iconizr

A PHP command line tool for converting SVG images to a set of CSS icons (SVG & PNG, single icons and / or CSS sprites) with support for image optimization and Sass output. Created by Joschi Kuphal (@jkphl), licensed under the terms of the MIT license
http://iconizr.com
MIT License
485 stars 36 forks source link

Flood of process #29

Closed rleite closed 9 years ago

rleite commented 9 years ago

Hi!

For some time we started to use iconizr(grunt-iconizr) to create sprices of svg and a sprite fallback of pngs(thanks btw).

The problem is that now we have 182 svgs and all of them are launching independent process to convert them to png. This created a fooding of process.

Can this be done with a parallel limit approach? I'm thinking of NUMBER_OF_CPUS * 2.

jkphl commented 9 years ago

Hi @rleite,

the issue has been addressed here.

Cheers, Joschi