GetResourceUsageStatisticsJSON
Diagnostics, performance
Opis
Vráti jeden JSON objekt so štatistikami štruktúry, streamov, obrázkov, fontov a cache naprieč dokumentmi vlastnenými inštanciou knižnice
Syntax
Delphi
Function TPDFlib.GetResourceUsageStatisticsJSON: WideString;Return values
JSON objekt obsahujúci počty objektov a resources, odhadované bajty štruktúry, zakódované a dekódované bajty streamov, zlyhania parsera a streamov, špičkovú veľkosť dekódovaného streamu a štatistiky cache objektov, object streamov a display listov
Poznámky
estimatedBytes
operationDecodedBytestotalDecodedBytesResetResourceUsageStatistics
objectStreamCachebytesmaxBytesPerDocumentevictions
displayListCache covers owned PDF object structures and excludes allocator metadata, renderer surfaces and third-party native allocationsbytes is reset automatically at the start of each tracked operation, while replayCost continues until evictions is calledbypasses includes current decoded payload and offset-table