{"id":16038140,"url":"https://github.com/byroot/fast-bundler-demo","last_synced_at":"2025-06-19T19:39:19.364Z","repository":{"id":35467645,"uuid":"39735812","full_name":"byroot/fast-bundler-demo","owner":"byroot","description":"Demo for https://github.com/byroot/bundler/tree/experimental-fast-setup","archived":false,"fork":false,"pushed_at":"2015-07-26T19:44:36.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T03:25:09.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/byroot.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":"2015-07-26T18:03:06.000Z","updated_at":"2015-07-26T18:03:13.000Z","dependencies_parsed_at":"2022-09-06T00:00:51.018Z","dependency_job_id":null,"html_url":"https://github.com/byroot/fast-bundler-demo","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/byroot%2Ffast-bundler-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byroot%2Ffast-bundler-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byroot%2Ffast-bundler-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byroot%2Ffast-bundler-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byroot","download_url":"https://codeload.github.com/byroot/fast-bundler-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243551230,"owners_count":20309291,"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-10-08T22:40:29.673Z","updated_at":"2025-03-14T08:45:16.443Z","avatar_url":"https://github.com/byroot.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fast Bundler Demo\n\nSee: https://github.com/byroot/bundler/tree/experimental-fast-setup\n\nTo have any relevance, you must add gems to your gemfile.\n\n### Results:\n\nFor a plain new Rails app with 53 gems, the improvement is barely 4%:\n\n```sh\n$ bundle install\nBundle complete! 11 Gemfile dependencies, 53 gems now installed\n\n$ ./script/benchmark\n== Booting without cache:\nRequireCache disabled\n$LOAD_PATH.size =\u003e 77\n        1.73 real         1.47 user         0.24 sys\n\n== Warming cache (unless already present):\nRequireCache enabled\n$LOAD_PATH.size =\u003e 26\n        1.67 real         1.47 user         0.18 sys\n\n== Fast boot:\nRequireCache enabled\n$LOAD_PATH.size =\u003e 26\n        1.67 real         1.47 user         0.19 sys\n```\n\nBut for a sligthly bigger app with 136 gems, the app boot 20% faster.\n\n```sh\n$ bundle install\nBundle complete! 65 Gemfile dependencies, 136 gems now installed.\n\n$ ./script/benchmark\n== Booting without cache:\nRequireCache disabled\n$LOAD_PATH.size =\u003e 184\n        3.29 real         2.59 user         0.69 sys\n\n== Warming cache (unless already present):\nRequireCache enabled\n$LOAD_PATH.size =\u003e 39\n        2.74 real         2.44 user         0.29 sys\n\n== Fast boot:\nRequireCache enabled\n$LOAD_PATH.size =\u003e 39\n        2.62 real         2.33 user         0.27 sys\n```\n\nI tested it with a real world app with 324 gems and lots of initializers, the saving is around 25%.\n\n```sh\nRequireCache disabled\n$LOAD_PATH.size =\u003e 439\n     14.14 real        10.85 user         3.19 sys\n\nRequireCache enabled\n$LOAD_PATH.size =\u003e 95\n     10.79 real         9.52 user         1.18 sys\n```\n\nUsage:\n\n```sh\nbundle install\n./script/benchmark\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyroot%2Ffast-bundler-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyroot%2Ffast-bundler-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyroot%2Ffast-bundler-demo/lists"}