You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This benchmark is a bit comparing apples and oranges as the different encodings don't have the same properties.
Some just serialize the values without any type information (e.g.MUS), some add a type tag to the serialized value (e.g. MessagePack), and others add struct/object type name and field names (e.g. gob, json).
Most serializing package require code generation and some don't (e.g. gob, json).
Some encodings are thus very robust against bugs or malicious data, and some support dynamic value type discovery.
This is fine as the best choice depends on the type of usage and their requirements. But this has an impact on the speed and the encoded data size of the respective encoder/decoders.
A first suggestion is to add a table in the README listing the properties of the different packages.
A second suggestion is to group benchmarks by properties so that we don't compare apples with oranges.
The text was updated successfully, but these errors were encountered:
This benchmark is a bit comparing apples and oranges as the different encodings don't have the same properties.
Some just serialize the values without any type information (e.g.MUS), some add a type tag to the serialized value (e.g. MessagePack), and others add struct/object type name and field names (e.g. gob, json).
Most serializing package require code generation and some don't (e.g. gob, json).
Some encodings are thus very robust against bugs or malicious data, and some support dynamic value type discovery.
This is fine as the best choice depends on the type of usage and their requirements. But this has an impact on the speed and the encoded data size of the respective encoder/decoders.
A first suggestion is to add a table in the README listing the properties of the different packages.
A second suggestion is to group benchmarks by properties so that we don't compare apples with oranges.
The text was updated successfully, but these errors were encountered: