Skip to content

fix(cpn): log viewer performance#7205

Open
elecpower wants to merge 1 commit intomainfrom
elecpower/cpn-fix-logviewer-perf
Open

fix(cpn): log viewer performance#7205
elecpower wants to merge 1 commit intomainfrom
elecpower/cpn-fix-logviewer-perf

Conversation

@elecpower
Copy link
Copy Markdown
Collaborator

@elecpower elecpower commented Mar 23, 2026

Fixes #7159

Summary of changes:

  • replace QDateTime::fromString with custom conversion of dates and times
  • perform date and time conversion once as log file is parsed
  • add new hidden column to the log grid to hold the converted date and time and reference this column for all date and time usage
  • add debug timers for possible future diagnostic use (though commented out)

@elecpower elecpower added companion Related to the companion software bug/regression ↩️ A new version of EdgeTX broke something backport/2.12 To be backported to a 2.12 release also. labels Mar 23, 2026
@Johanl1964
Copy link
Copy Markdown

Have now tested the companion (Linux), now works really fast with large files, nice work!

@mha1
Copy link
Copy Markdown
Contributor

mha1 commented Mar 23, 2026

Great job Neil. Tested with a 13MB log file (36848 lines). It's lightning fast.

@elecpower elecpower added this to the 3.0 milestone Mar 23, 2026
@elecpower elecpower modified the milestones: 3.0, 2.12.1 Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/2.12 To be backported to a 2.12 release also. bug/regression ↩️ A new version of EdgeTX broke something companion Related to the companion software

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CPN 2.12 W64 / Log Viewer painfully slow

3 participants