ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-6887) .NET: Binary serialization performance: eliminate delegate allocations
Date Mon, 13 Nov 2017 13:10:00 GMT
Pavel Tupitsyn created IGNITE-6887:
--------------------------------------

             Summary: .NET: Binary serialization performance: eliminate delegate allocations
                 Key: IGNITE-6887
                 URL: https://issues.apache.org/jira/browse/IGNITE-6887
             Project: Ignite
          Issue Type: Improvement
      Security Level: Public (Viewable by anyone)
          Components: platforms
            Reporter: Pavel Tupitsyn


See {{private T Read<T>(Func<IBinaryStream, T> readFunc, byte expHdr)}} method,
it is used from all read methods, and we allocate multiple delegates along the way.

Eliminating these delegates (inlining methods) shows noticeable performance improvement in
{{BinarizableReadBenchmark}}. See if we can keep the code clean but get rid of delegates.

Same thing in {{BinaryWriter}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message