[
https://issues.apache.org/jira/browse/IGNITE-4640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-4640:
-----------------------------------
Description:
Ignite uses dynamically generated delegates to avoid constly reflection calls
on hot paths (invoking user-defined generic methods, constructors, etc) - see
{{DelegateTypeDescriptor}} and {{DelegateConverter}} classes.
Investigate whether adding the following attributes to our assemblies affects
performance:
{code}
[assembly: AllowPartiallyTrustedCallers]
[assembly: SecurityTransparent]
[assembly:
SecurityRules(SecurityRuleSet.Level2,SkipVerificationInFullTrust=true)]
{code}
See
http://stackoverflow.com/questions/13431573/dynamicmethod-is-much-slower-than-compiled-il-function/14297080#14297080
was:
Ignite uses dynamically generated delegates to avoid constly reflection calls
on hot paths (invoking user-defined generic methods, constructors, etc) - see
{{DelegateTypeDescriptor}} and {{DelegateConverter}} classes.
Investigate whethe adding the following attributes to our assemblies affects
performance:
{code}
[assembly: AllowPartiallyTrustedCallers]
[assembly: SecurityTransparent]
[assembly:
SecurityRules(SecurityRuleSet.Level2,SkipVerificationInFullTrust=true)]
{code}
See
http://stackoverflow.com/questions/13431573/dynamicmethod-is-much-slower-than-compiled-il-function/14297080#14297080
> .NET: Improve performance of dynamically generated code
> -------------------------------------------------------
>
> Key: IGNITE-4640
> URL: https://issues.apache.org/jira/browse/IGNITE-4640
> Project: Ignite
> Issue Type: Improvement
> Components: platforms
> Affects Versions: 1.8
> Reporter: Pavel Tupitsyn
> Priority: Minor
> Labels: .NET, perfomance
> Fix For: 2.1
>
>
> Ignite uses dynamically generated delegates to avoid constly reflection calls
> on hot paths (invoking user-defined generic methods, constructors, etc) - see
> {{DelegateTypeDescriptor}} and {{DelegateConverter}} classes.
> Investigate whether adding the following attributes to our assemblies affects
> performance:
> {code}
> [assembly: AllowPartiallyTrustedCallers]
> [assembly: SecurityTransparent]
> [assembly:
> SecurityRules(SecurityRuleSet.Level2,SkipVerificationInFullTrust=true)]
> {code}
> See
> http://stackoverflow.com/questions/13431573/dynamicmethod-is-much-slower-than-compiled-il-function/14297080#14297080
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)