Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App size measurement #111

Merged
merged 6 commits into from
Nov 1, 2024
Merged

App size measurement #111

merged 6 commits into from
Nov 1, 2024

Conversation

ArielDemarco
Copy link
Collaborator

Overview

This PR introduces a new app in Examples that helps measure the space the SDK occupies in an application.

Details

The app is as simple as possible (AppDelegate/SceneDelegate + ContentView) and consists of two targets, one that compiles only the previously components, and another that compiles depending on the local version of the Embrace SDK. Then, using Fastlane, two .ipa files are created and the size of both is compared to obtain the compressed and uncompressed size. The difference between the two gives an estimate of the disk space occupied by the SDK.

For more information on how it works, a specific README has been added to that example (Examples/AppSizeTester/README.md).

@ArielDemarco ArielDemarco requested a review from a team as a code owner October 31, 2024 12:45
Copy link

github-actions bot commented Oct 31, 2024

Dependency Review

The following issues were found:

  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 18 package(s) with unknown licenses.
  • ⚠️ 1 packages with OpenSSF Scorecard issues.

View full job summary

window.makeKeyAndVisible()
}
}
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Files should have a single trailing newline (trailing_newline)

Copy link

codecov bot commented Oct 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.99%. Comparing base (b2da5ac) to head (72d9d39).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
+ Coverage   91.95%   91.99%   +0.04%     
==========================================
  Files         408      410       +2     
  Lines       26457    26486      +29     
==========================================
+ Hits        24329    24367      +38     
+ Misses       2128     2119       -9     

see 3 files with indirect coverage changes

@ArielDemarco ArielDemarco merged commit 12ee1b9 into main Nov 1, 2024
10 checks passed
@ArielDemarco ArielDemarco deleted the app-size-measurement branch November 1, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants