bugsnag / bugsnag-js-performance

Monitor the performance of your JavaScript (web and React Native) and see the results in your BugSnag dashboard.
https://docs.bugsnag.com/performance/integration-guides
MIT License
5 stars 3 forks source link

discard background spans (RN diagnostics) #385

Closed yousif-bugsnag closed 9 months ago

yousif-bugsnag commented 9 months ago

Goal

Backport discarding of background spans to v1 diagnostics branch

github-actions[bot] commented 9 months ago

Browser bundle size

NPM build

Package
Before 173.10 kB
After 173.10 kB
± No change

CDN build

Unminified Minfied Minified + gzipped
Before 82.98 kB 31.25 kB 9.66 kB
After 82.98 kB 31.25 kB 9.66 kB
± No change No change No change

Code coverage

Ok File (✨=New File) Lines Branches Functions Statements
✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/backgrounding-listener.ts 100%
(+100%)
100%
(+100%)
100%
(+100%)
100%
(+100%)

Total:

Lines Branches Functions Statements
86.38%(-0.05%) 70.67%(+0.55%) 84.7%(+0.66%) 83.65%(-0.01%)

Generated against d106a0b33a9505e08a3195f5012cabcd8b9ff7ac on 11 December 2023 at 11:19:07 UTC