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

[PLAT-12635] onSpanEnd callbacks #506

Closed gingerbenw closed 1 month ago

gingerbenw commented 1 month ago

Goal

Handle onSpanEnd callbacks

Changeset

Testing

github-actions[bot] commented 1 month ago

Browser bundle size

NPM build

Package
Before 198.69 kB
After 201.26 kB
± +2,574 bytes ⚠️

CDN build

Unminified Minfied Minified + gzipped
Before 100.22 kB 36.99 kB 11.15 kB
After 101.73 kB 37.54 kB 11.28 kB
± +1,512 bytes ⚠️ +543 bytes ⚠️ +126 bytes ⚠️

Code coverage

Ok File (✨=New File) Lines Branches Functions Statements
/home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/batch-processor.ts 97.26%
(+0.71%)
95.23%
(+1.48%)
100%
(+0%)
97.29%
(+0.74%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/span-factory.ts 98.83%
(-1.17%)
100%
(+0%)
88.88%
(-11.12%)
98.83%
(-1.17%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/validation.ts 96.29%
(-3.71%)
94.87%
(-5.13%)
88.88%
(-11.12%)
95.34%
(-4.66%)

Total:

Lines Branches Functions Statements
87.95%(+0.02%) 79.18%(-0.09%) 88.22%(-0.66%) 86.01%(-0.01%)

Generated against 855caed3519271dff4b8a0a708598ab15a43dfe4 on 13 September 2024 at 16:36:41 UTC