Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/20yyq/parser
An energy saving/efficient modern data protocol format parser.Supported modern data protocol formats are JSON/YAML, etc
https://github.com/20yyq/parser
golang hierarchical-data json parser rating serialization serialization-format yaml
Last synced: about 1 month ago
JSON representation
An energy saving/efficient modern data protocol format parser.Supported modern data protocol formats are JSON/YAML, etc
- Host: GitHub
- URL: https://github.com/20yyq/parser
- Owner: 20yyq
- License: mit
- Created: 2023-03-07T01:51:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-12T09:28:48.000Z (almost 2 years ago)
- Last Synced: 2023-10-28T04:15:30.304Z (about 1 year ago)
- Topics: golang, hierarchical-data, json, parser, rating, serialization, serialization-format, yaml
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# parser
An energy saving/efficient modern data protocol format parser.Supported modern data protocol formats are JSON/YAML, etcData depth 5000 layers of json;
| mode | Benchmark name | (1) | (2) | (3) | (4) |
| ------ | ------------------------------| ---------:| ---------------:| ------------:| ---------------:|
| decode | BenchmarkParser | 25206 | 248232 ns/op | 0 B/op | 0 allocs/op |
| decode | BenchmarkParser_Sync | 7780 | 783551 ns/op | 0 B/op | 0 allocs/op |
| decode | BenchmarkJsoniter | 19106 | 315373 ns/op | 366429 B/op | 3124 allocs/op |
| decode | BenchmarkStd | 27234 | 220422 ns/op | 374866 B/op | 2099 allocs/op |