Performance

Performance

Przegląd

Performance jest klasą w Aspose.Html FOSS dla Python.

Minimalny szkielet interfejsu Performance.

Ta klasa udostępnia 8 metod do pracy z obiektami Performance w programach Python. Dostępne metody to: __init__, clear_marks, clear_measures, get_entries_by_name, get_entries_by_type, mark, measure, now. Wszystkie publiczne elementy są dostępne dla każdej aplikacji Python po zainstalowaniu pakietu Aspose.Html FOSS dla Python. Właściwości: timing.

Właściwości

NazwaTypDostępOpis
timingPerformanceTimingOdczytZwróć szkielet :class:PerformanceTiming (wszystkie atrybuty 0).

Metody

SygnaturaOpis
__init__()Calls init na tej instancji Performance.
now() → floatZwróć upływające milisekundy od utworzenia tej instancji.
mark(name: str)Zarejestruj mark wpis z podanym name.
`measure(name: str, start_mark: strNone, end_mark: str
get_entries_by_name(name: str) → list[PerformanceEntry]Zwróć wszystkie wpisy, których name matches name.
get_entries_by_type(type_: str) → list[PerformanceEntry]Zwróć wszystkie wpisy, których entry_type matches type_.
`clear_marks(name: strNone)`
`clear_measures(name: strNone)`

Zobacz także

 Polski