THPDFType3GlyphCacheStats Record

Reports the hit, miss, eviction and bypass behaviour of the Type 3 glyph CharProc cache used whilst rendering

Declaration

THPDFType3GlyphCacheStats= record
  EntryCount: Integer;
  CachedTokenCount: Integer;
  HitCount: Int64;
  MissCount: Int64;
  EvictionCount: Int64;
  OversizeBypassCount: Int64;
end;

Unit

HPDFPageRenderer

Fields

FieldPurpose
EntryCountHow many Type 3 glyph procedures the per-render cache currently holds
CachedTokenCountContent tokens held in total across cached glyph procedures, bounded by the cache budget
HitCountGlyph procedures served out of the cache rather than being re-interpreted
MissCountGlyph procedures that were not in the cache and were interpreted afresh
EvictionCountGlyphs dropped from the cache so as to stay within the token budget
OversizeBypassCountGlyphs too large to cache, interpreted directly and never cached

Usage notes

Related APIs