Skip to content

Commit 2ee8c24

Browse files
authored
Merge pull request #17 from OpenForgeProject/performance-updates
Performance updates
2 parents d73ddaf + 40bfb94 commit 2ee8c24

File tree

4 files changed

+336
-33
lines changed

4 files changed

+336
-33
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ All notable changes to the "magento-log-viewer" extension will be documented in
66
## Next release
77

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

1016
---
1117

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@
6666
"command": "magento-log-viewer.deleteReportFile",
6767
"title": "Delete Report File",
6868
"icon": "$(trash)"
69+
},
70+
{
71+
"command": "magento-log-viewer.openFile",
72+
"title": "Open Log File",
73+
"icon": "$(file)"
74+
},
75+
{
76+
"command": "magento-log-viewer.openFileAtLine",
77+
"title": "Open Log File at Line",
78+
"icon": "$(go-to-file)"
6979
}
7080
],
7181
"configuration": {

0 commit comments

Comments
 (0)