Refactor all special case shield definitions inline #1081
Merged
Lucille Hamons / Style Performance
completed
Jun 5, 2024 in 0s
View metrics on style size changes
Style size changes introduced by this PR
Details
Style size statistics
main | this PR | change | % change | |
---|---|---|---|---|
Layers | 343 | 343 | 0 | 0.0% |
StyleJSON Size (b) | 1,008,273 | 1,008,273 | 0 | 0.0% |
Compressed StyleJSON Size (b) | 33,454 | 33,454 | 0 | 0.0% |
1x Sprite Sheet Size (b) | 98,263 | 98,263 | 0 | 0.0% |
2x Sprite Sheet Size (b) | 193,636 | 193,636 | 0 | 0.0% |
ShieldJSON Size (b) | 425,127 | 426,615 | 1,488 | +0.4% |
Compressed ShieldJSON Size (b) | 16,961 | 16,948 | -13 | -0.1% |
Layer count comparison
main | this PR | change | % change | |
---|---|---|---|---|
background | 1 | 1 | 0 | 0.0% |
landuse | 1 | 1 | 0 | 0.0% |
park | 3 | 3 | 0 | 0.0% |
aeroway | 7 | 7 | 0 | 0.0% |
landcover | 2 | 2 | 0 | 0.0% |
boundary | 11 | 11 | 0 | 0.0% |
water | 3 | 3 | 0 | 0.0% |
waterway | 3 | 3 | 0 | 0.0% |
transportation | 291 | 291 | 0 | 0.0% |
building | 1 | 1 | 0 | 0.0% |
transportation_name | 3 | 3 | 0 | 0.0% |
poi | 2 | 2 | 0 | 0.0% |
water_name | 2 | 2 | 0 | 0.0% |
aerodrome_label | 4 | 4 | 0 | 0.0% |
place | 9 | 9 | 0 | 0.0% |
Layer size comparison
main | this PR | change | % change | |
---|---|---|---|---|
background | 122 | 122 | 0 | 0.0% |
landuse | 309 | 309 | 0 | 0.0% |
park | 2,517 | 2,517 | 0 | 0.0% |
aeroway | 2,059 | 2,059 | 0 | 0.0% |
landcover | 361 | 361 | 0 | 0.0% |
boundary | 14,392 | 14,392 | 0 | 0.0% |
water | 912 | 912 | 0 | 0.0% |
waterway | 3,543 | 3,543 | 0 | 0.0% |
transportation | 919,619 | 919,619 | 0 | 0.0% |
building | 292 | 292 | 0 | 0.0% |
transportation_name | 9,239 | 9,239 | 0 | 0.0% |
poi | 11,802 | 11,802 | 0 | 0.0% |
water_name | 4,647 | 4,647 | 0 | 0.0% |
aerodrome_label | 5,951 | 5,951 | 0 | 0.0% |
place | 32,164 | 32,164 | 0 | 0.0% |
Loading