ASN.1 serializer: a pretty good job

238 views
Skip to first unread message

francis.a...@gmail.com

unread,
Mar 19, 2013, 6:01:57 AM3/19/13
to java-serializat...@googlegroups.com
Hi

I have tested the java serialization benchmark with an ASN.1 serializer using the ASN.1
compiler/runtime from UniGone: http://www.unigone.com where you can request for an evaluation version.

here the resulst: ASN.1 BER -- Basic Encoding Rule ITU-TT X.690 / ISO/IEC 8825-1 -- and DER -- Distinguished Encoding Rule ITU-T X.690 / ISO/IEC 8825-1-- serialization outperforms other serializers in most cases... and at least on the total time result.

From a network payload perspective i.e, length of the serialized object, the resulting object serialization size is optimum with the UnalignedBasicPER, PER stands for Packed Encoding Rule ITU-T X.691 / ISO/IEC 8825-2.

See perf.html and perf.xlsx for the results and Media.asn for the ASN.1 definition of MediaContent.

HTH

FA
perf.xlsx
perf.html
Media.asn
Asn1Serializer.java
BenchmarkRunner.java

Kannan Goundan

unread,
Mar 19, 2013, 7:03:04 AM3/19/13
to java-serializat...@googlegroups.com
It looks like you're using a really old version of the benchmark.  This could have been because you checked out the 'master' branch, which is actually obsolete.  The branch you want is the 'kannan' branch, which is the default.

Yes, this is very silly.  'kannan' was an experimental branch that became the main branch about three years ago.  Someone who understands Git better than me, what's the right way to get rid of this issue?  Can we just delete 'master' and rename 'kannan' to 'master'?




--
You received this message because you are subscribed to the Google Groups "java-serialization-benchmarking" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-serialization-be...@googlegroups.com.
To post to this group, send email to java-serializat...@googlegroups.com.
Visit this group at http://groups.google.com/group/java-serialization-benchmarking?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Tatu Saloranta

unread,
Mar 19, 2013, 12:21:26 PM3/19/13
to java-serializat...@googlegroups.com
On Tue, Mar 19, 2013 at 4:03 AM, Kannan Goundan <kan...@cakoose.com> wrote:
> It looks like you're using a really old version of the benchmark. This
> could have been because you checked out the 'master' branch, which is
> actually obsolete. The branch you want is the 'kannan' branch, which is the
> default.
>
> Yes, this is very silly. 'kannan' was an experimental branch that became
> the main branch about three years ago. Someone who understands Git better
> than me, what's the right way to get rid of this issue? Can we just delete
> 'master' and rename 'kannan' to 'master'?

+1 if we can do this.

-+ Tatu +-
Reply all
Reply to author
Forward
0 new messages