core
core copied to clipboard
Log viewer Front end performance Improvement
Describe the bug
This task is to account for the work required in the front end to improve the performance of the log viewer
based on the following items
- The iFRame will still serve as the log-view data source
- The Div that shows the lines will only hold a certain number of "pages" or groups of logs if you will
- Upon the arrival of new pages, a certain percentage of the old pages will be dropped
- The Highlight will be executed on the pages shown on the div view. Never on the whole log to speed up performance
- The number of logs loaded on the iframe can be limited so prior entries will be dropped depending on a param
And this POC https://github.com/dotCMS/core/tree/improve-tail-log
Acceptance criteria
- The log viewer must keep all the functionality of searching, selecting, and highlighting text.
- The log viewer must be able to stay open for hours without crashing down or freezing the browser
- The UI should allow navigation back and forth