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
4 stars 1 forks source link

Add react-navigation support #399

Closed gingerbenw closed 5 months ago

gingerbenw commented 5 months ago

Goal

Add support for react-navigation

Changeset

Add new react-navigation-performance package with full end to end and unit tests

Testing

Full CI run

github-actions[bot] commented 5 months ago

Browser bundle size

NPM build

Package
Before 177.45 kB
After 179.86 kB
± +2,412 bytes ⚠️

CDN build

Unminified Minfied Minified + gzipped
Before 85.98 kB 32.33 kB 9.93 kB
After 86.78 kB 32.63 kB 10.00 kB
± +796 bytes ⚠️ +307 bytes ⚠️ +67 bytes ⚠️

Code coverage

Ok File (✨=New File) Lines Branches Functions Statements
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/core.ts 100%
(+0%)
80%
(+5%)
90.9%
(+0.9%)
97.82%
(+0.26%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/span-factory.ts 100%
(+0%)
96.66%
(-3.34%)
100%
(+0%)
98.57%
(-1.43%)
/home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/id-generator.ts 100%
(+11.12%)
100%
(+100%)
100%
(+0%)
100%
(+11.12%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/react-navigation/lib/index.ts 0%
(+0%)
100%
(+100%)
0%
(+0%)
0%
(+0%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/react-navigation/lib/react-navigation-native-plugin.ts 0%
(+0%)
0%
(+0%)
0%
(+0%)
0%
(+0%)

Total:

Lines Branches Functions Statements
91.34%(-0.66%) 80.64%(-0.08%) 92.66%(-1.32%) 88.83%(-1.24%)

Generated against e01aff724c270875e384db1dd7ba6610b0c9d013 on 1 February 2024 at 12:40:54 UTC