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

Adding a contributing guide to JS performance #447

Closed hannah-smartbear closed 2 months ago

hannah-smartbear commented 7 months ago
github-actions[bot] commented 7 months ago

Browser bundle size

NPM build

Package
Before 193.47 kB
After 196.14 kB
± +2,666 bytes ⚠️

CDN build

Unminified Minfied Minified + gzipped
Before 96.91 kB 36.36 kB 10.97 kB
After 98.89 kB 36.61 kB 11.07 kB
± +1,975 bytes ⚠️ +246 bytes ⚠️ +95 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%)
93.75%
(+0.42%)
92.85%
(+0%)
98.5%
(+0.09%)
/home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/span-factory.ts 100%
(+0%)
100%
(+3.13%)
100%
(+0%)
100%
(+1.25%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/network-request-plugin.ts 94.33%
(+0.46%)
83.33%
(+0%)
100%
(+0%)
94.54%
(+0.43%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/route-change-plugin.ts 96%
(+0%)
75%
(+0%)
77.77%
(-9.73%)
96.15%
(+0%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/backgrounding-listener.ts 100%
(+0%)
87.5%
(-12.5%)
100%
(+0%)
100%
(+0%)
🔴 ✨ /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/create-app-start-span.ts 87.5%
(+87.5%)
0%
(+0%)
100%
(+100%)
87.5%
(+87.5%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/get-network-connection-type.ts 50%
(+7.15%)
20%
(+0%)
100%
(+0%)
50%
(+7.15%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/id-generator.ts 100%
(+0%)
100%
(+0%)
88.88%
(+0%)
97.5%
(+0.28%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/resource-attributes-source.ts 94.73%
(+2.14%)
95%
(-5%)
100%
(+0%)
94.73%
(+2.14%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/span-attributes-source.ts 100%
(+0%)
85.71%
(+2.38%)
100%
(+0%)
100%
(+0%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/auto-instrumentation/network-request-plugin.ts 80.39%
(+0.39%)
57.89%
(-14.83%)
100%
(+0%)
82.45%
(+0.1%)
/home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/persistence/file-based.ts 95.74%
(+0.87%)
93.33%
(+2.43%)
100%
(+0%)
96.15%
(+0.7%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/persistence/file-utils.ts 60%
(+0%)
26.31%
(-2.26%)
83.33%
(+0%)
60%
(+0%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/persistence/index.ts 92.85%
(+0.55%)
40%
(-10%)
100%
(+0%)
93.33%
(+0.48%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/retry-queue/directory.ts 93.87%
(-0.72%)
75%
(+75%)
100%
(+0%)
94.54%
(-0.8%)
/home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/react-native/lib/retry-queue/file-based.ts 98.27%
(+0.55%)
100%
(+0%)
100%
(+0%)
98.46%
(+0.51%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/request-tracker/lib/request-tracker-fetch.ts 83.01%
(+9.43%)
62.74%
(+7.84%)
80%
(+25%)
78.87%
(+18.31%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/request-tracker/lib/request-tracker-xhr.ts 94.87%
(+20.52%)
72.72%
(+18.18%)
100%
(+20%)
93.22%
(+35.6%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/request-tracker/lib/url-helpers.ts 100%
(+18.19%)
72.72%
(+18.18%)
100%
(+50%)
94.44%
(+33.33%)

Total:

Lines Branches Functions Statements
87.83%(+1.09%) 78.92%(+1.53%) 88.79%(+0.95%) 85.91%(+2.37%)

Generated against c0e56d5ac710c8ce42354c7cf592c4912de3945c on 9 September 2024 at 08:20:39 UTC