{"id":18847793,"url":"https://github.com/jacobwilliams/json-fortran-benchmarks","last_synced_at":"2026-02-01T10:30:14.504Z","repository":{"id":51414192,"uuid":"422771753","full_name":"jacobwilliams/json-fortran-benchmarks","owner":"jacobwilliams","description":"Benchmarks for JSON Fortran parsers","archived":false,"fork":false,"pushed_at":"2022-08-02T15:12:25.000Z","size":619,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T13:57:13.377Z","etag":null,"topics":["fortran","json"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacobwilliams.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}},"created_at":"2021-10-30T03:17:26.000Z","updated_at":"2022-08-02T03:28:52.000Z","dependencies_parsed_at":"2022-09-15T01:41:51.737Z","dependency_job_id":null,"html_url":"https://github.com/jacobwilliams/json-fortran-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/jacobwilliams%2Fjson-fortran-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobwilliams%2Fjson-fortran-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobwilliams%2Fjson-fortran-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobwilliams%2Fjson-fortran-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacobwilliams","download_url":"https://codeload.github.com/jacobwilliams/json-fortran-benchmarks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239783790,"owners_count":19696443,"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":["fortran","json"],"created_at":"2024-11-08T03:09:42.313Z","updated_at":"2026-02-01T10:30:14.164Z","avatar_url":"https://github.com/jacobwilliams.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-fortran-benchmarks\nBenchmarks for JSON Fortran parsers. Also comparison to Python.\n\n## To compile\n\n```\nfpm build --profile release\n```\n\n## To run tests\n\n```\nfpm run read_file_test\nfpm run fson_test\nfpm run tomlf_test\nfpm run rojff_test         \nfpm run json_fortran_test\n\npython json_test.py\npython ujson_test.py\npython rapidjson_test.py\n```\n\n## Sample results:\n\nThe benchmarks were run on an M1 MacBook Pro.\n\nTo parse the `canada.json` file:\n\nFirst, just the time to read the entire file into a `character(len=:),allocatable` string:\n```\n      read file to a string :   0.0004  seconds\n```\n\n### Fortran libs\n```\n               json_fortran :   0.1162  seconds\n                      tomlf :   0.1352  seconds\n                      rojff :   0.2367  seconds\n                       fson :   0.8735  seconds\n```\n\n### Python libs\n```\njson      : 0.022102208 seconds\nujson     : 0.011403209 seconds\nrapidjson : 0.032243625 seconds\n```\n\n## See also\n * [JSON](https://degenerateconic.com/json.html) [degenerateconic.com]","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobwilliams%2Fjson-fortran-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacobwilliams%2Fjson-fortran-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobwilliams%2Fjson-fortran-benchmarks/lists"}