This is great tool, but unfortunately on our bigger project is nearly unusable.
We have 1700 resource keys in approximately 100 resource files.
When I open ResxManager, visual studio hang to nearly 10 seconds.
Next action unselect all resources, hang next 10 seconds. Practicaly every change selection do this hang.
When I try scroll resources and some name are too long. The ResXManager change layout to show full name, but hang another 5 seconds before change layout.
I profile this preformance issue and attach results .
Results was measured during this sequention actions:
- unselect ALL resources
- select ALL resources
- Scroll from start to end resources
- Scroll from start to end resources
In attachments are unrolled two biggest method.
Thanks .
Comments: ** Comment from web user: jbalarin **
I agree project is not so large, but did you your standard test on a few resource files or hundreds resource files with total 10, 000 entries ?
==> Maybe you run out of memory?
No memory is not issue, I check it. During the hung one cpu core is saturate, and time spend in gc collection is around 2%, so neither gc overhead isn't trouble.
I tryed another test. I select/unselect one resourcefile (with 3 entries and only key column selected to show) from project. Result was hang(saturate cpu) a few seconds before show that few entries.
Profile information in attachement "ProfileOutput_SelectUnselectOneFile.png"
From this and previous profile informations, it look like trouble is in
"TomsToolbox.Wpf.PresentationFrameworkExtensions.ProcessMessages(Dispatcher, DispatcherPriority)" .
Method is maybe call too much unnecessary. I dont know. :)
==> There is no such function in ResXManger that automatically changes the column layout, I wonder how this could happen?
Sorry I not described it enought. I trayed scroll the list of resourcefiles. And the splitter of list resources and entries change position when some resourcefilename length was longer. But when I manualy change splitter position this effect dissappear.