-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I notice a performance bottleneck passing to JS a Dictionary<string,string> of 1000 items.
So after a long investigation I found that the culprit is the context switching registering the type.
Every 'WriteProperty' does a context switch. I don't understand why.
So I removed the context switch ( I exposed the 'Enter' and 'Leave' to the rules and I created a 'WriteProperty' that does not switch the context.
The difference is impressive: with the context switch, passing the dictionary it takes 2500ms. Without 15ms.
Do I miss something, or is it a bug ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels