sentry-demos / ios

iOS Empower Plant
1 stars 4 forks source link

feat: decode a large JSON on the main thread #63

Closed armcknight closed 1 year ago

armcknight commented 1 year ago

Generates a large JSON structure, converts it to data, and then parses it on the main thread to trip the JSON on main thread profiling detector.

Note: Currently blocked on https://github.com/getsentry/vroom/pull/336.

Profile: https://demo.sentry.io/profiling/profile/mobile-ios/8d782fddd0d24cfb8cf6c8f479000092/flamegraph/?colorCoding=by+system+vs+application+frame&query=&sorting=call+order&tid=259&view=top+down

Transaction: https://demo.sentry.io/performance/mobile-ios:d0d4ef71ae874a4a946e1867bb8184a3/?project=6249899&query=&referrer=performance-transaction-summary&showTransactions=recent&statsPeriod=1h&transaction=test&unselectedSeries=p100%28%29&unselectedSeries=avg%28%29

Demo:

https://github.com/sentry-demos/ios/assets/3241469/4b9793b3-5f34-48cc-9b94-9ebbdea637b8

closes #26

kpujjigit commented 1 year ago

Verified Locally:

image