You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following #72717, a good chunk of the invoke path was move to the managed size. On interpreter, this code is being executed slower. This drop in performance appears to only affect invoking of methods that receive byrefs.
Most of the time spent is in certain type related internal methods, like : RuntimeType:IsValueTypeImpl, RuntimeType:TryByRefFastPath, RuntimeTypeHandle:GetElementType, RuntimeType:IsSubclassOf which also make use of a lot of QCallTypeHandle:.ctor. Consider intrinsifying some of these methods or tweaking the managed path to better suit mono interpreter.
The text was updated successfully, but these errors were encountered:
Tagging subscribers to this area: @BrzVlad
See info in area-owners.md if you want to be subscribed.
Issue Details
Following #72717, a good chunk of the invoke path was move to the managed size. On interpreter, this code is being executed slower. This drop in performance appears to only affect invoking of methods that receive byrefs.
Most of the time spent is in certain type related internal methods, like : RuntimeType:IsValueTypeImpl, RuntimeType:TryByRefFastPath, RuntimeTypeHandle:GetElementType, RuntimeType:IsSubclassOf which also make use of a lot of QCallTypeHandle:.ctor. Consider intrinsifying some of these methods or tweaking the managed path to better suit mono interpreter.
Author:
BrzVlad
Assignees:
BrzVlad
Labels:
area-Codegen-Interpreter-mono
Milestone:
Future
BrzVlad
changed the title
[mono][interpreter] Speed up invoke path
[mono][interp] Speed up invoke path
Nov 30, 2022
Following #72717, a good chunk of the invoke path was move to the managed size. On interpreter, this code is being executed slower. This drop in performance appears to only affect invoking of methods that receive byrefs.
Most of the time spent is in certain type related internal methods, like :
RuntimeType:IsValueTypeImpl
,RuntimeType:TryByRefFastPath
,RuntimeTypeHandle:GetElementType
,RuntimeType:IsSubclassOf
which also make use of a lot ofQCallTypeHandle:.ctor
. Consider intrinsifying some of these methods or tweaking the managed path to better suit mono interpreter.The text was updated successfully, but these errors were encountered: