Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tyingq
on April 25, 2021
|
parent
|
context
|
favorite
| on:
Parsing Protobuf at 2+GB/S: How I Learned to Love ...
Ah, wow, that's great. Apples-to-apples since you can dump the same data to JSON. And shows why HN remains a unique place. Wonder out loud, and maybe get an answer within an update to the article you just read :)
haberman
on April 25, 2021
[–]
So I was not able to get simdjson going in time, but I did dump my test payload to JSON. In protobuf the payload was 7506 bytes, in JSON 19283 bytes.
So parsing this particular payload at 2GB/s would be equivalent to parsing it at 5.1GB/s in JSON.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: