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

[PLAT-11282] Add plugins configuration option #378

Closed gingerbenw closed 7 months ago

gingerbenw commented 7 months ago

Goal

To be able to add plugins when calling BugsnagPerformance.start()

Testing

Unit tests for validation functions

github-actions[bot] commented 7 months ago

Browser bundle size

NPM build

Package
Before 175.95 kB
After 177.29 kB
± +1,341 bytes ⚠️

CDN build

Unminified Minfied Minified + gzipped
Before 84.94 kB 31.99 kB 9.84 kB
After 85.29 kB 32.19 kB 9.87 kB
± +345 bytes ⚠️ +194 bytes ⚠️ +26 bytes ⚠️

Code coverage

Ok File (✨=New File) Lines Branches Functions Statements
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/validation.ts 96%
(-4%)
94.44%
(-5.56%)
87.5%
(-12.5%)
94.87%
(-5.13%)

Total:

Lines Branches Functions Statements
92.22%(-0.05%) 80.15%(-0.23%) 92.78%(-0.46%) 90.25%(-0.1%)

Generated against 9d38f515e8367f1c171b225afa853b65fda82edc on 6 December 2023 at 14:26:24 UTC