{"id":21844104,"url":"https://github.com/electronstudio/megabunny","last_synced_at":"2025-03-21T16:20:43.920Z","repository":{"id":239395903,"uuid":"799415160","full_name":"electronstudio/megabunny","owner":"electronstudio","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-21T07:11:06.000Z","size":10444,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-21T09:58:54.146Z","etag":null,"topics":["benchmark","bunnymark","raylib","sdl"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/electronstudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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}},"created_at":"2024-05-12T04:23:35.000Z","updated_at":"2024-05-27T11:45:36.519Z","dependencies_parsed_at":"2024-05-12T05:25:57.458Z","dependency_job_id":"23f30bc5-302b-4fb6-8541-2d474d39ff88","html_url":"https://github.com/electronstudio/megabunny","commit_stats":null,"previous_names":["electronstudio/megabunny"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2Fmegabunny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2Fmegabunny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2Fmegabunny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electronstudio%2Fmegabunny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/electronstudio","download_url":"https://codeload.github.com/electronstudio/megabunny/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244825652,"owners_count":20516592,"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":["benchmark","bunnymark","raylib","sdl"],"created_at":"2024-11-27T22:18:27.344Z","updated_at":"2025-03-21T16:20:43.880Z","avatar_url":"https://github.com/electronstudio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Megabunny\n\nBunnymark is a traditional benchmark for game *engines* like Godot or Unity.\nIt's a very simple game that renders and moves a large number of\nsprites.\n\nHowever, it's not so useful for comparing rendering *frameworks* such as Raylib and SDL because it includes game logic\nas well as rendering, something that is completely independent of the framework or library you are using.\n\nIt's also not so useful for comparing different language bindings of one framework, where we are really interested\nin just the speed of the FFI calls.\n\nThus Megabunny simply draws one million identical static bunnies per frame and outputs the mbunnies/second.\n\nNote that this benchmark is not a good reason for end users to choose one framework, language or binding over another.\nIt's most useful for library authors to check that your library isn't doing something ridiculously slow\nand to check if your optimisations are having any effect.\n\n# My results\n\nLibrary | Language | Binding    | mbunnies \n--- | --- |------------|------------\nSDL2 opengl | C | | 21.9\nSFML | C | | 12.4\nRaylib | C | | 9.6 |\nRaylib | Java | Jaylib-FFM | 9.5\nRaylib | Java | Jaylib | 8.9\nRaylib | Python | raylib-python-jaylib | 5.9\nRaylib | Python | raylib-python-cffi | 5.1\nRaylib | Python | raylib-python-cffi (pyray) | 3.9\n\n## Python versions comparison\n\nVersion | mbunnies\n--- | ---\nC | 9.6\nGraalPy | 5.9\nPypy 3.10 | 5.1\nCPython 3.10 | 3.4\nCPython 3.12 | 3.1\n\n\n\n# See also\n\nhttps://codeberg.org/glowiak/rl-bunnymarks","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectronstudio%2Fmegabunny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectronstudio%2Fmegabunny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectronstudio%2Fmegabunny/lists"}