{"id":13725294,"url":"https://github.com/Rich-Harris/bundler-comparison","last_synced_at":"2025-05-07T19:33:40.064Z","repository":{"id":42762757,"uuid":"277698503","full_name":"Rich-Harris/bundler-comparison","owner":"Rich-Harris","description":"A quick test to see how various bundlers compare when bundling the Lodash source code.","archived":false,"fork":false,"pushed_at":"2023-01-07T19:52:31.000Z","size":2157,"stargazers_count":66,"open_issues_count":14,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-04T01:27:27.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rich-Harris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-07T02:38:49.000Z","updated_at":"2023-09-04T09:15:23.000Z","dependencies_parsed_at":"2023-02-07T23:46:14.368Z","dependency_job_id":null,"html_url":"https://github.com/Rich-Harris/bundler-comparison","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rich-Harris%2Fbundler-comparison","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rich-Harris%2Fbundler-comparison/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rich-Harris%2Fbundler-comparison/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rich-Harris%2Fbundler-comparison/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rich-Harris","download_url":"https://codeload.github.com/Rich-Harris/bundler-comparison/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224645296,"owners_count":17346114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T01:02:18.503Z","updated_at":"2024-11-14T15:31:05.882Z","avatar_url":"https://github.com/Rich-Harris.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# bundler-comparison\n\nA quick test to see how various bundlers compare when bundling the Lodash source code.\n\n```\ngit clone git@github.com:Rich-Harris/bundler-comparison.git\ngit submodule update --init --recursive\nnpm i\nnpm run build\n```\n\n## Results\n\n\u003c!-- START --\u003e\n|         | output size                                           |\n|---------|-------------------------------------------------------|\n| rollup  | ▉▉▉▉▉▉ 53.9 kB   |\n| esbuild | ▉▉▉▉▉▉ 59.5 kB |\n| webpack | ▉▉▉▉▉▉▉ 64.2 kB |\n| fusebox | ▉▉▉▉▉▉▉▉▉▉▉ 99.8 kB |\n| parcel  | ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 214 kB   |\n\n|         | gzipped size                                          |\n|---------|-------------------------------------------------------|\n| rollup  | ▉▉▉▉▉▉▉▉▉▉▉ 16.9 kB   |\n| webpack | ▉▉▉▉▉▉▉▉▉▉▉▉▉ 18.6 kB |\n| esbuild | ▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 21.2 kB |\n| fusebox | ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 23.3 kB |\n| parcel  | ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 35.8 kB   |\n\u003c!-- END --\u003e\n\nNote: Parcel gets a dramatically better outcome with the `--experimental-scope-hoisting` option (smaller than webpack, almost as small as Rollup). Parcel 2 enables this option automatically, but I couldn't get it to create a non-empty bundle.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRich-Harris%2Fbundler-comparison","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRich-Harris%2Fbundler-comparison","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRich-Harris%2Fbundler-comparison/lists"}