yyx990803/bundle-vs-unbundle — explained in plain English
Analysis updated 2026-07-18 · repo last pushed 2024-12-25
Run this project locally to see whether bundled or unbundled JavaScript loads faster on your own machine.
Decide whether a build tool should bundle or serve unbundled ES modules based on real measured numbers.
Study how HTTP/2 handles many small simultaneous requests versus fewer large ones.
Use the 5,000-module test setup as a template to benchmark your own bundling strategy.
| yyx990803/bundle-vs-unbundle | aaaddress1/vibe-reading | amirhosseinjpl/jpl-sub-processor | |
|---|---|---|---|
| Stars | 24 | 24 | 24 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | 2024-12-25 | — | — |
| Maintenance | Stale | — | — |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 2/5 | 2/5 | 3/5 |
| Audience | developer | researcher | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Requires generating the test modules and running an HTTP/2-capable server to get comparable measurements.
This project measures whether it's faster to load JavaScript code as many separate small files or as one big combined file. It's a head-to-head performance comparison that helps developers decide how to organize their code delivery. When you run the project, it creates a test scenario with thousands of tiny JavaScript modules, think of them like individual cards in a deck. One version keeps all the cards separate and loads them individually (the "unbundled" approach). The other version stacks all the cards together into a single file first (the "bundled" approach). The project then serves both versions on a web server and lets you measure which one loads faster in your browser. You visit two different pages side-by-side and see the results for yourself. The test setup is designed to be realistic. It creates 5,000 small modules stacked in 5 layers, where each layer depends on the ones below it, mimicking how real applications have nested dependencies. The server that delivers these files is configured with HTTP/2, a modern protocol that's specifically designed to handle many simultaneous requests efficiently. This matters because unbundled code relies on making lots of separate requests, while bundling combines everything into fewer requests. Web developers and framework maintainers would find this useful. If you're building a tool that decides whether to send code bundled or unbundled to users, this project shows you real numbers instead of guesses. It's particularly relevant for modern JavaScript development where bundlers (tools that combine code) have become standard, yet some newer approaches like "unbundling" or "ESM-first" strategies claim to be faster. By running this locally, you can see which approach wins under conditions similar to your own setup.
A head-to-head performance test comparing bundled versus unbundled JavaScript delivery over HTTP/2, using 5,000 small modules to show developers real loading-speed numbers instead of guesses.
Mainly JavaScript. The stack also includes JavaScript, HTTP/2.
Stale — no commits in 1-2 years (last push 2024-12-25).
License is not stated in the available content.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.