-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
feat: enable wasm compilation #2113
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2113 +/- ##
=======================================
Coverage 88.64% 88.64%
=======================================
Files 223 223
Lines 7583 7583
=======================================
Hits 6722 6722
Misses 861 861 ☔ View full report in Codecov by Sentry. |
Android Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
0f067d3 | 359.56 ms | 431.28 ms | 71.72 ms |
4b943a1 | 348.17 ms | 437.15 ms | 88.98 ms |
5aba417 | 355.78 ms | 450.39 ms | 94.61 ms |
b0811cc | 580.00 ms | 675.69 ms | 95.69 ms |
04db237 | 330.16 ms | 428.38 ms | 98.22 ms |
c732386 | 316.84 ms | 390.62 ms | 73.78 ms |
74e1fdd | 398.61 ms | 418.43 ms | 19.82 ms |
453e1bc | 320.41 ms | 372.73 ms | 52.32 ms |
051e97a | 359.56 ms | 426.68 ms | 67.12 ms |
6fedcab | 388.26 ms | 487.42 ms | 99.16 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
0f067d3 | 6.33 MiB | 7.30 MiB | 992.08 KiB |
4b943a1 | 6.34 MiB | 7.28 MiB | 968.41 KiB |
5aba417 | 5.94 MiB | 6.96 MiB | 1.02 MiB |
b0811cc | 6.33 MiB | 7.27 MiB | 954.02 KiB |
04db237 | 5.94 MiB | 6.95 MiB | 1.01 MiB |
c732386 | 6.26 MiB | 7.20 MiB | 958.78 KiB |
74e1fdd | 6.33 MiB | 7.27 MiB | 954.12 KiB |
453e1bc | 5.94 MiB | 6.95 MiB | 1.01 MiB |
051e97a | 6.27 MiB | 7.20 MiB | 959.09 KiB |
6fedcab | 6.33 MiB | 7.30 MiB | 987.83 KiB |
That should allow you to get rid of various backwards compatibility code in the Flutter SDK |
we're actually not going to do that now. the message was autogenerated from the commits but I've rolled back the change. More history in #2064 |
For future reference, Dart 2.17 tests fail after a couple of tests with
|
Just tested this locally with Didn't even have to add the As far as I can tell, this is the best approach, as you have \cc @buenaflor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, just some questions
dart/lib/src/event_processor/enricher/html_enricher_event_processor.dart
Show resolved
Hide resolved
Let us know if we can help here! This is blocking a critical customer! 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice 🚀
didn't see anything major.
Once all questions are resolved we can go ahead with this 👍
I think the pana thing is fine for now.
iOS Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
04bd9e6 | 1230.78 ms | 1250.71 ms | 19.94 ms |
25161f4 | 1252.35 ms | 1263.84 ms | 11.49 ms |
4656f10 | 1247.04 ms | 1276.16 ms | 29.12 ms |
abcdba3 | 1257.31 ms | 1283.49 ms | 26.18 ms |
2966d88 | 1251.76 ms | 1270.21 ms | 18.46 ms |
333903e | 1251.15 ms | 1270.21 ms | 19.06 ms |
2a0edba | 1229.27 ms | 1259.54 ms | 30.27 ms |
89ea268 | 1252.33 ms | 1253.58 ms | 1.26 ms |
50bdfad | 1253.14 ms | 1274.54 ms | 21.40 ms |
5aba417 | 1265.31 ms | 1287.90 ms | 22.59 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
04bd9e6 | 8.33 MiB | 9.61 MiB | 1.27 MiB |
25161f4 | 8.28 MiB | 9.34 MiB | 1.06 MiB |
4656f10 | 8.32 MiB | 9.50 MiB | 1.19 MiB |
abcdba3 | 8.15 MiB | 9.12 MiB | 989.76 KiB |
2966d88 | 8.32 MiB | 9.38 MiB | 1.06 MiB |
333903e | 8.10 MiB | 9.16 MiB | 1.06 MiB |
2a0edba | 8.32 MiB | 9.52 MiB | 1.20 MiB |
89ea268 | 8.09 MiB | 9.16 MiB | 1.06 MiB |
50bdfad | 8.32 MiB | 9.43 MiB | 1.10 MiB |
5aba417 | 8.16 MiB | 9.17 MiB | 1.01 MiB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thx for doing this! \o/
This updates and replaces #2064 - I suggest you have a look before looking into this PR.
With the changes added in this PR, we can support webassembly compilation without adding an explicit dependency on package:web and thus breaking compatibility with older dart/flutter versions.
As such, this should not be breaking for anyone. I've added tests for every minor dart version since
2.172.18 and everything seems to be in order.There's one caveat: we're losing some points in the new
pana
check that downgrades dependencies fully berofe running dart analyze. The weird thing is, it's supposed to be reproducible with doingdart pub downgrade
followed bydart analyze
, but that doesn't work (i.e. it won't fail the same waypana
does - actually it doesn't show any issues that way).In any case, with compilation working fine for all dart versions, I think it's safe to ignore the 20 point reduction for now (until we drop old Flutter version support and can add
package:web
dependency directly).closes #2064
closes #2110