{"id":21674736,"url":"https://github.com/dashaun/upgrade-and-use-buildpacks","last_synced_at":"2026-05-05T17:31:55.563Z","repository":{"id":259105370,"uuid":"871339401","full_name":"dashaun/upgrade-and-use-buildpacks","owner":"dashaun","description":"Optimizations available with buildpacks","archived":false,"fork":false,"pushed_at":"2024-11-03T14:50:35.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-29T21:45:09.686Z","etag":null,"topics":["aot","aot-processing","buildpacks","cds","class-data-sharing","spring-boot","spring-boot-3"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/live/HBBCDoY4sUQ?si=jLrgZFzo6Iqm1RjA","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dashaun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-11T18:49:18.000Z","updated_at":"2025-06-21T09:19:00.000Z","dependencies_parsed_at":"2024-10-23T04:00:03.202Z","dependency_job_id":"546563e2-5a6f-4a86-ad62-61b95420441e","html_url":"https://github.com/dashaun/upgrade-and-use-buildpacks","commit_stats":null,"previous_names":["dashaun/upgrade-and-use-buildpacks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dashaun/upgrade-and-use-buildpacks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashaun%2Fupgrade-and-use-buildpacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashaun%2Fupgrade-and-use-buildpacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashaun%2Fupgrade-and-use-buildpacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashaun%2Fupgrade-and-use-buildpacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashaun","download_url":"https://codeload.github.com/dashaun/upgrade-and-use-buildpacks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashaun%2Fupgrade-and-use-buildpacks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32660207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aot","aot-processing","buildpacks","cds","class-data-sharing","spring-boot","spring-boot-3"],"created_at":"2024-11-25T13:49:13.894Z","updated_at":"2026-05-05T17:31:55.540Z","avatar_url":"https://github.com/dashaun.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n\n# OpenRewrite, AOT and CDS\n\n## The cheat code\n\n```bash\n./mvnw -U org.openrewrite.maven:rewrite-maven-plugin:run \\\n -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:LATEST \\\n -DactiveRecipes=org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_3\n```\n\n## The Spoiler\n\n```text\n#### Comparison of memory usage and startup times\n\nConfiguration                       Startup Time (seconds)    (MB) Used       (MB) Savings\n--------------------------------------------------------------------------------------------\nSpring Boot 2.6 with Java 8         1.018                     340.6           -\nSpring Boot 3.3 with Java 23        1.014 (1.00% faster)      239.3           30.00% \nSpring Boot 3.3 extracted           0.867 (15.00% faster)     210.6           39.00% \nSpring Boot 3.3 with AOT processing 0.765 (25.00% faster)     205.7           40.00% \nSpring Boot 3.3 with CDS            0.568 (45.00% faster)     208.2           39.00% \nSpring Boot 3.3 with AOT+CDS        0.383 (63.00% faster)     165.5           52.00% \n--------------------------------------------------------------------------------------------\n```\n\u003e Does that look too good to be true?  Run the demo and see for yourself!\n\n## Prerequisites\n- [SDKMan](https://sdkman.io/install)\n  \u003e i.e. `curl -s \"https://get.sdkman.io\" | bash`\n- [Httpie](https://httpie.io/) needs to be in the path\n  \u003e i.e. `brew install httpie`\n- bc, pv, zip, unzip, gcc, zlib1g-dev\n  \u003e i.e. `sudo apt install bc, pv, zip, unzip, gcc, zlib1g-dev -y`\n- [Vendir](https://carvel.dev/vendir/)\n  \u003e i.e. `brew tap carvel-dev/carvel \u0026\u0026 brew install vendir`\n\n## Quick Start\n```bash\n./demo.sh\n```\n\n## Attributions\n- [Demo Magic](https://github.com/paxtonhare/demo-magic) is pulled via `vendir sync`\n\n## References\n\n- [Spring Boot CDS Support and Project Leyden anticipation](https://spring.io/blog/2024/08/29/spring-boot-cds-support-and-project-leyden-anticipation)\n- [AOT processing](https://docs.spring.io/spring-boot/reference/packaging/aot.html)\n- [Paketo Buildpacks](https://paketo.io)\n- [Tanzu Buildpacks](https://docs.vmware.com/en/VMware-Tanzu-Buildpacks/index.html)\n\n## Related Videos\n\n- https://www.youtube.com/live/HBBCDoY4sUQ?si=jLrgZFzo6Iqm1RjA\n- https://www.youtube.com/live/qQAXXwkaveM?si=4KunXZaretBrPZs3\n- https://www.youtube.com/live/ck4AP7kRQkc?si=lDl203vbfZysrX5e\n- https://www.youtube.com/live/VWPrYcyjG8Q?si=z7Q2Rm_XOlBwCiei\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n[forks-shield]: https://img.shields.io/github/forks/dashaun/upgrade-and-use-buildpacks.svg?style=for-the-badge\n[forks-url]: https://github.com/dashaun/upgrade-and-use-buildpacks/forks\n[stars-shield]: https://img.shields.io/github/stars/dashaun/upgrade-and-use-buildpacks.svg?style=for-the-badge\n[stars-url]: https://github.com/dashaun/upgrade-and-use-buildpacks/stargazers\n[issues-shield]: https://img.shields.io/github/issues/dashaun/upgrade-and-use-buildpacks.svg?style=for-the-badge\n[issues-url]: https://github.com/dashaun/upgrade-and-use-buildpacks/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashaun%2Fupgrade-and-use-buildpacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashaun%2Fupgrade-and-use-buildpacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashaun%2Fupgrade-and-use-buildpacks/lists"}