ngs-doo/json-benchmark

Add netjson to the benchmark

rpgmaker opened this issue · 9 comments

I believe i have resolved the issue, Can you try the API again using 1.0.5 and let me know if the problem was resolved.

Thanks,

Sorry, v1.0.5 fails with similar message. Can you try opening Benchmark/JsonBenchmark.sln uncommenting

//args = new[] { "NetJSON", "Small", "Serialization", "1" };

and trying yourself?
If you don't want to install VS plugin, you can download missing dependencies from https://github.com/ngs-doo/revenj/releases/download/1.1.0/revenj-core.zip and unpack them to dependencies/Server folder
You don't need Postgres to run non Revenj bench. And if you don't have new VS, just comment out Jil initialization

Regards,
Rikard

Ok. I guess I could do that. It would nicer if you could post the classes
that are failing serialization here for me to quickly determine if it is
something that I just don't currently support such private/internal or
anonymous classes.

Thanks,

Thanks,
On Nov 2, 2014 8:32 AM, "zapov" notifications@github.com wrote:

Sorry, v1.0.5 fails with similar message. Can you try opening
Benchmark/JsonBenchmark.sln uncommenting

//args = new[] { "NetJSON", "Small", "Serialization", "1" };

and trying yourself?
If you don't want to install VS plugin, you can download missing
dependencies from
https://github.com/ngs-doo/revenj/releases/download/1.1.0/revenj-core.zip
and unpack them to dependencies/Server folder
You don't need Postgres to run non Revenj bench. And if you don't have new
VS, just comment out Jil initialization

Regards,
Rikard


Reply to this email directly or view it on GitHub
#2 (comment)
.

Well yeah, [DataMember] is on non public field.

I currently don't support non public. I was able to serialize other things
such as hashset and e.t.c when I last peek into your dll.

I will let you know once I do support non public.

Thanks,
On Nov 2, 2014 9:43 AM, "zapov" notifications@github.com wrote:

Well yeah, [DataMember] is on non public field.


Reply to this email directly or view it on GitHub
#2 (comment)
.

Ok. Reopen it or open a new one.

btw. I added vanilla POCO classes to bench.
Now your lib works on some tests, still does not on others (and in some cases on Mono).

What are the specific of the one that does not work? Are they types such as
non public members of the class or are they special type?

Thanks,
On Jul 6, 2015 3:25 AM, "zapov" notifications@github.com wrote:

btw. I added vanilla POCO classes to bench.
Now your lib works on some tests, still does not on others (and in some
cases on Mono).


Reply to this email directly or view it on GitHub
#2 (comment)
.

Everything is public as property with data contracts.

in app run: JsonBenchmark.exe NetJSON Standard Check 100

System.EntryPointNotFoundException: Entry point was not found.
at System.Collections.Generic.ICollection`1.Add(T item)
at DeletePostClass.CreateListListNullableBoolean(Char* , Int32& )
at DeletePostClass.SetDeletePost(Char* , Int32& , DeletePost , String )
at DeletePostClass.CreateClassOrDictDeletePost(Char* , Int32& )
at DeletePostClass.ReadDeletePost(String )

Ok. That make sense. I am working on nullable been added to collection, I
have not fully worked it out yet.

Thanks,
On Jul 6, 2015 6:55 AM, "zapov" notifications@github.com wrote:

Everything is public as property with data contracts.

in app run: JsonBenchmark.exe NetJSON Standard Check 100

System.EntryPointNotFoundException: Entry point was not found.
at System.Collections.Generic.ICollection`1.Add(T item)
at DeletePostClass.CreateListListNullableBoolean(Char* , Int32& )
at DeletePostClass.SetDeletePost(Char* , Int32& , DeletePost , String )
at DeletePostClass.CreateClassOrDictDeletePost(Char* , Int32& )
at DeletePostClass.ReadDeletePost(String )


Reply to this email directly or view it on GitHub
#2 (comment)
.