Skip to content

Commit 462f70d

Browse files
authored
Update size measurement doc (#9179)
Add the description of explicit platform, iOS, to the doc.
1 parent 7c67514 commit 462f70d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/health_metrics/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ which will run [cocoapods-size](https://github.com/google/cocoapods-size)
4848
to create a binary size report and either post it in PRs in presubmits or
4949
upload it to the Metrics Service.
5050

51+
The cocoapods-size tool measures an iOS SDK size by comparing the [64 bit ARM](https://github.com/google/cocoapods-size/blob/master/size_build_configuration.json#L5) slice
52+
before and after installing the pod to an [iOS skeleton app](https://github.com/google/cocoapods-size/tree/master/sizetestproject).
53+
More about CocoaPods Size measurement could be found [here](https://github.com/google/cocoapods-size#cocoapods-size-measurement).
54+
5155
### Replicate a binary size measurement for a released SDK
5256

5357
To replicate an SDK binary size measurement locally, we can run the following
@@ -58,8 +62,6 @@ cd cocoapods-size
5862
python3 measure_cocoapod_size.py --cocoapods FirebaseABTesting
5963
```
6064

61-
More about CocoaPods Size measurement could be found [here](https://github.com/google/cocoapods-size#cocoapods-size-measurement)
62-
6365
### Environment Setup
6466

6567
The `binary_size_metrics` on GitHub Actions [workflow](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/health-metrics-presubmit.yml)

0 commit comments

Comments
 (0)