[jira] [Updated] (IGNITE-4099) .NET: Review method group usage (micro-optimization)

2017-05-18 Thread Pavel Tupitsyn (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-4099:
---
Fix Version/s: (was: 2.1)
   2.2

> .NET: Review method group usage (micro-optimization)
> 
>
> Key: IGNITE-4099
> URL: https://issues.apache.org/jira/browse/IGNITE-4099
> Project: Ignite
>  Issue Type: Improvement
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Priority: Minor
>  Labels: .NET
> Fix For: 2.2
>
>
> There are a bunch of places where we use method group delegates, including 
> hot paths in serialization/deserialization.
> Method group syntax is more concise, but causes extra allocations and worse 
> performance: http://vibrantcode.com/2013/02/19/lambdas-vs-method-groups/
> Lambda syntax is more efficient. Static lambdas are cached, do not cause 
> allocations, and perform on par with regular methods.
> * The fact that R# suggests replacing lambdas with method groups does not  
> help. We should disable this in team-shared dotsettings file.
> * Heap Allocations R# plugin helps find these issues: 
> https://blog.jetbrains.com/dotnet/2014/06/06/heap-allocations-viewer-plugin/



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (IGNITE-4099) .NET: Review method group usage (micro-optimization)

2017-04-06 Thread Pavel Tupitsyn (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-4099:
---
Fix Version/s: (was: 2.0)
   2.1

> .NET: Review method group usage (micro-optimization)
> 
>
> Key: IGNITE-4099
> URL: https://issues.apache.org/jira/browse/IGNITE-4099
> Project: Ignite
>  Issue Type: Improvement
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Priority: Minor
>  Labels: .NET
> Fix For: 2.1
>
>
> There are a bunch of places where we use method group delegates, including 
> hot paths in serialization/deserialization.
> Method group syntax is more concise, but causes extra allocations and worse 
> performance: http://vibrantcode.com/2013/02/19/lambdas-vs-method-groups/
> Lambda syntax is more efficient. Static lambdas are cached, do not cause 
> allocations, and perform on par with regular methods.
> * The fact that R# suggests replacing lambdas with method groups does not  
> help. We should disable this in team-shared dotsettings file.
> * Heap Allocations R# plugin helps find these issues: 
> https://blog.jetbrains.com/dotnet/2014/06/06/heap-allocations-viewer-plugin/



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (IGNITE-4099) .NET: Review method group usage (micro-optimization)

2016-11-06 Thread Vladimir Ozerov (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Ozerov updated IGNITE-4099:

Fix Version/s: (was: 1.8)
   2.0

> .NET: Review method group usage (micro-optimization)
> 
>
> Key: IGNITE-4099
> URL: https://issues.apache.org/jira/browse/IGNITE-4099
> Project: Ignite
>  Issue Type: Improvement
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Priority: Minor
>  Labels: .NET
> Fix For: 2.0
>
>
> There are a bunch of places where we use method group delegates, including 
> hot paths in serialization/deserialization.
> Method group syntax is more concise, but causes extra allocations and worse 
> performance: http://vibrantcode.com/2013/02/19/lambdas-vs-method-groups/
> Lambda syntax is more efficient. Static lambdas are cached, do not cause 
> allocations, and perform on par with regular methods.
> * The fact that R# suggests replacing lambdas with method groups does not  
> help. We should disable this in team-shared dotsettings file.
> * Heap Allocations R# plugin helps find these issues: 
> https://blog.jetbrains.com/dotnet/2014/06/06/heap-allocations-viewer-plugin/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (IGNITE-4099) .NET: Review method group usage (micro-optimization)

2016-10-20 Thread Pavel Tupitsyn (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-4099:
---
Priority: Minor  (was: Major)

> .NET: Review method group usage (micro-optimization)
> 
>
> Key: IGNITE-4099
> URL: https://issues.apache.org/jira/browse/IGNITE-4099
> Project: Ignite
>  Issue Type: Improvement
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Priority: Minor
>  Labels: .NET
> Fix For: 1.8
>
>
> There are a bunch of places where we use method group delegates, including 
> hot paths in serialization/deserialization.
> Method group syntax is more concise, but causes extra allocations and worse 
> performance: http://vibrantcode.com/2013/02/19/lambdas-vs-method-groups/
> Lambda syntax is more efficient. Static lambdas are cached, do not cause 
> allocations, and perform on par with regular methods.
> * The fact that R# suggests replacing lambdas with method groups does not  
> help. We should disable this in team-shared dotsettings file.
> * Heap Allocations R# plugin helps find these issues: 
> https://blog.jetbrains.com/dotnet/2014/06/06/heap-allocations-viewer-plugin/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (IGNITE-4099) .NET: Review method group usage (micro-optimization)

2016-10-20 Thread Pavel Tupitsyn (JIRA)

 [ 
https://issues.apache.org/jira/browse/IGNITE-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Tupitsyn updated IGNITE-4099:
---
Description: 
There are a bunch of places where we use method group delegates, including hot 
paths in serialization/deserialization.

Method group syntax is more concise, but causes extra allocations and worse 
performance: http://vibrantcode.com/2013/02/19/lambdas-vs-method-groups/

Lambda syntax is more efficient. Static lambdas are cached, do not cause 
allocations, and perform on par with regular methods.

* The fact that R# suggests replacing lambdas with method groups does not  
help. We should disable this in team-shared dotsettings file.
* Heap Allocations R# plugin helps find these issues: 
https://blog.jetbrains.com/dotnet/2014/06/06/heap-allocations-viewer-plugin/

  was:
There are a bunch of places where we use method group delegates, including hot 
paths in serialization/deserialization.

Method group syntax is more concise, but causes extra allocations and worse 
performance: http://vibrantcode.com/2013/02/19/lambdas-vs-method-groups/

Lambda syntax is more efficient. Static lambdas are cached, do not cause 
allocations, and perform on par with regular methods.

The fact that R# suggests replacing lambdas with method groups does not  help. 
We should disable this in team-shared dotsettings file.


> .NET: Review method group usage (micro-optimization)
> 
>
> Key: IGNITE-4099
> URL: https://issues.apache.org/jira/browse/IGNITE-4099
> Project: Ignite
>  Issue Type: Improvement
>  Components: platforms
>Reporter: Pavel Tupitsyn
>  Labels: .NET
> Fix For: 1.8
>
>
> There are a bunch of places where we use method group delegates, including 
> hot paths in serialization/deserialization.
> Method group syntax is more concise, but causes extra allocations and worse 
> performance: http://vibrantcode.com/2013/02/19/lambdas-vs-method-groups/
> Lambda syntax is more efficient. Static lambdas are cached, do not cause 
> allocations, and perform on par with regular methods.
> * The fact that R# suggests replacing lambdas with method groups does not  
> help. We should disable this in team-shared dotsettings file.
> * Heap Allocations R# plugin helps find these issues: 
> https://blog.jetbrains.com/dotnet/2014/06/06/heap-allocations-viewer-plugin/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)