We collected some general best practices on artifact sizes for you. Hope this helps! ๐
This card is easy to rememberโbut unfortunately, not always easy to follow. It's surprisingly easy to miss when things grow. Thatโs why we built Gravity. It helps you keep artifacts lean.
Try it โก๏ธย gravity.ci
03.04.2025 08:53 โ ๐ 3 ๐ 1 ๐ฌ 0 ๐ 0
Gravity
Gravity monitors build artifact sizes to prevent accidental increases โ right in your CI pipeline.
You probably donโt *mean* to ship bloated bundles. But it happens quietly. A few KB here, a few KB thereโit builds over weeks of PRs. You wonโt catch it in code reviews. You might not even notice it post-deploy. โ ๏ธย Thatโs why we built gravity.ci
Give it a try!
๐งต5/6
01.04.2025 12:31 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
Page weight grows gradually. One dependency. One large image. One embed. And suddenly, your page takes 5s to load and burns through a userโs data cap. Devs often donโt realize itโs happening until itโs too late.
๐งต4/6
01.04.2025 12:31 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
The LCP (Largest Contentful Paint) metric tracks how fast a pageโs content becomes visible to users.
A โgoodโ page needs to score less than 2.5s, and anything above 4s is poor. In 2024, the average mobile page LCP is 18s and desktop 6.4s. Thatsโฆ not good. ๐ฌ
๐งต3/6
01.04.2025 12:31 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
Heavy pages hit users on slow networks, older phones, and limited data plants. They widen the performance inequality gap, making the web less usable for millions. Page weight is an accessibility issue as much as a performance one.
๐งต2/6
01.04.2025 12:31 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
Page weight isn't just about load timeโitโs about access, equity, and sustainability. Believe it or not, page weight is still climbing. In 2024, the median mobile page weighs in at 2.6MB on desktop and 2.3MB on mobile. Every new feature, image, or JS lib adds up. And it's hurting users.
๐งต1/6
01.04.2025 12:31 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
Gravity
Gravity monitors build artifact sizes to prevent accidental increases โ right in your CI pipeline.
We spotted a +12KB increase in a sitemap file. That led to catching a subtle bug: a bunch of additional, yet broken entries.
Hard to see in code review. Gravity flagged the change. We fixed the bug before merge ๐ Thatโs the power of making size changes visible.
Give it a try โก๏ธ gravity.ci
27.03.2025 13:02 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0
Visual regression tools help devs spot UI issues early.
Gravity brings that same workflow to artifact size.
A small size diff? Often just noise. But sometimes, itโs a sign of something broken. Like in this PR โก๏ธย github.com/mainmatter/m...
27.03.2025 13:02 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 1
Gravity helps developers track and control artifact sizes in CI/CD workflows. Whether it's JavaScript bundles, images, binaries, or Docker images, Gravity pr...
Gravity Demo | Keep Your Build Artifact Sizes in Check
Considering Gravity for your team?
Hereโs a quick demo showing how it fits into your CI workflow, tracks artifact sizes, and prevents bloat before it reaches production โก๏ธ www.youtube.com/watch?v=2vD_...
๐ช Built for developers who care about performance โ by @mainmatter.com
26.03.2025 13:03 โ ๐ 0 ๐ 1 ๐ฌ 0 ๐ 0
Everyone knows `node_modules` is among the heaviest object in the universe ๐ชย Donโt accidentally ship parts of it to your users.
Let Gravity catch bloated artifacts in your PRs before they go live โก๏ธ gravity.ci
#frontend #javascript
25.03.2025 12:18 โ ๐ 3 ๐ 1 ๐ฌ 0 ๐ 1
๐ตย Step 3: Merge with Confidence
Once the changes are approved, all checks pass, and your PR is **good to go**โwith zero unexpected bloat. Keep your builds lean.
Try Gravity now โก๏ธ gravity.ci
๐งตย 3/3
21.03.2025 10:56 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0
๐ตย Step 2: Review & Approve
Gravity gives you a clear diff of what changedโso you can review, approve, or fix size increases before merging. No more surprises post-deploy.
๐งตย 2/3
21.03.2025 10:56 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
Shipping bloated artifacts by accident? ๐ฌย Gravity flags new or growing artifacts in your PR *before* they hit production. Hereโs how it work
๐ตย Step 1: Detect
Gravity reports when a PR introduces new or growing artifacts, so youโre never caught off guard.
๐งตย 1/3
21.03.2025 10:56 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 1
thanks!
20.03.2025 12:58 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0
Gravity
Gravity monitors build artifact sizes to prevent accidental increases โ right in your CI pipeline.
Nobody wants to ship slow, bloated software. But without visibility, itโs hard to know when things are growing out of control. Gravity makes sure you aware *before* itโs too late.
Try it now โก๏ธ gravity.ci
Let us know what you think!
๐งต4/4
19.03.2025 09:30 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0
Gravity integrates into your CI pipeline and tracks build artifact sizes in every PR.
๐ท Analyses your production build artifacts
๐ท Compares them to the target branch
๐ท Flags new or growing files before they get merged
๐ท Adds a check to GitHub to make you aware
๐งต3/4
19.03.2025 09:30 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
You know how easy it is to accidentally bloat production assets?
You add a simple date formatterโฆ and suddenly moment.js (+300KB) sneaks in. ๐ฌ
Or you push a 16MB JPEG instead of a thumbnail.
These small mistakes add upโslowing down your app, frustrating users, and wasting resources.
๐งต2/4
19.03.2025 09:30 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
Keeping Artifact Sizes Under Control - Mainmatter
Staying on top of asset sizes can be challenging. Gravity is a developer tool that helps teams catch regressions early.
Gravity is live ๐ชย and we think youโre gonna love it. Itโs a CI tool that keeps your build artifacts in checkโso you donโt accidentally ship bloated JS bundles, oversized images, huge CSS files, or other assets.
Built by @mainmatter.com
Learn more โก๏ธย mainmatter.com/blog/2025/03...
๐งต1/4
19.03.2025 09:30 โ ๐ 2 ๐ 1 ๐ฌ 1 ๐ 4