sentry-java
sentry-java copied to clipboard
Change payload for Continuous Profiling v8 (p2)
:scroll: Description
added profile_chunk envelope create added IHub.captureProfileChunk and ISentryClient.captureProfileChunk added profilerId and chunkId reset logic to AndroidContinuousProfiler added absolute timestamps to ProfileMeasurementValue added ProfileContext to Contexts
#skip-changelog
:bulb: Motivation and Context
Implements payload changes for Continuous Profiling Part 2 of https://github.com/getsentry/sentry-java/pull/3683
:green_heart: How did you test it?
:pencil: Checklist
- [ ] I reviewed the submitted code.
- [ ] I added tests to verify the changes.
- [ ] No new PII added or SDK only sends newly added PII if
sendDefaultPIIis enabled. - [ ] I updated the docs if needed.
- [ ] Review from the native team if needed.
- [ ] No breaking change or entry added to the changelog.
- [ ] No breaking change for hybrid SDKs or communicated to hybrid SDKs.
:crystal_ball: Next steps
| Messages | |
|---|---|
| :book: | Do not forget to update Sentry-docs with your feature once the pull request gets approved. |
Generated by :no_entry_sign: dangerJS against 5ebb53629aa16d33cf542a37a5ab8fa2f232ae37
Performance metrics :rocket:
| Plain | With Sentry | Diff | |
|---|---|---|---|
| Startup time | 464.43 ms | 520.84 ms | 56.41 ms |
| Size | 1.65 MiB | 2.31 MiB | 677.69 KiB |
Previous results on branch: feat/continuous-profiling-part2
Startup times
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 4e27f0d5ed7cedb484dac0896fc415b5178f6fa7 | 425.02 ms | 452.80 ms | 27.78 ms |
| ae2da55b2efd50458eeba8a9262eff94059a245e | 448.49 ms | 482.66 ms | 34.17 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 4e27f0d5ed7cedb484dac0896fc415b5178f6fa7 | 1.65 MiB | 2.31 MiB | 674.06 KiB |
| ae2da55b2efd50458eeba8a9262eff94059a245e | 1.65 MiB | 2.31 MiB | 674.06 KiB |