{"id":15602942,"url":"https://github.com/ccocchi/rabl-benchmark","last_synced_at":"2025-07-17T03:04:20.209Z","repository":{"id":2872652,"uuid":"3878444","full_name":"ccocchi/rabl-benchmark","owner":"ccocchi","description":"A sample rails project to compare rabl and rabl-rauks gem","archived":false,"fork":false,"pushed_at":"2017-08-02T13:02:51.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T08:11:06.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ianwcarlson/map-tile-downloader","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ccocchi.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":"2012-03-30T16:22:49.000Z","updated_at":"2017-08-02T13:02:52.000Z","dependencies_parsed_at":"2022-07-30T07:48:06.522Z","dependency_job_id":null,"html_url":"https://github.com/ccocchi/rabl-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ccocchi/rabl-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccocchi%2Frabl-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccocchi%2Frabl-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccocchi%2Frabl-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccocchi%2Frabl-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccocchi","download_url":"https://codeload.github.com/ccocchi/rabl-benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccocchi%2Frabl-benchmark/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265561877,"owners_count":23788424,"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-03T03:00:56.790Z","updated_at":"2025-07-17T03:04:20.166Z","avatar_url":"https://github.com/ccocchi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rabl benchmark #\n\nThis Rails application is used to benchmark two gems : `rabl` and `rabl-rails`, both that allows to write API representation for your models as views.\n\n## Tests\n\nUse `rake test TEST=\u003cpath_to_test\u003e` to launch the tests\n\nTests are under `test/performance/`. Rendering cases tested are :\n  * single model without extends\n  * single model with extend\n  * collection of 30 objects without extend\n  * collection of 30 objects with extend\n  * deep nesting models\n  * single model with partial\n\nTests use JSON format.\n\nMore tests cases are welcome\n\n## Results\n\n`rabl-rails` gem is ~5% faster when rendering single object, but can be **50% faster** when rendering collection with extends (one of the most used case through applications).\n\n`rabl-rails` alse use **less memory** globally, around 10%, with **50%** less memory used on collection with extend.\n\nSee [BENCHMARK](http://github.com/ccocchi/rabl-benchmark/blob/master/BENCHMARK) for details.\n\n## Helping out\n\nIf you want to provide another benchmark tests, please fork the code, fix in your local project and then send a pull request on github.\n\n## Author\n\nChristopher Cocchi-Perrier - [ccocchi](http://github.com/ccocchi) | [@ccocchi](http://twitter.com/ccocchi)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccocchi%2Frabl-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccocchi%2Frabl-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccocchi%2Frabl-benchmark/lists"}