-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
fix(frames): remove non absolute non url frame.abs_path coming from default stack parser #2891
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… default stack parser related changes in JS getsentry/sentry-javascript#7167
krystofwoldrich
commented
Mar 13, 2023
marandaneto
reviewed
Mar 13, 2023
marandaneto
approved these changes
Mar 13, 2023
Android (legacy) Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
76d1baf+dirty | 335.72 ms | 355.52 ms | 19.80 ms |
86d6d2c+dirty | 332.90 ms | 352.45 ms | 19.55 ms |
52a8031+dirty | 311.55 ms | 321.37 ms | 9.82 ms |
9a3ca65+dirty | 326.93 ms | 330.14 ms | 3.21 ms |
d197b5c+dirty | 338.94 ms | 354.87 ms | 15.93 ms |
e73f4ed+dirty | 332.96 ms | 354.33 ms | 21.37 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
76d1baf+dirty | 17.73 MiB | 20.04 MiB | 2.31 MiB |
86d6d2c+dirty | 17.73 MiB | 20.04 MiB | 2.31 MiB |
52a8031+dirty | 17.73 MiB | 20.04 MiB | 2.31 MiB |
9a3ca65+dirty | 17.73 MiB | 20.04 MiB | 2.31 MiB |
d197b5c+dirty | 17.73 MiB | 20.04 MiB | 2.31 MiB |
e73f4ed+dirty | 17.73 MiB | 20.04 MiB | 2.31 MiB |
iOS (legacy) Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
76d1baf+dirty | 1244.10 ms | 1268.52 ms | 24.42 ms |
86d6d2c+dirty | 1267.55 ms | 1286.21 ms | 18.66 ms |
52a8031+dirty | 1280.88 ms | 1289.78 ms | 8.90 ms |
9a3ca65+dirty | 1247.06 ms | 1274.58 ms | 27.52 ms |
d197b5c+dirty | 1217.61 ms | 1242.66 ms | 25.05 ms |
e73f4ed+dirty | 1243.27 ms | 1244.52 ms | 1.25 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
76d1baf+dirty | 2.36 MiB | 2.82 MiB | 469.45 KiB |
86d6d2c+dirty | 2.36 MiB | 2.82 MiB | 462.82 KiB |
52a8031+dirty | 2.36 MiB | 2.82 MiB | 469.44 KiB |
9a3ca65+dirty | 2.36 MiB | 2.82 MiB | 462.89 KiB |
d197b5c+dirty | 2.36 MiB | 2.82 MiB | 462.86 KiB |
e73f4ed+dirty | 2.36 MiB | 2.82 MiB | 469.44 KiB |
iOS (new) Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
76d1baf+dirty | 1245.00 ms | 1257.76 ms | 12.76 ms |
86d6d2c+dirty | 1291.62 ms | 1296.80 ms | 5.18 ms |
52a8031+dirty | 1255.96 ms | 1273.00 ms | 17.04 ms |
9a3ca65+dirty | 1276.40 ms | 1279.14 ms | 2.74 ms |
d197b5c+dirty | 1234.80 ms | 1249.20 ms | 14.40 ms |
e73f4ed+dirty | 1282.90 ms | 1309.30 ms | 26.40 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
76d1baf+dirty | 2.92 MiB | 3.38 MiB | 475.74 KiB |
86d6d2c+dirty | 2.92 MiB | 3.37 MiB | 464.31 KiB |
52a8031+dirty | 2.92 MiB | 3.38 MiB | 475.71 KiB |
9a3ca65+dirty | 2.92 MiB | 3.37 MiB | 464.32 KiB |
d197b5c+dirty | 2.92 MiB | 3.37 MiB | 464.41 KiB |
e73f4ed+dirty | 2.92 MiB | 3.38 MiB | 475.71 KiB |
Android (new) Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
76d1baf+dirty | 339.02 ms | 408.65 ms | 69.63 ms |
86d6d2c+dirty | 267.21 ms | 325.24 ms | 58.04 ms |
52a8031+dirty | 330.72 ms | 358.76 ms | 28.03 ms |
9a3ca65+dirty | 344.96 ms | 358.92 ms | 13.96 ms |
d197b5c+dirty | 258.75 ms | 313.61 ms | 54.86 ms |
e73f4ed+dirty | 262.98 ms | 311.02 ms | 48.04 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
76d1baf+dirty | 7.15 MiB | 8.09 MiB | 964.41 KiB |
86d6d2c+dirty | 7.15 MiB | 8.09 MiB | 962.69 KiB |
52a8031+dirty | 7.15 MiB | 8.09 MiB | 965.95 KiB |
9a3ca65+dirty | 7.15 MiB | 8.09 MiB | 962.83 KiB |
d197b5c+dirty | 7.15 MiB | 8.09 MiB | 962.72 KiB |
e73f4ed+dirty | 7.15 MiB | 8.09 MiB | 965.94 KiB |
…y-react-native into kw-fix-source-maps-5-1-0
@marandaneto I've added tests for the rewrite frames. Could you review it too? |
marandaneto
approved these changes
Mar 14, 2023
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.
I liked the approach of splitting up the RewriteFrames
and making it testable + adding unit tests for multiple cases, thank you!
11 tasks
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📢 Type of change
📜 Description
In JS SDK
frame.abs_path
was added and that caused thefrom.abs_path
to be relative. This lead to source maps failure in the product.related changes in JS getsentry/sentry-javascript#7167
💡 Motivation and Context
fixes: #2879
💚 How did you test it?
📝 Checklist
sendDefaultPII
is enabled🔮 Next steps