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

Remove metrics API #2571

Merged
merged 13 commits into from
Jan 14, 2025
Merged

Remove metrics API #2571

merged 13 commits into from
Jan 14, 2025

Conversation

buenaflor
Copy link
Contributor

@buenaflor buenaflor commented Jan 13, 2025

Removing public API is usually done in majors but metrics was in beta before and the product is completely shut down so it's just dead code at this point

Closes #2560

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.96%. Comparing base (d1488a1) to head (85148db).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2571      +/-   ##
==========================================
+ Coverage   87.29%   88.96%   +1.66%     
==========================================
  Files         268      262       -6     
  Lines        9342     8950     -392     
==========================================
- Hits         8155     7962     -193     
+ Misses       1187      988     -199     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@buenaflor buenaflor marked this pull request as ready for review January 13, 2025 13:45
@buenaflor
Copy link
Contributor Author

cc @stefanosiano

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
flutter/lib/src/hub.dart Outdated Show resolved Hide resolved
Copy link
Contributor

github-actions bot commented Jan 14, 2025

Android Performance metrics 🚀

  Plain With Sentry Diff
Startup time 461.41 ms 543.61 ms 82.20 ms
Size 6.46 MiB 7.48 MiB 1.02 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
ca7f531 395.69 ms 497.82 ms 102.12 ms
3a69405 334.34 ms 369.19 ms 34.85 ms
0aaa46e 313.39 ms 373.23 ms 59.85 ms
affcf07 446.19 ms 476.32 ms 30.13 ms
abfcdb5 416.55 ms 498.88 ms 82.33 ms
a775d3f 359.58 ms 436.68 ms 77.10 ms
e66e71e 296.84 ms 345.43 ms 48.59 ms
b9da046 393.00 ms 455.52 ms 62.52 ms
fe4aa56 356.06 ms 428.67 ms 72.61 ms
6957bfd 325.88 ms 380.30 ms 54.43 ms

App size

Revision Plain With Sentry Diff
ca7f531 6.33 MiB 7.26 MiB 949.75 KiB
3a69405 5.94 MiB 6.95 MiB 1.01 MiB
0aaa46e 6.16 MiB 7.14 MiB 1007.32 KiB
affcf07 6.52 MiB 7.59 MiB 1.06 MiB
abfcdb5 6.35 MiB 7.40 MiB 1.05 MiB
a775d3f 6.27 MiB 7.20 MiB 957.75 KiB
e66e71e 6.06 MiB 7.09 MiB 1.03 MiB
b9da046 6.06 MiB 7.03 MiB 990.30 KiB
fe4aa56 6.06 MiB 7.10 MiB 1.04 MiB
6957bfd 5.94 MiB 6.95 MiB 1.01 MiB

Previous results on branch: remove-metrics

Startup times

Revision Plain With Sentry Diff
1727271 472.82 ms 534.94 ms 62.12 ms

App size

Revision Plain With Sentry Diff
1727271 6.46 MiB 7.48 MiB 1.02 MiB

Copy link
Contributor

github-actions bot commented Jan 14, 2025

iOS Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1253.58 ms 1273.65 ms 20.07 ms
Size 8.42 MiB 9.89 MiB 1.47 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
202b83f 1206.16 ms 1225.33 ms 19.16 ms
6aab859 1245.14 ms 1247.59 ms 2.45 ms
be1723a 1253.31 ms 1267.36 ms 14.06 ms
0a23f98 1252.98 ms 1276.76 ms 23.78 ms
134c9f8 1284.48 ms 1306.18 ms 21.70 ms
7d5e695 1230.20 ms 1265.40 ms 35.20 ms
732a7b4 1242.17 ms 1266.96 ms 24.79 ms
873fb42 1261.00 ms 1285.92 ms 24.92 ms
64e4616 1242.80 ms 1270.07 ms 27.27 ms
fec92cc 1237.93 ms 1259.21 ms 21.28 ms

App size

Revision Plain With Sentry Diff
202b83f 8.33 MiB 9.40 MiB 1.07 MiB
6aab859 8.29 MiB 9.36 MiB 1.07 MiB
be1723a 8.38 MiB 9.77 MiB 1.39 MiB
0a23f98 8.10 MiB 9.18 MiB 1.08 MiB
134c9f8 8.16 MiB 9.16 MiB 1.01 MiB
7d5e695 8.38 MiB 9.74 MiB 1.36 MiB
732a7b4 8.32 MiB 9.38 MiB 1.06 MiB
873fb42 8.16 MiB 9.17 MiB 1.01 MiB
64e4616 8.28 MiB 9.34 MiB 1.05 MiB
fec92cc 8.33 MiB 9.54 MiB 1.22 MiB

Previous results on branch: remove-metrics

Startup times

Revision Plain With Sentry Diff
1727271 1241.00 ms 1263.35 ms 22.35 ms

App size

Revision Plain With Sentry Diff
1727271 8.42 MiB 9.89 MiB 1.47 MiB

Copy link
Member

@stefanosiano stefanosiano left a comment

Choose a reason for hiding this comment

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

looks good!

@buenaflor buenaflor merged commit a22e451 into main Jan 14, 2025
147 checks passed
@buenaflor buenaflor deleted the remove-metrics branch January 14, 2025 20:18
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.

Remove metrics API
3 participants