[jira] [Updated] (IGNITE-20197) .NET: Thin 3.0: Perf: Excessive dictionary lookups by GetFieldByColumnName usages

2023-08-18 Thread Pavel Tupitsyn (Jira)


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

Pavel Tupitsyn updated IGNITE-20197:

Epic Link: IGNITE-19479

> .NET: Thin 3.0: Perf: Excessive dictionary lookups by GetFieldByColumnName 
> usages
> -
>
> Key: IGNITE-20197
> URL: https://issues.apache.org/jira/browse/IGNITE-20197
> Project: Ignite
>  Issue Type: Improvement
>  Components: platforms, thin client
>Affects Versions: 3.0.0-beta1
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Trivial
>  Labels: .NET, ignite-3
> Fix For: 3.0.0-beta2
>
>
> All usages of 
> [ReflectionUtils.GetFieldByColumnName|https://github.com/apache/ignite-3/blob/64f8248fe52a50e09eace2eea7b7308a7c8f6eaf/modules/platforms/dotnet/Apache.Ignite/Internal/Table/Serialization/ReflectionUtils.cs#L53]
>  are within loops.
> As a result, *GetFieldsByColumnName(type)* is called for the same type 
> multiple times. 
> We should remove *ReflectionUtils.GetFieldByColumnName* to avoid this pitfall 
> and perform the first lookup outside of the loop.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (IGNITE-20197) .NET: Thin 3.0: Perf: Excessive dictionary lookups by GetFieldByColumnName usages

2023-08-11 Thread Pavel Tupitsyn (Jira)


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

Pavel Tupitsyn updated IGNITE-20197:

Summary: .NET: Thin 3.0: Perf: Excessive dictionary lookups by 
GetFieldByColumnName usages  (was: .NET: Thin 3.0: Excessive dictionary lookups 
by GetFieldByColumnName usages)

> .NET: Thin 3.0: Perf: Excessive dictionary lookups by GetFieldByColumnName 
> usages
> -
>
> Key: IGNITE-20197
> URL: https://issues.apache.org/jira/browse/IGNITE-20197
> Project: Ignite
>  Issue Type: Improvement
>  Components: platforms, thin client
>Affects Versions: 3.0.0-beta1
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>Priority: Trivial
>  Labels: .NET, ignite-3
> Fix For: 3.0.0-beta2
>
>
> All usages of 
> [ReflectionUtils.GetFieldByColumnName|https://github.com/apache/ignite-3/blob/64f8248fe52a50e09eace2eea7b7308a7c8f6eaf/modules/platforms/dotnet/Apache.Ignite/Internal/Table/Serialization/ReflectionUtils.cs#L53]
>  are within loops.
> As a result, *GetFieldsByColumnName(type)* is called for the same type 
> multiple times. 
> We should remove *ReflectionUtils.GetFieldByColumnName* to avoid this pitfall 
> and perform the first lookup outside of the loop.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)