You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2020/11/23 10:01:00 UTC

[jira] [Comment Edited] (IGNITE-13618) Provide generated and reflection-based class (de)serializers

    [ https://issues.apache.org/jira/browse/IGNITE-13618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17236408#comment-17236408 ] 

Andrey Mashenkov edited comment on IGNITE-13618 at 11/23/20, 10:00 AM:
-----------------------------------------------------------------------

I've pushed benchmark test "SerializerBenchmarkTest".

Please, note Reflection-based serialized is already optimized and uses Unsafe directly bypassing some reflection methods.
 Still generated serializer shows noticeable better results. 
 PFA benchmark results attached.


was (Author: amashenkov):
I've pushed benchmark test "SerializerBenchmarkTest".

Please, note Reflection-based serialized is already optimized and uses Unsafe directly bypassing some reflection methods.
Still, generated serialized show noticeable better results. 
 PFA benchmark results attached.

> Provide generated and reflection-based class (de)serializers
> ------------------------------------------------------------
>
>                 Key: IGNITE-13618
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13618
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Alexey Goncharuk
>            Assignee: Andrey Mashenkov
>            Priority: Major
>              Labels: iep-54, ignite-3
>         Attachments: benchmark-results.txt
>
>
> Let's prototype object serializer for type-system described in IEP-54, and benchmark them to check if generated code approach is a better one.
>  * For reflection-based serializer we can use Unsafe (see GridUnsafe class) which works fine for previour versions of Ignite.
>  * To keep focus on the ticket needs mainly, we can use Janino project for code generator.
>  * In addition, reflection-based serialized could have a version using Java9+ VanHandles and it's could be hidden under 'java-9+' maven-profile.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)