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
@Hirogen I am going to put here a few thing that I think can improve the code performance, resources, and general improvements to the code base.
I will number them in order to have easier track. If code change happens, I will open a new issue and link to it from here.
AppDomain.CurrentDomain.AssemblyResolve += ColumnizerResolveEventHandler; - I would like to remove this event registration and instead call the code directly without the event. Do you see a problem doing that?
OnDataGridView_CellPainting - Why is this event registered? Why not to do the logic on the SelectionChanged event?
In ReadToBufferList function in LogFileReader there is a while condition that makes the loading super slow due to a lot of notifications being sent. Is there a reason for limiting the buffer with lines and not with size? Why is the default so small - 500? If I put 100000 to the "linesPerBuffer" setting the time goes down from 30 sec. to about 1sec. Solved in PR Improve loading time of a file by changing the default from 500 to 50000 lines per buffer #345
I am trying to improve the ipc(remove the grpc.core). I am trying to test the 1 instance(enable/disable) but can't seem to make it work. @Hirogen can you help? I am on the Devlopment branch. I get an exception on line 159 in Program.cs client.NewWindowOrLockedWindow(new Grpc.FileNames { FileNames_ = { args } }); Exception: The SSL connection could not be established, see inner exception. InnerException: Cannot determine the frame size or a corrupted frame was received. - Continues in Change from gRPC to Named Pipes #374
@Hirogen I am going to put here a few thing that I think can improve the code performance, resources, and general improvements to the code base.
I will number them in order to have easier track. If code change happens, I will open a new issue and link to it from here.
AppDomain.CurrentDomain.AssemblyResolve += ColumnizerResolveEventHandler;- I would like to remove this event registration and instead call the code directly without the event. Do you see a problem doing that?OnDataGridView_CellPainting- Why is this event registered? Why not to do the logic on the SelectionChanged event?TheSolved in PR Status line update - Remove the thread and use event instead #333DelayedTriggermechanism is causing a big delay when navigating over the lines in the DataGridView. I suggest removing it and replace it with a simple event mechanism.In ReadToBufferList function in LogFileReader there is a while condition that makes the loading super slow due to a lot of notifications being sent. Is there a reason for limiting the buffer with lines and not with size? Why is the default so small - 500? If I put 100000 to the "linesPerBuffer" setting the time goes down from 30 sec. to about 1sec.Solved in PR Improve loading time of a file by changing the default from 500 to 50000 lines per buffer #345I am trying to improve the ipc(remove the grpc.core). I am trying to test the 1 instance(enable/disable) but can't seem to make it work. @Hirogen can you help? I am on the Devlopment branch. I get an exception on line 159 in
- Continues in Change from gRPC to Named Pipes #374Program.csclient.NewWindowOrLockedWindow(new Grpc.FileNames { FileNames_ = { args } });Exception: The SSL connection could not be established, see inner exception.
InnerException: Cannot determine the frame size or a corrupted frame was received.