shields/templates
Thaddee Tyl 2f97be9118 Pre-compress badge templates with SVGO
Prior to this patch, time spend in badge.js (computing text width and
compressing the SVG with SVGO) averaged 8.4 ms.

After this patch, it clocks at 2.4 ms on average.

Assuming this is the CPU bottleneck, it means that servers used to only be able
to handle 119 req/s (empirically, it is closer to 100 req/s). It should now
handle 416 req/s (although a better guess is at 1/0.004 = 250 req/s).
2017-02-25 18:20:07 +01:00
..
default-template.json Add the ability to output badges as JSON. 2014-10-13 22:48:39 -04:00
flat-square-template.svg Template: Flat Square: Shadows removed, xlink namespace declaration added. 2016-04-19 13:14:54 +04:00
flat-template.svg Fix blurry rounded corners on WebKit 2016-12-15 02:09:07 +01:00
plastic-template.svg Fix blurry rounded corners on WebKit 2016-12-15 02:09:07 +01:00
social-template.svg Pre-compress badge templates with SVGO 2017-02-25 18:20:07 +01:00