-+ Tatu +-
--
You received this message because you are subscribed to the Google Groups "java-serialization-benchmarking" group.
To post to this group, send email to java-serializat...@googlegroups.com.
To unsubscribe from this group, send email to java-serialization-be...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/java-serialization-benchmarking?hl=en.
Either fix sounds good to me.
We should also put results back up on the wiki.
-Nate
On Sat, Nov 10, 2012 at 5:22 PM, Tatu Saloranta <tsalo...@gmail.com> wrote:
I started looking into Avro serialization/deserialization (outside of
benchmark), and realized that Avro incurs some of serialization costs
sort of ahead of time; basically it does UTF-8 encoding when building
GenericData instances. This means that repeated serialization calls of
the same object are faster than serialization calls using identical
but not same object.
To compensate for that, jvm-serializer benchmark has separate 'create'
timing section, measured by using "forward" method; this will account
for additional time in case of Avro and other codecs that do similar
pre-processing. So far so good.
However: I noticed that "total" only includes serialization and
deserialization, but not create time.
This is probably just an oversight, and I can fix it. But I thought I
will first verify that I am not ignoring something.
(an alternative to adding 'create' time would be just to call
"transformer.forward(value)" as part of serialization)
-+ Tatu +-
--
You received this message because you are subscribed to the Google Groups "java-serialization-benchmarking" group.
To post to this group, send email to java-serialization-benchm...@googlegroups.com.
To unsubscribe from this group, send email to java-serialization-benchmarking+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to java-serialization-be...@googlegroups.com. Visit this group at http://groups.google.com/group/java-serialization-benchmarking.
For more options, visit https://groups.google.com/groups/opt_out.
To post to this group, send email to java-serialization-benchmarking...@googlegroups.com.
To unsubscribe from this group, send email to java-serialization-benchmarking+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/java-serialization-benchmarking?hl=en.
--
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-benchmarking+unsubscribe@googlegroups.com.
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.
For more options, visit https://groups.google.com/groups/opt_out.
--
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-benchmarking+unsubscribe@googlegroups.com.
To post to this group, send email to java-serialization-benchm...@googlegroups.com.
Visit this group at http://groups.google.com/group/java-serialization-benchmarking.
For more options, visit https://groups.google.com/groups/opt_out.
you both make good points.i suppose what i mean is that i would prefer to see the ser time not include the creation time as it does now. so we would remove the transform time from ser, but add creat time to total (ie total = create + ser + deser).at the moment total = ser + deser, but ser includes creation time as well. so i don't think it presents a very accurate picture for avro generic in particular, where at a cursory glance you see high object creation time, and then reasonably high ser time as well. but in fact ser includes creation time again.if we change total to include create time and remove create time from ser time, i think it gives a more accurate picture. then you can see the cost of eg not using the serialization-specific objects as domain objects.