Skip to content

Performance updates #17

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

Merged
merged 3 commits into from
May 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ All notable changes to the "magento-log-viewer" extension will be documented in
## Next release

- feat: improved timestamp formatting for log entries
- fix: Pre-compilation of regular expressions for timestamps: Prevents repeated compilation on each call.
- fix: Caching for JSON reports: Avoids redundant reading and parsing of JSON files.
- fix: Optimized line counting with caching: Reduces time spent counting lines in large files and avoids repeated calculations for unchanged files.
- fix: Improved badge updates with throttling and debouncing: Prevents too frequent updates and implements more efficient counting methods.
- fix: improve type safety in report handling functions
- i18n: translations added

---

Expand Down
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@
"command": "magento-log-viewer.deleteReportFile",
"title": "Delete Report File",
"icon": "$(trash)"
},
{
"command": "magento-log-viewer.openFile",
"title": "Open Log File",
"icon": "$(file)"
},
{
"command": "magento-log-viewer.openFileAtLine",
"title": "Open Log File at Line",
"icon": "$(go-to-file)"
}
],
"configuration": {
Expand Down
Loading