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
{{ message }}
Repository navigation
FSharp.Interactive.Session.bufferEvent causing UI delays that are 5 > x >= 2 seconds #6077
I haven't reproduced this at all and my UI delays internally don't show this either. Will close this out since others haven't really noticed anything significant.
Activity
abelbraaksma commentedon Jan 11, 2019
Does this happen when you type in FSI inside VS? Or is this called when typing in the main code window, inside some large project?
cartermp commentedon Jan 11, 2019
This is inside VS only, and based on my understanding, when you interact with the FSI window there:
https://github.com/Microsoft/visualfsharp/blob/fead0aac540485683f694524eadad79983ec28d9/vsintegration/src/FSharp.VS.FSI/fsiSessionToolWindow.fs#L212-L215
jackmott commentedon Feb 5, 2019
Maybe a concurrentqueue would perform better here?
cartermp commentedon Feb 5, 2019
I doubt a ConcurrentQueue would help. It runs this routine on the UI thread.
jackmott commentedon Feb 5, 2019
What are the locks for? Just in case the Timer fires off the function at overlapping intervals? Could we make that impossible and not need locks?
Alternatively could we use the C# Queue here instead of a linkedlist for better memory locality?
cartermp commentedon Sep 11, 2020
I haven't reproduced this at all and my UI delays internally don't show this either. Will close this out since others haven't really noticed anything significant.