maplibre / maplibre-native

MapLibre Native - Interactive vector tile maps for iOS, Android and other platforms.
https://maplibre.org
BSD 2-Clause "Simplified" License
1.03k stars 299 forks source link

Enable LTO iOS #2504

Closed louwers closed 3 months ago

louwers commented 3 months ago

Not sure if it makes a huge difference in terms of performance.

image
Encoding time,LTO,Render Time
0.52,No LTO,3.48
0.61,No LTO,3.44
1.94,No LTO,3.49
0.65,No LTO,3.5
0.51,No LTO,3.42
0.62,LTO,3.43
0.79,LTO,3.43
0.98,LTO,3.57
1.07,LTO,3.63
0.53,LTO,3.21
0.53,LTO,3.2
0.52,LTO,3.18
0.51,LTO,3.2
1.01,LTO,3.62
0.81,LTO,3.58
0.67,No LTO,3.5
1.03,LTO,3.63
0.81,No LTO,3.58
github-actions[bot] commented 3 months ago

Bloaty Results (iOS) 🐋

Compared to main

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  [ = ]       0  [ = ]       0    TOTAL

Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results-ios/pr-2504-compared-to-main.txt