{"id":13399724,"url":"https://github.com/kaitai-io/kaitai_struct_benchmarks","last_synced_at":"2026-04-17T23:30:20.988Z","repository":{"id":149712268,"uuid":"69572721","full_name":"kaitai-io/kaitai_struct_benchmarks","owner":"kaitai-io","description":"Kaitai Struct: benchmarking suite","archived":false,"fork":false,"pushed_at":"2023-08-04T09:18:25.000Z","size":32,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-07-31T19:22:06.624Z","etag":null,"topics":["benchmark","benchmarking-suite","kaitai-struct"],"latest_commit_sha":null,"homepage":null,"language":"Kaitai Struct","has_issues":false,"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/kaitai-io.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}},"created_at":"2016-09-29T13:57:34.000Z","updated_at":"2023-08-04T08:09:41.000Z","dependencies_parsed_at":"2024-01-18T11:12:26.669Z","dependency_job_id":"efb4f273-08e9-40bd-9409-4d4a22608ece","html_url":"https://github.com/kaitai-io/kaitai_struct_benchmarks","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/kaitai-io%2Fkaitai_struct_benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaitai-io%2Fkaitai_struct_benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaitai-io%2Fkaitai_struct_benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaitai-io%2Fkaitai_struct_benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaitai-io","download_url":"https://codeload.github.com/kaitai-io/kaitai_struct_benchmarks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240018690,"owners_count":19734872,"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","benchmarking-suite","kaitai-struct"],"created_at":"2024-07-30T19:00:41.898Z","updated_at":"2026-04-17T23:30:20.932Z","avatar_url":"https://github.com/kaitai-io.png","language":"Kaitai Struct","funding_links":[],"categories":["Testing"],"sub_categories":["CI"],"readme":"# Kaitai Struct: benchmarks\n\nThis repository contains benchmarking suite for \n[Kaitai Struct](https://github.com/kaitai-io/kaitai_struct) project.\n\n## Compile format specs (.ksy) into target languages\n\nRun `./build-formats` to compile sample format specs (.ksy files)\nlocated in `formats/` into source code for parsing these file formats\nin various supported programming languages, to be located in\n`compiled/$LANG`.\n\n## Generate the data\n\nWe strive to use relatively large datasets for benchmarking purposes,\nthus avoid general issues with micro- / nano-benchmarking, where the\nunit under test is so small that lots of environment issues start to\nplay a big role.\n\nIt is unpractical to store big files in git repository, so instead of\nproviding binary data files, we provide small scripts that generate\nthese big binary files. All these scripts reside in `generate/`, and\nthere is a helper script that launches generation of all data files -\n`./generate-all`.\n\nAfter generation, you should get several large binary files in\n`data/`, which will be used as input files for benchmarking purposes.\n\n## Run the benchmarks\n\nThe source code for benchmarks itselves is located under `spec/$LANG`.\n\n### C++/STL\n\n* `./run-cpp_stl`\n\n### Python\n\n* `./run-python`\n\n### Ruby\n\n* `./run-ruby`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaitai-io%2Fkaitai_struct_benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaitai-io%2Fkaitai_struct_benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaitai-io%2Fkaitai_struct_benchmarks/lists"}