Skip to content

Commit c56794a

Browse files
committed
Add JSON parser benchmark
1 parent f437b66 commit c56794a

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"id":597169169,"node_id":"R_kgDOI5gUEQ","name":"ezno","full_name":"kaleidawave/ezno","private":false,"owner":{"login":"kaleidawave","id":26967284,"node_id":"MDQ6VXNlcjI2OTY3Mjg0","avatar_url":"https://avatars.githubusercontent.com/u/26967284?v=4","gravatar_id":"","url":"https://api.github.com/users/kaleidawave","html_url":"https://github.com/kaleidawave","followers_url":"https://api.github.com/users/kaleidawave/followers","following_url":"https://api.github.com/users/kaleidawave/following{/other_user}","gists_url":"https://api.github.com/users/kaleidawave/gists{/gist_id}","starred_url":"https://api.github.com/users/kaleidawave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaleidawave/subscriptions","organizations_url":"https://api.github.com/users/kaleidawave/orgs","repos_url":"https://api.github.com/users/kaleidawave/repos","events_url":"https://api.github.com/users/kaleidawave/events{/privacy}","received_events_url":"https://api.github.com/users/kaleidawave/received_events","type":"User","user_view_type":"public","site_admin":false},"html_url":"https://github.com/kaleidawave/ezno","description":"A fast and correct TypeScript type checker and compiler with additional experiments","fork":false,"url":"https://api.github.com/repos/kaleidawave/ezno","forks_url":"https://api.github.com/repos/kaleidawave/ezno/forks","keys_url":"https://api.github.com/repos/kaleidawave/ezno/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaleidawave/ezno/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaleidawave/ezno/teams","hooks_url":"https://api.github.com/repos/kaleidawave/ezno/hooks","issue_events_url":"https://api.github.com/repos/kaleidawave/ezno/issues/events{/number}","events_url":"https://api.github.com/repos/kaleidawave/ezno/events","assignees_url":"https://api.github.com/repos/kaleidawave/ezno/assignees{/user}","branches_url":"https://api.github.com/repos/kaleidawave/ezno/branches{/branch}","tags_url":"https://api.github.com/repos/kaleidawave/ezno/tags","blobs_url":"https://api.github.com/repos/kaleidawave/ezno/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaleidawave/ezno/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaleidawave/ezno/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaleidawave/ezno/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaleidawave/ezno/statuses/{sha}","languages_url":"https://api.github.com/repos/kaleidawave/ezno/languages","stargazers_url":"https://api.github.com/repos/kaleidawave/ezno/stargazers","contributors_url":"https://api.github.com/repos/kaleidawave/ezno/contributors","subscribers_url":"https://api.github.com/repos/kaleidawave/ezno/subscribers","subscription_url":"https://api.github.com/repos/kaleidawave/ezno/subscription","commits_url":"https://api.github.com/repos/kaleidawave/ezno/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaleidawave/ezno/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaleidawave/ezno/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaleidawave/ezno/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaleidawave/ezno/contents/{+path}","compare_url":"https://api.github.com/repos/kaleidawave/ezno/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaleidawave/ezno/merges","archive_url":"https://api.github.com/repos/kaleidawave/ezno/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaleidawave/ezno/downloads","issues_url":"https://api.github.com/repos/kaleidawave/ezno/issues{/number}","pulls_url":"https://api.github.com/repos/kaleidawave/ezno/pulls{/number}","milestones_url":"https://api.github.com/repos/kaleidawave/ezno/milestones{/number}","notifications_url":"https://api.github.com/repos/kaleidawave/ezno/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaleidawave/ezno/labels{/name}","releases_url":"https://api.github.com/repos/kaleidawave/ezno/releases{/id}","deployments_url":"https://api.github.com/repos/kaleidawave/ezno/deployments","created_at":"2023-02-03T19:27:20Z","updated_at":"2025-12-22T18:46:23Z","pushed_at":"2025-11-27T20:37:50Z","git_url":"git://github.com/kaleidawave/ezno.git","ssh_url":"git@github.com:kaleidawave/ezno.git","clone_url":"https://github.com/kaleidawave/ezno.git","svn_url":"https://github.com/kaleidawave/ezno","homepage":"https://kaleidawave.github.io/posts/introducing-ezno/","size":3889,"stargazers_count":2722,"watchers_count":2722,"language":"Rust","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"has_discussions":true,"forks_count":46,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":46,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":["compiler","javascript","typechecker","types","typescript"],"visibility":"public","forks":46,"open_issues":46,"watchers":2722,"default_branch":"main","permissions":{"admin":true,"maintain":true,"push":true,"triage":true,"pull":true},"temp_clone_token":"","allow_squash_merge":true,"allow_merge_commit":false,"allow_rebase_merge":false,"allow_auto_merge":false,"delete_branch_on_merge":false,"allow_update_branch":true,"use_squash_pr_title_as_default":false,"squash_merge_commit_message":"COMMIT_MESSAGES","squash_merge_commit_title":"COMMIT_OR_PR_TITLE","merge_commit_message":"BLANK","merge_commit_title":"PR_TITLE","security_and_analysis":{"secret_scanning":{"status":"disabled"},"secret_scanning_push_protection":{"status":"disabled"},"dependabot_security_updates":{"status":"disabled"},"secret_scanning_non_provider_patterns":{"status":"disabled"},"secret_scanning_validity_checks":{"status":"disabled"}},"network_count":46,"subscribers_count":20}

benchmarks/json-parsers/run.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Setup
2+
3+
gh repo clone kaleidwave/depict
4+
cd depict && git checkout cli-improvements && cd ..
5+
cargo install --path depict
6+
depict install
7+
8+
# JSON
9+
10+
gh repo clone kaleidwave/simple-json-parser .
11+
git checkout improvements
12+
git status
13+
cargo b --release --example parse
14+
15+
echo "### simple-json-parser: parse github-api.json (SDE)" > $GITHUB_STEP_SUMMARY
16+
echo "" > $GITHUB_STEP_SUMMARY
17+
depict count --format markdown --write-results-to $GITHUB_STEP_SUMMARY target/release/examples/parse github-api.json

0 commit comments

Comments
 (0)