Skip to Content
GuidesMappingMaplibre NativeRender Benchmark iOS
  1. Set up Xcode. Add a MapTiler API key to config.bzl.
  2. Open MapLibre.xcodeproj in Xcode.
  3. Configure the BenchmarkApp schema:

Set Build Configuration to Release.

image

Disable all Diagnostics:

image
  1. Run BenchmarkApp. The results will be logged once it is done:
Benchmark completed. Result: | SF zoom in | 0.60 ms | 3.49 ms | | SF zoom out | 0.47 ms | 3.34 ms | | DC zoom in | 0.53 ms | 3.03 ms | | DC zoom out | 0.48 ms | 4.18 ms | | AMS zoom in | 0.94 ms | 3.28 ms | | AMS zoom out | 1.05 ms | 4.65 ms | | HEL zoom in | 1.51 ms | 3.01 ms | | HEL zoom out | 1.30 ms | 4.97 ms | | AYA zoom in | 1.19 ms | 2.73 ms | | AYA zoom out | 1.09 ms | 3.44 ms | | BER zoom in | 1.83 ms | 2.89 ms | | BER zoom out | 1.58 ms | 4.69 ms | | BAN zoom in | 1.64 ms | 3.13 ms | | BAN zoom out | 1.28 ms | 3.66 ms | | SHA zoom in | 1.73 ms | 2.56 ms | | SHA zoom out | 2.05 ms | 4.37 ms | Average frame encoding time: 1.20 ms Average frame rendering time: 3.59 ms
Last updated on