GithubHelp home page GithubHelp logo

Comments (7)

rogeralsing avatar rogeralsing commented on June 10, 2024

Awesome, it would be nice to see it implemented with different options too, pretegister types, preserveObjectReferences etc.

from wire.

itadapter avatar itadapter commented on June 10, 2024

Roger, could you please provide values for the following fields (I took Slim as example). I need it for metadata:

[SerializerInfo( 
     Family = SerializerFamily.Binary,    
     MetadataRequirement = MetadataRequirement.None,
     VendorName = "IT Adapter LLC",
     VendorLicense = "Apache 2.0 + Commercial",
     VendorURL = "http://itadapter.com",
     VendorPackageAddress = "http://github.com/aumcode/nfx",
     FormatName = "Slim",
     LinesOfCodeK = 7,    
     DataTypes = 32,
     Assemblies = 1,
     ExternalReferences = 0,
     PackageSizeKb = 1500
)]

from wire.

itadapter avatar itadapter commented on June 10, 2024

Yes, we will add the options as test properties, so would be able to run test script like so:

 test{ name="with obj refs" obj-ref=true....}
 test{ name="no obj refs" obj-ref=false....}
Ill come around with questions how to do it properly in Wire.
Also SERBENCH does support "Known types" injection so that is going to be covered as well

from wire.

itadapter avatar itadapter commented on June 10, 2024

@rogeralsing
Take a look at this: 1 root object is stellar, a list[100] something is different.
I suspect that you use pre-allocated buffer maybe? Notice that Protobuf has the same problem.
However on 500 protobuf recovers, but Wire doesnt. I need to get answers about ref tracking I sent you an email with questions.
20160819_wire

from wire.

rogeralsing avatar rogeralsing commented on June 10, 2024

[SerializerInfo(
Family = SerializerFamily.Binary,
MetadataRequirement = MetadataRequirement.None,
VendorName = "Akka.NET Team",
VendorLicense = "Apache 2.0",
VendorURL = "http://getakka.net",
VendorPackageAddress = "http://github.com/akkadotnet/wire",
FormatName = "Wire",
//I need to check the rest, don't know on top of my head
)]

from wire.

rogeralsing avatar rogeralsing commented on June 10, 2024

Also, please use the latest 0.8.0 package
https://www.nuget.org/packages/Wire/0.8.0

There should be some significant improvements if you havent compiled from sources here

from wire.

itadapter avatar itadapter commented on June 10, 2024

I have added a fix to Wire.PerfTests for SlimSerializer (pull req sent). Updated SERBENCH to 0.8.0

from wire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.