Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wpf performance #87

Open
codec-abc opened this issue Sep 13, 2021 · 1 comment
Open

Wpf performance #87

codec-abc opened this issue Sep 13, 2021 · 1 comment

Comments

@codec-abc
Copy link

Hi,

I am experimenting using this library to diff rather big YAML (10000-20000) and using the built-in WPF component the starting time is rather long (~15s for a diff between two 10000 lines long files). Is this expected?

@Vicharian
Copy link

I get the following error. The File is 300,000 lines of Json

Managed Debugging Assistant 'ContextSwitchDeadlock' Message=Managed Debugging Assistant 'ContextSwitchDeadlock' : 'The CLR has been unable to transition from COM context 0x16a7ab8 to COM context 0x16a7a00 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants