Skip to content

Comments

perf(web): decrease bundle size#968

Merged
PJColombo merged 26 commits intomainfrom
perf/web/reduce-bundle-sizes
Feb 16, 2026
Merged

perf(web): decrease bundle size#968
PJColombo merged 26 commits intomainfrom
perf/web/reduce-bundle-sizes

Conversation

@PJColombo
Copy link
Member

Checklist

  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

@changeset-bot
Copy link

changeset-bot bot commented Feb 14, 2026

⚠️ No Changeset found

Latest commit: 6cc4976

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Feb 14, 2026

📦 Next.js Bundle Analysis for @blobscan/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 284.43 KB (🟢 -109.41 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Twenty Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/ 239.78 KB 524.2 KB 149.77% (🟡 +0.66%)
/address/[address] 37.19 KB 321.62 KB 91.89% (🟡 +0.16%)
/blob/[hash] 41.96 KB 326.39 KB 93.25% (🟡 +0.21%)
/blobs 89.57 KB 373.99 KB 106.86% (🟢 -0.27%)
/block/[id] 10.83 KB 295.25 KB 84.36% (🟢 -0.84%)
/blocks 90.6 KB 375.03 KB 107.15% (🟢 -0.28%)
/stat/avg-blob-base-fee 262.84 KB 547.27 KB 156.36% (🟡 +2.82%)
/stat/avg-blob-gas-price 262.82 KB 547.25 KB 156.36% (🟡 +2.81%)
/stat/total-blob-base-fees 262.88 KB 547.31 KB 156.37% (🟡 +2.82%)
/stat/total-blob-gas-used 262.84 KB 547.26 KB 156.36% (🟡 +2.81%)
/stat/total-blob-gas-used-comparison 262.91 KB 547.34 KB 156.38% (🟡 +2.82%)
/stat/total-blob-size 262.86 KB 547.29 KB 156.37% (🟡 +2.81%)
/stat/total-blob-usage-size 262.88 KB 547.31 KB 156.37% (🟡 +2.82%)
/stat/total-blobs 262.83 KB 547.26 KB 156.36% (🟡 +2.82%)
/stat/total-blocks 262.79 KB 547.22 KB 156.35% (🟡 +2.81%)
/stat/total-transactions 262.84 KB 547.27 KB 156.36% (🟡 +2.82%)
/stat/total-unique-addresses 262.86 KB 547.28 KB 156.37% (🟡 +2.81%)
/stats 264.97 KB 549.4 KB 156.97% (🟡 +2.85%)
/tx/[hash] 7.39 KB 291.82 KB 83.38% (🟢 -0.67%)
/txs 89.98 KB 374.4 KB 106.97% (🟢 -0.26%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@PJColombo PJColombo force-pushed the perf/web/reduce-bundle-sizes branch 2 times, most recently from 8a11a9c to caaad0d Compare February 14, 2026 10:32
@codecov
Copy link

codecov bot commented Feb 14, 2026

Codecov Report

❌ Patch coverage is 40.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.68%. Comparing base (693c048) to head (6cc4976).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
packages/api/src/context.ts 28.57% 5 Missing ⚠️
packages/api/src/utils/auth.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #968      +/-   ##
==========================================
+ Coverage   84.26%   84.68%   +0.42%     
==========================================
  Files         187      187              
  Lines       13784    13771      -13     
  Branches     1322     1327       +5     
==========================================
+ Hits        11615    11662      +47     
+ Misses       2169     2109      -60     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@PJColombo PJColombo force-pushed the perf/web/reduce-bundle-sizes branch 3 times, most recently from 07305e0 to 836e684 Compare February 16, 2026 11:24
@PJColombo PJColombo force-pushed the perf/web/reduce-bundle-sizes branch from 909ecb5 to 911275f Compare February 16, 2026 14:30
@PJColombo PJColombo merged commit f3af863 into main Feb 16, 2026
12 of 15 checks passed
@PJColombo PJColombo deleted the perf/web/reduce-bundle-sizes branch February 16, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant