top | item 4280705

(no title)

Produce | 13 years ago

Congratulations, you have managed to provide a two second delay between clicking on, for example, the Firefox icon and the resulting sprite CSS being displayed on a brand spanking new eight core, 8GiB RAM system. I hope you're proud of your abuse of my computer's resources. But, alas, I shall be having no more of this nonesense!

discuss

order

jaffathecake|13 years ago

What's your browser & OS? RAM isn't the bottleneck here, it'll be the CPU via a poor JavaScript engine.

Of course, it's open source, any optimisation suggestions will be gratefully received. The calculation of sprite boundaries happens in two steps, first a contraction https://github.com/jakearchibald/sprite-cow/blob/master/www/... then an expansion https://github.com/jakearchibald/sprite-cow/blob/master/www/...

Produce|13 years ago

Firefox 14.0.1, Arch Linux (it's a rolling release distro, fully up to date).

Solving these kinds of problems and optimizing things makes me happy. I'll take a look at this when I get home from work and see if I can speed it up.

wamatt|13 years ago

Also having big performance issues. Macbook Pro (2012), 16GB Ram, Chrome v20

moron|13 years ago

Christ, you act like you're doing someone a favor running this tool that was built to help you save time. Let me guess, you're the guy who bitches when the WiFi is down on the airplane.

Produce|13 years ago

>Christ, you act like you're doing someone a favor running this tool that was built to help you save time.

CPU time is super expensive where I live.

>Let me guess, you're the guy who bitches when the WiFi is down on the airplane.

Incessantly.