{"id":30044681,"url":"https://github.com/antzgames/jolt-libgdx-vs-godot","last_synced_at":"2026-04-19T03:01:39.669Z","repository":{"id":306873707,"uuid":"1013139686","full_name":"antzGames/Jolt-libGDX-vs-Godot","owner":"antzGames","description":"A simple performance test that compares Jolt Physics on libGDX and Godot.","archived":false,"fork":false,"pushed_at":"2025-07-30T02:31:41.000Z","size":172581,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-25T13:36:04.753Z","etag":null,"topics":["godot","godot-engine","jolt-physics","libgdx","performance","physics","testing"],"latest_commit_sha":null,"homepage":"https://youtu.be/1vwJIjNa1ik","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/antzGames.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-03T12:21:51.000Z","updated_at":"2025-07-31T19:48:03.000Z","dependencies_parsed_at":"2025-07-28T07:33:01.719Z","dependency_job_id":null,"html_url":"https://github.com/antzGames/Jolt-libGDX-vs-Godot","commit_stats":null,"previous_names":["antzgames/jolt-libgdx-vs-godot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/antzGames/Jolt-libGDX-vs-Godot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antzGames%2FJolt-libGDX-vs-Godot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antzGames%2FJolt-libGDX-vs-Godot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antzGames%2FJolt-libGDX-vs-Godot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antzGames%2FJolt-libGDX-vs-Godot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antzGames","download_url":"https://codeload.github.com/antzGames/Jolt-libGDX-vs-Godot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antzGames%2FJolt-libGDX-vs-Godot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31992822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["godot","godot-engine","jolt-physics","libgdx","performance","physics","testing"],"created_at":"2025-08-07T06:44:53.840Z","updated_at":"2026-04-19T03:01:39.664Z","avatar_url":"https://github.com/antzGames.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JoltBenchmarks: libGDX vs. Godot 4.5\n\n\u003cimg width=\"1640\" height=\"957\" alt=\"Jolt\" src=\"https://github.com/user-attachments/assets/f60df838-cc4f-4e5a-8d30-b5bda3e60f1d\" /\u003e\n\nYouTube video: https://youtu.be/1vwJIjNa1ik\n\n### This repo contains a libGDX project and Godot 4.5.beta3 compiled Windows binaries, and WASM single thread web build.\n\nThe Godot windows binaries are in the `Godot_Export` directory.  Use the console version so you get the performance data.\n\nTo run the Godot HTML build, go into the `Godot_Export\\HTML` directory and run `server.bat` (needs Python installed) from the command line.  If you do not have Python installed then use IntelliJ/Android Studio to run the `index.html` file.\n\nTo run the libGDX HTML build, go into the `libGDX_Export\\HTML` directory and run `server.bat` (needs Python installed) from the command line.  If you do not have Python installed then use IntelliJ/Android Studio to run the `index.html` file.\n\nIf you are familiar with Gradle libGDX projects just import this repo as a gradle project.  I used Java 17.  You then can run the libGDX desktop version and the teavm version using Gradle tasks.\n\nOr you can run the JAR file in `libGDX_Exports` from the command line.  This is the preferred method if you want to set the thread count. \n\nThe default number of threads is set to 4. You should set the number of threads to about one third the number of threads your CPU has. \nTo change pass the number of threads as a parameter to the jar file:\n\nFor 5 threads:\n```\njava -jar JoltBenchmark-1.0.0.jar 5\n```\n\nThe complete report can be viewed for more information: [JoltPhysics-Godot-vs-libGDX.pdf](https://github.com/antzGames/Jolt-libGDX-vs-Godot/blob/master/JoltPhysics-Godot-vs-libGDX.pdf)\n\nThe test is based on **xpenatan**'s `gdx-jolt` sample test called [BoxSpawnTest.java](https://github.com/xpenatan/gdx-jolt/blob/master/examples/samples/core/src/main/java/jolt/example/samples/app/tests/playground/box/BoxSpawnTest.java).\n\nI made only a few changes to improve performance (removed ImGUI, removed debug rendering, added physics ticks logic)\n\nHis original samples can be viewed [here](https://xpenatan.github.io/gdx-jolt/examples/samples/).\n\n## Summary of results\n\n![jolt1](https://github.com/user-attachments/assets/8084367e-ff99-40e6-a595-567e55fba6ce)\n\n![jolt2](https://github.com/user-attachments/assets/b6193922-86e7-42e9-891e-1bb5e67b00f9)\n\n## Platforms\n\n- `core`: Main module with the application logic shared by all platforms.\n- `lwjgl3`: Primary desktop platform using LWJGL3; was called 'desktop' in older docs.\n- `android`: Android mobile platform. Needs Android SDK.\n- `teavm`: Web backend that supports most JVM languages.\n\n## Gradle\n\nThis project uses [Gradle](https://gradle.org/) to manage dependencies.\nThe Gradle wrapper was included, so you can run Gradle tasks using `gradlew.bat` or `./gradlew` commands.\nUseful Gradle tasks and flags:\n\n- `--continue`: when using this flag, errors will not stop the tasks from running.\n- `--daemon`: thanks to this flag, Gradle daemon will be used to run chosen tasks.\n- `--offline`: when using this flag, cached dependency archives will be used.\n- `--refresh-dependencies`: this flag forces validation of all dependencies. Useful for snapshot versions.\n- `android:lint`: performs Android project validation.\n- `build`: builds sources and archives of every project.\n- `cleanEclipse`: removes Eclipse project data.\n- `cleanIdea`: removes IntelliJ project data.\n- `clean`: removes `build` folders, which store compiled classes and built archives.\n- `eclipse`: generates Eclipse project data.\n- `idea`: generates IntelliJ project data.\n- `lwjgl3:jar`: builds application's runnable jar, which can be found at `lwjgl3/build/libs`.\n- `lwjgl3:run`: starts the application.\n- `teavm:build`: builds the JavaScript application into the build/dist/webapp folder.\n- `teavm:run`: serves the JavaScript application at http://localhost:8080 via a local Jetty server.\n- `test`: runs unit tests (if any).\n\nNote that most tasks that are not specific to a single project can be run with `name:` prefix, where the `name` should be replaced with the ID of a specific project.\nFor example, `core:clean` removes `build` folder only from the `core` project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantzgames%2Fjolt-libgdx-vs-godot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantzgames%2Fjolt-libgdx-vs-godot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantzgames%2Fjolt-libgdx-vs-godot/lists"}