{"id":21570577,"url":"https://github.com/jcash/json-tests","last_synced_at":"2025-03-18T06:14:19.721Z","repository":{"id":151219617,"uuid":"547868091","full_name":"JCash/json-tests","owner":"JCash","description":"A small performance comparison between some C/C++ json libraries","archived":false,"fork":false,"pushed_at":"2022-10-20T15:42:38.000Z","size":1796,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-24T12:45:33.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/JCash.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}},"created_at":"2022-10-08T13:03:11.000Z","updated_at":"2023-02-19T18:48:17.000Z","dependencies_parsed_at":"2023-06-26T09:30:07.620Z","dependency_job_id":null,"html_url":"https://github.com/JCash/json-tests","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/JCash%2Fjson-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCash%2Fjson-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCash%2Fjson-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JCash%2Fjson-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JCash","download_url":"https://codeload.github.com/JCash/json-tests/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166758,"owners_count":20409179,"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-11-24T11:13:10.234Z","updated_at":"2025-03-18T06:14:19.716Z","avatar_url":"https://github.com/JCash.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"#\n\n## Setup + Build\n\n(Only tested with macOS)\nInstall submodules and then build:\n\n    $ ./update_submodules.sh\n    $ ./compile_tests.sh\n\nPrerequisites for the image generation are `matplotlib` and `numpy`:\n\n    $ brew install numpy matplotlib\n\n## Run tests\n\n    ./run_tests.py\n    ./generate_images.sh\n\n## Results\n\nTested on macOS M1 (arm64)\n\n[parse](./reports/parse.json)\n[traverse](./reports/traverse.json)\n[memory](./reports/memory.json)\n[allocations](./reports/allocations.json)\n\n\n\u003cimg src=\"generated/parse.png\" alt=\"time parsing json files\"\u003e\n\u003cimg src=\"generated/traverse.png\" alt=\"time traversing json files\"\u003e\n\n\u003cimg src=\"generated/memory.png\" alt=\"amount of memory used\"\u003e\n\u003cimg src=\"generated/allocations.png\" alt=\"number of allocations\"\u003e\n\n\n# Links\n\n* https://github.com/ibireme/yyjson\n* https://github.com/DaveGamble/cJSON\n* https://github.com/dacez/zzzjson\n* https://github.com/kgabis/parson\n* https://github.com/simdjson/simdjson\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcash%2Fjson-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcash%2Fjson-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcash%2Fjson-tests/lists"}