Skip to content

Commit

Permalink
Report snapshot size
Browse files Browse the repository at this point in the history
Reviewed By: lblasa

Differential Revision: D56753503

fbshipit-source-id: 77695ae9e6c18294c18e3727ed3409f8efed07c1
  • Loading branch information
Luke De Feo authored and facebook-github-bot committed May 1, 2024
1 parent 72c8b20 commit 7cd9e2e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ - (NSString*)toFoundation {
@"snapshotSerialisationMS",
UIDMonotonicTimeConvertMachUnitsToMS(t1 - t0));

UIDPerformanceAggregate(@"snapshotSizeKB", base64.length / 1000);

return base64;
}

Expand Down

0 comments on commit 7cd9e2e

Please sign in to comment.