Comments (7)
Awesome, it would be nice to see it implemented with different options too, pretegister types, preserveObjectReferences etc.
from wire.
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.
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.
@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.
from wire.
[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.
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.
I have added a fix to Wire.PerfTests for SlimSerializer (pull req sent). Updated SERBENCH to 0.8.0
from wire.
Related Issues (20)
- NVM
- Serialization of F# Map HOT 4
- No support for struct with a non-default constructor? HOT 8
- Is Serializer thread safe? HOT 2
- AmbiguousMatchException when serializing a type with multiple AddRange methods HOT 1
- Invalid code generation on fields of interface type HOT 5
- Wire performance improvements HOT 3
- CollectionTests.CanSerializeDictionaryKeysAndValuesByteChar is failing HOT 1
- Wire 0.8.2 is not compatible with 0.8.1 HOT 6
- Stack overflow when serializing/deserializing LinkedList
- OSS license for Wire HOT 2
- Support for IDictionary HOT 3
- Serialize - DeSerialize between similar types. HOT 4
- Speedup dials to compare performance with bond simple binary protocol.
- .NET Core serialization issues
- Signed Wire NuGet package
- support DataContract/DataMember/IgnoreDataMember
- Does wire do zig-zag / 7bit encoding?
- Wire.Extensions.TypeEx CoreAssemblyName ignore mscorelib/System.Private.CoreLib
- .NET Core 3 - Cannot Deserialize
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wire.