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

chore: Add java lint (google-java-format) #4175

Merged
merged 6 commits into from
Oct 15, 2024

Conversation

krystofwoldrich
Copy link
Member

📢 Type of change

  • Enhancement

📜 Description

As the repository includes more Java code, we should start linting it as well.

The Java code change are purely formatting.

💡 Motivation and Context

part of #2534

💚 How did you test it?

ci, locally

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • All tests passing
  • No breaking changes

#skip-changelog

Copy link
Contributor

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 481.17 ms 462.98 ms -18.19 ms
Size 17.74 MiB 20.07 MiB 2.34 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e73d82f 475.82 ms 506.55 ms 30.73 ms
0ebca77 414.93 ms 444.49 ms 29.56 ms
484813b 434.55 ms 452.31 ms 17.75 ms
e540498 436.26 ms 433.00 ms -3.26 ms
acadc0f+dirty 373.24 ms 381.51 ms 8.27 ms
70e6261 482.65 ms 495.70 ms 13.05 ms
b1e8712 462.11 ms 465.71 ms 3.60 ms
0677344 327.74 ms 337.14 ms 9.40 ms
3ffcddd 302.92 ms 315.80 ms 12.88 ms
728164b 414.34 ms 449.22 ms 34.88 ms

App size

Revision Plain With Sentry Diff
e73d82f 17.73 MiB 20.07 MiB 2.33 MiB
0ebca77 17.73 MiB 19.95 MiB 2.21 MiB
484813b 17.73 MiB 20.07 MiB 2.33 MiB
e540498 17.73 MiB 20.11 MiB 2.37 MiB
acadc0f+dirty 17.73 MiB 19.75 MiB 2.01 MiB
70e6261 17.73 MiB 19.94 MiB 2.21 MiB
b1e8712 17.73 MiB 19.75 MiB 2.02 MiB
0677344 17.73 MiB 19.81 MiB 2.07 MiB
3ffcddd 17.73 MiB 19.75 MiB 2.02 MiB
728164b 17.73 MiB 19.85 MiB 2.12 MiB

Copy link
Contributor

github-actions bot commented Oct 15, 2024

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1236.20 ms 1238.45 ms 2.24 ms
Size 2.36 MiB 3.09 MiB 742.72 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e5c9b8b+dirty 1258.57 ms 1267.32 ms 8.75 ms
0db0c72+dirty 1275.02 ms 1285.84 ms 10.82 ms
76d1baf+dirty 1244.10 ms 1268.52 ms 24.42 ms
1c65324+dirty 1235.17 ms 1235.08 ms -0.09 ms
e2b64fe+dirty 1232.22 ms 1255.20 ms 22.98 ms
8900e1a+dirty 1210.27 ms 1218.66 ms 8.39 ms
5571a20+dirty 1203.57 ms 1204.57 ms 1.00 ms
e73f4ed+dirty 1243.27 ms 1244.52 ms 1.25 ms
e73d82f+dirty 1207.52 ms 1216.73 ms 9.21 ms
d7401ac+dirty 1252.38 ms 1275.04 ms 22.66 ms

App size

Revision Plain With Sentry Diff
e5c9b8b+dirty 2.36 MiB 2.87 MiB 520.43 KiB
0db0c72+dirty 2.36 MiB 2.84 MiB 487.01 KiB
76d1baf+dirty 2.36 MiB 2.82 MiB 469.45 KiB
1c65324+dirty 2.36 MiB 3.04 MiB 698.64 KiB
e2b64fe+dirty 2.36 MiB 2.85 MiB 495.80 KiB
8900e1a+dirty 2.36 MiB 2.83 MiB 479.25 KiB
5571a20+dirty 2.36 MiB 2.92 MiB 569.93 KiB
e73f4ed+dirty 2.36 MiB 2.82 MiB 469.44 KiB
e73d82f+dirty 2.36 MiB 3.08 MiB 734.23 KiB
d7401ac+dirty 2.36 MiB 2.83 MiB 481.14 KiB

Copy link
Contributor

github-actions bot commented Oct 15, 2024

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1235.65 ms 1242.35 ms 6.71 ms
Size 2.92 MiB 3.64 MiB 744.09 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e5c9b8b+dirty 1276.90 ms 1280.92 ms 4.02 ms
0db0c72+dirty 1258.88 ms 1262.52 ms 3.64 ms
76d1baf+dirty 1245.00 ms 1257.76 ms 12.76 ms
1c65324+dirty 1239.71 ms 1239.86 ms 0.15 ms
e2b64fe+dirty 1285.78 ms 1297.56 ms 11.78 ms
8900e1a+dirty 1268.36 ms 1273.04 ms 4.68 ms
5571a20+dirty 1228.09 ms 1233.45 ms 5.36 ms
e73f4ed+dirty 1282.90 ms 1309.30 ms 26.40 ms
e73d82f+dirty 1231.20 ms 1228.81 ms -2.40 ms
d7401ac+dirty 1288.10 ms 1289.54 ms 1.44 ms

App size

Revision Plain With Sentry Diff
e5c9b8b+dirty 2.92 MiB 3.43 MiB 524.50 KiB
0db0c72+dirty 2.92 MiB 3.40 MiB 492.71 KiB
76d1baf+dirty 2.92 MiB 3.38 MiB 475.74 KiB
1c65324+dirty 2.92 MiB 3.61 MiB 705.56 KiB
e2b64fe+dirty 2.92 MiB 3.41 MiB 499.97 KiB
8900e1a+dirty 2.92 MiB 3.39 MiB 485.96 KiB
5571a20+dirty 2.92 MiB 3.48 MiB 575.54 KiB
e73f4ed+dirty 2.92 MiB 3.38 MiB 475.71 KiB
e73d82f+dirty 2.92 MiB 3.64 MiB 740.56 KiB
d7401ac+dirty 2.92 MiB 3.40 MiB 488.06 KiB

Copy link
Collaborator

@antonis antonis left a comment

Choose a reason for hiding this comment

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

LGTM 🎉
Thank you for adding this 🙇

@krystofwoldrich krystofwoldrich merged commit 29a9b67 into main Oct 15, 2024
61 of 63 checks passed
@krystofwoldrich krystofwoldrich deleted the kw/add-google-java-format branch October 15, 2024 14:14
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