Amend stats

This commit is contained in:
jpirnay
2026-04-24 17:27:50 +02:00
parent 73eee418e0
commit 76bed0b381
2 changed files with 1 additions and 4 deletions
+1 -3
View File
@@ -824,8 +824,7 @@ std::string EpubReaderActivity::buildRenderBenchmarkReport(const LastRenderStats
std::to_string(endSnapshot.fontDecompressMs) + " ms, groups " +
std::to_string(endSnapshot.fontUniqueGroups));
appendLine("Font buffers: page " + std::to_string(endSnapshot.fontPageBufferBytes) + ", glyph table " +
std::to_string(endSnapshot.fontPageGlyphsBytes) + ", hot group " +
std::to_string(endSnapshot.fontHotGroupBytes) + ", peak temp " +
std::to_string(endSnapshot.fontPageGlyphsBytes) + ", peak temp " +
std::to_string(endSnapshot.fontPeakTempBytes));
appendLine("Glyph lookups: " + std::to_string(endSnapshot.fontGetBitmapCalls) + " calls, " +
std::to_string(endSnapshot.fontGetBitmapTimeUs) + " us total");
@@ -1575,7 +1574,6 @@ void EpubReaderActivity::renderContents(std::unique_ptr<Page> page, const int or
lastRenderStats.fontUniqueGroups = stats.uniqueGroupsAccessed;
lastRenderStats.fontPageBufferBytes = stats.pageBufferBytes;
lastRenderStats.fontPageGlyphsBytes = stats.pageGlyphsBytes;
lastRenderStats.fontHotGroupBytes = stats.hotGroupBytes;
lastRenderStats.fontPeakTempBytes = stats.peakTempBytes;
lastRenderStats.fontGetBitmapTimeUs = stats.getBitmapTimeUs;
lastRenderStats.fontGetBitmapCalls = stats.getBitmapCalls;
@@ -85,7 +85,6 @@ class EpubReaderActivity final : public Activity {
uint16_t fontUniqueGroups = 0;
uint32_t fontPageBufferBytes = 0;
uint32_t fontPageGlyphsBytes = 0;
uint32_t fontHotGroupBytes = 0;
uint32_t fontPeakTempBytes = 0;
uint32_t fontGetBitmapTimeUs = 0;
uint32_t fontGetBitmapCalls = 0;