{"id":26360047,"url":"https://github.com/mrfoxpro/serde-ts","last_synced_at":"2025-03-16T16:24:45.698Z","repository":{"id":281485076,"uuid":"945424259","full_name":"MrFoxPro/serde-ts","owner":"MrFoxPro","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-09T12:18:09.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T12:27:40.125Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MrFoxPro.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":"2025-03-09T11:47:48.000Z","updated_at":"2025-03-09T12:18:12.000Z","dependencies_parsed_at":"2025-03-09T12:38:56.943Z","dependency_job_id":null,"html_url":"https://github.com/MrFoxPro/serde-ts","commit_stats":null,"previous_names":["mrfoxpro/serde-ts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFoxPro%2Fserde-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFoxPro%2Fserde-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFoxPro%2Fserde-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFoxPro%2Fserde-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrFoxPro","download_url":"https://codeload.github.com/MrFoxPro/serde-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243895213,"owners_count":20365171,"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":"2025-03-16T16:24:44.952Z","updated_at":"2025-03-16T16:24:45.692Z","avatar_url":"https://github.com/MrFoxPro.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository contains Serde \u003c-\u003e TypeScript code generator and typescript library for runtime encoding/decoding.\nNOTE: Upstream serde-generate [wasn't properly tested for bincode 2](https://github.com/zefchain/serde-reflection/issues/69), use with caution\n\nExample usage can be found in `suite` dir.\n\n## JavaScript benchamrks.\nEnter nix development shell and run\n```sh\npnpm i\nrun:suite\n```\n\n## Benchmarks\n```\n┌─────────┬──────────────────────────────────────┬───────────┬────────────────────┬──────────┬─────────┐\n│ (index) │ Task Name                            │ ops/sec   │ Average Time (ns)  │ Margin   │ Samples │\n├─────────┼──────────────────────────────────────┼───────────┼────────────────────┼──────────┼─────────┤\n│ 0       │ 'serdegen-bincode:v1:encode'         │ '706,779' │ 1414.869171801931  │ '±0.25%' │ 1060169 │\n│ 1       │ 'serdegen-bincode:v2:encode'         │ '637,338' │ 1569.0243585573778 │ '±0.18%' │ 956009  │\n│ 2       │ 'JSON:encode'                        │ '420,885' │ 2375.942079327577  │ '±0.13%' │ 631329  │\n│ 3       │ '@bufbuild/protobuf-ts-proto:encode' │ '84,756'  │ 11798.537326464035 │ '±5.19%' │ 127135  │\n└─────────┴──────────────────────────────────────┴───────────┴────────────────────┴──────────┴─────────┘\n┌─────────┬──────────────────────────────────────┬───────────┬────────────────────┬──────────┬─────────┐\n│ (index) │ Task Name                            │ ops/sec   │ Average Time (ns)  │ Margin   │ Samples │\n├─────────┼──────────────────────────────────────┼───────────┼────────────────────┼──────────┼─────────┤\n│ 0       │ 'serdegen-bincode:v1:decode'         │ '804,489' │ 1243.0249524331743 │ '±0.33%' │ 1206736 │\n│ 1       │ 'serdegen-bincode:v2:decode'         │ '705,857' │ 1416.7162422652912 │ '±0.28%' │ 1058787 │\n│ 2       │ 'JSON:decode'                        │ '474,208' │ 2108.775826146241  │ '±0.24%' │ 711314  │\n│ 3       │ '@bufbuild/protobuf-ts-proto:decode' │ '699,766' │ 1429.0488334198758 │ '±0.29%' │ 1049650 │\n└─────────┴──────────────────────────────────────┴───────────┴────────────────────┴──────────┴─────────┘\n```\n\nReference Rust formats benchmarks: https://david.kolo.ski/rust_serialization_benchmark\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrfoxpro%2Fserde-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrfoxpro%2Fserde-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrfoxpro%2Fserde-ts/lists"}