leo-gan / GLD.SerializerBenchmark

Serializer Benchmark for .NET
14 stars 8 forks source link

Add Microsoft Bond #2

Closed dotnetchris closed 8 years ago

dotnetchris commented 9 years ago

Microsoft Bond is a new (but actually v3) product from Microsoft for high performance serialization with condensed messages. It is meant as an alternative to Protobuf https://github.com/Microsoft/bond

leo-gan commented 9 years ago

Yeah, that's right. It was announced only in January 2015.

dotnetchris commented 9 years ago

Yes they kept it internal for years, it's been plumbing Azure for a long time

leo-gan commented 9 years ago

I've added some comments about Bond in ReadMe.

leo-gan commented 8 years ago

It was added. And it works badly :(

dotnetchris commented 8 years ago

Do you have any links to what you added? I can't seem to find anything relevant in https://github.com/leo-gan/GLD.SerializerBenchmark/commits/master

leo-gan commented 8 years ago

For example this one (there are others in this folder) https://github.com/leo-gan/GLD.SerializerBenchmark/blob/master/GLD.SerializerBenchmark/Serializers/BondCompactSerializer.cs

Regards,

Leonid Ganeline Microsoft Integration MVP (BizTalk Server) http://geekswithblogs.net/leonidganeline/

On Tue, Dec 1, 2015 at 11:30 AM, Chris Marisic notifications@github.com wrote:

Do you have any links to what you added? I can't seem to find anything relevant in https://github.com/leo-gan/GLD.SerializerBenchmark/commits/master

— Reply to this email directly or view it on GitHub https://github.com/leo-gan/GLD.SerializerBenchmark/issues/2#issuecomment-161070889 .

dotnetchris commented 8 years ago

When you said it works poorly, did you account for warm up time?

https://microsoft.github.io/bond/manual/bond_cs.html // The first calls to Serialize.To and Deserialize.From can take // a relatively long time because they generate the de/serializer // for a given type and protocol.

leo-gan commented 8 years ago

Sure. Poorly means, it didn't pass many tests with complex data types. Maybe I missed something in attributes for such data...

Regards,

Leonid Ganeline Microsoft Integration MVP (BizTalk Server) http://geekswithblogs.net/leonidganeline/

On Tue, Dec 1, 2015 at 12:57 PM, Chris Marisic notifications@github.com wrote:

When you said it works poorly, did you account for warm up time?

https://microsoft.github.io/bond/manual/bond_cs.html // The first calls to Serialize.To and Deserialize.From can take // a relatively long time because they generate the de/serializer // for a given type and protocol.

— Reply to this email directly or view it on GitHub https://github.com/leo-gan/GLD.SerializerBenchmark/issues/2#issuecomment-161093564 .