sonnet
benchmark
sonnet | benchmark | |
---|---|---|
6 | 3 | |
281 | 9 | |
- | - | |
5.7 | 5.3 | |
7 months ago | 7 months ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sonnet
-
The latest JSON encode/decode benchmarks and analysis!
Disclaimer, I am the author of one of the libraries: sonnet. Although I tried it to make fair as possible, It might not be perfect for that perspective. Before getting into the performance of all, let me talk about the correctness.
- My fast JSON library in Go is now even faster and safer
-
Modification of json string without deserialisation into map/struct
github.com/sugawarayuuta/sonnet
- Show HN: Sonnet – The fastest JSON parser I can think of in Go
-
Toward the Fastest, Compatible JSON Decoder – Sonnet
Good morning.I hope this is not the wrong place to post… so let me introduce my first public Golang package. This is a JSON decoder called Sonnet ( https://github.com/sugawarayuuta/sonnet ) that has given faster results (at least in my environment) than Sonic - https://github.com/bytedance/sonic (which is said that it's the fastest) without the help of assembly!
JSON is a very well-known file format. It is used by everyone who does programming. However, it is also not uncommon to find problems with encoding/json and other third-party libraries. for more… (see https://github.com/sugawarayuuta/sonnet#problems-we-had )
I decided to create a new, standard library-compatible decoder that would be both easy to use and fast.
Thanks for reading, feel free to use, help, or ask questions, I look forward to hearing from you. All benchmarks and other information can be found in the link at the top.
-
Toward the Fastest, Compatible JSON Decoder - Sonnet
Good morning. Let me introduce my first public Go package. This is a JSON decoder called Sonnet ( https://github.com/sugawarayuuta/sonnet ) that has given faster results (at least in my environment) than Sonic (which is said that it's the fastest) without the help of assembly!
benchmark
-
The latest JSON encode/decode benchmarks and analysis!
The repository is here: https://github.com/sugawarayuuta/benchmark
-
My fast JSON library in Go is now even faster and safer
Sorry, I missed the link to https://github.com/sugawarayuuta/benchmark – I don't find its contents very easy to digest, and there's often more to an encoding library than benchmark perf - how does it compare in terms of functionality, correctness, etc would be great to cover too. The README just has vague discussion of "some other alternatives" which isn't very actionable.
What are some alternatives?
sonic - A blazingly fast JSON serializing & deserializing library
jx - json encoding and decoding
json - Experimental implementation of a proposed v2 encoding/json package
jingo - This package provides the ability to encode golang structs to a buffer as JSON very quickly.
screp - StarCraft - Brood War replay parser
frontmatter - Go library for detecting and decoding various content front matter formats
jsonbench - JSON benchmarks to compare different Go JSON implementations
jsonparser - One of the fastest alternative JSON parser for Go that does not require schema
sjson - Set JSON values very quickly in Go