wxMaxima
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
Configuration::PerformanceStats Struct Reference

Public Member Functions

void Report () const
 

Data Fields

std::atomic< long > manualAnchorsFromBuiltin {0}
 
std::atomic< long > manualAnchorsFromCache {0}
 
std::atomic< long > manualAnchorsCompiled {0}
 
std::atomic< long > maximaProcessesSpawned {0}
 
std::atomic< long > fontCacheHits {0}
 
std::atomic< long > fontCacheMisses {0}
 
std::atomic< long > recalculationNeeded_FontInvalid {0}
 
std::atomic< long > recalculationNeeded_SizeInvalid {0}
 
std::atomic< long > recalculationNeeded_FontMismatch {0}
 
std::atomic< long > recalculationNeeded_ConfigChanged {0}
 
std::atomic< long > recalculationNeeded_CellsAppended {0}
 
std::atomic< long > recalculationNeeded_EditorDirty {0}
 
std::atomic< long > cellsConvertedToLinear {0}
 
std::atomic< long > cellsConvertedTo2D {0}
 
std::atomic< long > cellsDrawnAtWrongFontSize {0}
 How many cells were drawn at a different font size than they were laid out with.
 
std::atomic< long > worksheetRepaints {0}
 How often the worksheet was repainted (Worksheet::OnPaint ran)
 
std::atomic< long > worksheetFullRepaints {0}
 How many of those repaints covered (nearly) the whole visible worksheet.
 

Field Documentation

◆ cellsDrawnAtWrongFontSize

std::atomic<long> Configuration::PerformanceStats::cellsDrawnAtWrongFontSize {0}

How many cells were drawn at a different font size than they were laid out with.

Nonzero means a cell was re-measured behind its owner's back (e.g. a lazy GetWidth() repair or a draw-list recalculation at the top-level font size) after the surrounding cells had already cached extents based on the owner-dictated size: the visible symptom is text in 2D fractions shown at full size and parentheses narrower than their content.

◆ worksheetFullRepaints

std::atomic<long> Configuration::PerformanceStats::worksheetFullRepaints {0}

How many of those repaints covered (nearly) the whole visible worksheet.

Full repaints re-render every visible cell's text, so they are the expensive kind: this counter rising while the user merely moves the mouse or a cursor blinks reproduces the "constant full redraws" performance bug class (e.g. the composited GTK overlay scrollbar).


The documentation for this struct was generated from the following files: