PerfCounter
enum · ferroui-base · v0.5.0
enum PerfCounter
What is counted. Each counter names, in its documentation, the function that counts it.
Members
PropertyChangesRaisedPropertyChangesEffectivePropertyChangesWithPropertyHandlersPropertyChangesWithObjectListenersInheritanceAncestorChangesInheritedValuesComparedInheritedValuesDifferingInheritedValueWalkVisitsInheritanceAncestorWalkVisitsInheritedEffectiveValueWalkVisitsStylingPassesCompletedSingleValueReevaluationsFullValueReevaluationsReevaluatedEffectiveValuesReevaluatedFrameEntriesLogicalTreeAttachmentsLogicalTreeDetachmentsImplicitThemeLookupsStyleHostsWalkedStylesEvaluatedStylesMatchedControlThemesEvaluatedControlThemesMatchedStyleInstancesAttachedStyleInstancesCreatedResourceLookupsResourceHostsProbedBindingsInstancedBindingExpressionsCreatedTemplateBindingExpressionsCreatedDynamicResourceExpressionsCreatedSetterBindingEntriesCreatedBindingExpressionsStartedDynamicResourceExpressionsStartedDynamicResourceLookupsDynamicResourceNotificationsSeenBindingValuesPublishedTextLayoutsCreatedTextShapingEditsTriedTextShapingEditsKeptTextBreakEditsKeptTextLayoutCacheHitsTextLayoutCacheMissesTextLayoutCacheEvictionsTextLayoutCacheFirstRequestsTextLinesFormattedTextRunCacheHitsTextRunCacheMissesTextGlyphRunsKeptTextRunsShapedTextBlockLayoutDropsShapingTextBlockLayoutDropsParagraphTextBlockLayoutDropsMeasureInvalidatedTextBlockLayoutDropsMeasureConstraintTextBlockLayoutDropsEmbeddedControlsTextBlockLayoutDropsArrangeAlignmentTextBlockLayoutDropsArrangeConstraintTextBlockLayoutsCreatedByMeasureTextBlockLayoutsCreatedByArrangeContainersRecycledContainersReusedContainersCreatedContentPresenterChildrenReplacedMeasuresExecutedArrangesExecutedRoutedEventRoutesSkippedLayoutPassRoundsLayoutMeasureInvalidatedInPassVisualsRecordedVisualsRecordedUnchangedVisualsRecordedInPlaceVisualsRecordedAsItemsCompositionVisualsCreatedCompositionVisualsKeptDrawingItemsKeptCompositionChildrenListedCompositionBatchesCommittedCompositionBatchObjectsCompositionBatchValueBytesUiRenderPassesRenderFramesDrawnRenderDirtyBoundsPixelsRenderTargetPixelsRenderUpdateVisualsVisitedRenderVisualsDirtyRenderDirtyRectsAddedRenderVisualsVisitedRenderVisualsRenderedRenderVisualTransformsSetRenderCanvasTransformsAppliedRenderVisualClipsPushedRenderItemsDrawnRenderVisualOpacitiesPushedRenderCachedVisualsDrawnRenderLinesDrawnRenderRectanglesDrawnRenderEllipsesDrawnRenderGeometriesDrawnRenderGlyphRunsDrawnRenderGlyphsDrawnRenderGlyphRunsFirstDrawnRenderBitmapsDrawnRenderClipsPushedRenderGeometryClipsPushedRenderLayersPushedRenderTransformsPushedSkiaLayersBeganToPipelineSkiaFramesPipelinedSkiaBandsMovedSkiaPipelinedFramesPlayedDirectlySkiaPipelinedLayerReadsInFramesALLname
PropertyChangesRaised
PropertyChangesRaised
FerroObject::raise_property_changed: every notification built and
passed to the on_property_changed chain of the class.
PropertyChangesEffective
PropertyChangesEffective
FerroObject::raise_property_changed: the ones of an effective
value, which go on to the handlers of the property and the listeners
of the object.
PropertyChangesWithPropertyHandlers
PropertyChangesWithPropertyHandlers
PropertyChangedObservable::notify: the property has at least one
handler (the class handlers and the subscriptions to the property).
PropertyChangesWithObjectListeners
PropertyChangesWithObjectListeners
FerroObject::raise_property_changed: the object has at least one
listener of its property changes.
InheritanceAncestorChanges
InheritanceAncestorChanges
ValueStore::set_inheritance_parent: the inheritance ancestor of an
object changed.
InheritedValuesCompared
InheritedValuesCompared
ValueStore::set_inheritance_parent: the inherited properties of the
old and the new ancestor chain that were paired.
InheritedValuesDiffering
InheritedValuesDiffering
ValueStore::set_inheritance_parent: the ones whose old and new
value differ, each of which starts a walk of the subtree.
InheritedValueWalkVisits
InheritedValueWalkVisits
ValueStore::inherited_value_changed: the objects such a walk
reaches (the object itself and its inheritance descendants, once per
property).
InheritanceAncestorWalkVisits
InheritanceAncestorWalkVisits
ValueStore::on_inheritance_ancestor_changed: visits that update the
nearest inherited-value holder, including stops at local holders.
InheritedEffectiveValueWalkVisits
InheritedEffectiveValueWalkVisits
ValueStore::on_ancestor_inherited_value_changed: visits for a change
to an existing inherited effective value, including local overrides.
StylingPassesCompleted
StylingPassesCompleted
ValueStore::end_styling: completed outermost styling batches.
SingleValueReevaluations
SingleValueReevaluations
ValueStore::reevaluate_effective_value: non-deferred single-property
reevaluation attempts (including restarts).
FullValueReevaluations
FullValueReevaluations
ValueStore::reevaluate_effective_values: non-deferred full-store
reevaluation attempts (including restarts).
ReevaluatedEffectiveValues
ReevaluatedEffectiveValues
Existing effective values reset by a full-store reevaluation.
ReevaluatedFrameEntries
ReevaluatedFrameEntries
Frame entries visited by a full-store reevaluation, before priority and value availability checks.
LogicalTreeAttachments
LogicalTreeAttachments
StyledElement::on_attached_to_logical_tree_core: an element that
was not in a logical tree enters one.
LogicalTreeDetachments
LogicalTreeDetachments
StyledElement::on_detached_from_logical_tree_core: an element
leaves its logical tree.
ImplicitThemeLookups
ImplicitThemeLookups
StyledElement::get_effective_theme: the implicit theme was not
known and was looked up as a resource.
StyleHostsWalked
StyleHostsWalked
StyledElement::apply_styles: a style host between the element and
the root was asked for its styles.
StylesEvaluated
StylesEvaluated
Style::try_attach_checked and ContainerQuery::try_attach_checked:
a style with setters (a query with children) was matched against an
element.
StylesMatched
StylesMatched
The same functions: the selector (the query) matched and the style was instanced on the element.
ControlThemesEvaluated
ControlThemesEvaluated
ControlTheme::try_attach_checked: a control theme was tested
against the style key of an element.
ControlThemesMatched
ControlThemesMatched
ControlTheme::try_attach_checked: it applies and was instanced.
StyleInstancesAttached
StyleInstancesAttached
StyleBase::try_attach_instance: a style instance was added to the
value store of an element.
StyleInstancesCreated
StyleInstancesCreated
StyleBase::try_attach_instance: the instance was built (its setters
instanced) instead of the shared instance of the style being taken.
ResourceLookups
ResourceLookups
IResourceHost::try_find_resource: a lookup up the logical tree.
ResourceHostsProbed
ResourceHostsProbed
IResourceHost::try_find_resource: the hosts such a lookup asked
(try_get_resource of the host and of each styling parent).
BindingsInstanced
BindingsInstanced
FerroObject::bind_binding_with_anchor: a binding was instanced on
a property of an object.
BindingExpressionsCreated
BindingExpressionsCreated
UntypedBindingExpressionBase::new and TypedBindingExpression::new:
a binding expression was created (by a binding, a setter, a template
binding or a dynamic resource).
TemplateBindingExpressionsCreated
TemplateBindingExpressionsCreated
TemplateBindingExpression::new.
DynamicResourceExpressionsCreated
DynamicResourceExpressionsCreated
DynamicResourceExpression::new (the XAML runtime library).
SetterBindingEntriesCreated
SetterBindingEntriesCreated
SetterBindingEntry::new: a style attach made the entry of a setter
whose value is a binding. The entry creates its binding expression
when its value is first asked for.
BindingExpressionsStarted
BindingExpressionsStarted
UntypedBindingExpression::start of an expression that was not
running: the expression subscribed to its source.
DynamicResourceExpressionsStarted
DynamicResourceExpressionsStarted
DynamicResourceExpression::on_start (the XAML runtime library): the
expression found its host, subscribed to it and looked its resource up.
DynamicResourceLookups
DynamicResourceLookups
DynamicResourceExpression::publish_value (the XAML runtime library):
a dynamic resource looked its resource up and published it.
DynamicResourceNotificationsSeen
DynamicResourceNotificationsSeen
DynamicResourceExpression (the XAML runtime library): a notification
of changed resources that was not newer than the last lookup of the
expression, which did not look up again.
BindingValuesPublished
BindingValuesPublished
UntypedBindingExpressionBase::publish_value of a running
expression and TypedBindingExpression::publish_value.
TextLayoutsCreated
TextLayoutsCreated
TextLayout::from_text_source.
TextShapingEditsTried
TextShapingEditsTried
TextFormatterImpl::shape_keeping: a long text was shaped from the shaping of the text its
owner had before (step 7 of text-layout-performance.md).
TextShapingEditsKept
TextShapingEditsKept
The edit kept glyphs of the shaping before.
TextBreakEditsKept
TextBreakEditsKept
The break opportunities of the text were made from the table of the text before.
TextLayoutCacheHits
TextLayoutCacheHits
TextLayoutCache::get_or_create: the layout of a plain text was the one kept for it.
TextLayoutCacheMisses
TextLayoutCacheMisses
TextLayoutCache::get_or_create: the layout of a plain text was made and kept.
TextLayoutCacheEvictions
TextLayoutCacheEvictions
TextLayoutCache: a kept layout nothing held was let go for room.
TextLayoutCacheFirstRequests
TextLayoutCacheFirstRequests
TextLayoutCache::get_or_create: the cache was full and was asked for the text for
the first time; the layout was made for its caller alone.
TextLinesFormatted
TextLinesFormatted
TextFormatterImpl::format_line_with_cache: a line was asked for.
TextRunCacheHits
TextRunCacheHits
TextFormatterImpl::format_line_with_cache: the shaped runs of the
line came from the text run cache.
TextRunCacheMisses
TextRunCacheMisses
TextFormatterImpl::format_line_with_cache: a cache was given, did
not hold the line, and the shaped runs were added to it.
TextGlyphRunsKept
TextGlyphRunsKept
TextRunCache::adopt_line_glyph_runs: a run of a line took the platform glyph run of
the same glyphs of the layout before.
TextRunsShaped
TextRunsShaped
TextShaper::shape_text: a run was shaped by the platform shaper.
TextBlockLayoutDropsShaping
TextBlockLayoutDropsShaping
TextBlock::invalidate_text_layout: a layout was dropped with its shaped runs (the text
or a property the shaping depends on changed).
TextBlockLayoutDropsParagraph
TextBlockLayoutDropsParagraph
TextBlock::invalidate_text_layout_keep_cache: a layout was dropped and its shaped runs
kept (a property of the paragraph changed).
TextBlockLayoutDropsMeasureInvalidated
TextBlockLayoutDropsMeasureInvalidated
TextBlock::on_measure_invalidated: a layout was dropped because the measure of the
text block was invalidated by something else than its text.
TextBlockLayoutDropsMeasureConstraint
TextBlockLayoutDropsMeasureConstraint
TextBlock::measure_override: a layout was dropped for the constraint of the measure.
TextBlockLayoutDropsEmbeddedControls
TextBlockLayoutDropsEmbeddedControls
TextBlock::measure_override: a layout was dropped because an embedded control was
measured again.
TextBlockLayoutDropsArrangeAlignment
TextBlockLayoutDropsArrangeAlignment
TextBlock::arrange_override: a layout was dropped because the alignment of the arrange
is not the one it was created with.
TextBlockLayoutDropsArrangeConstraint
TextBlockLayoutDropsArrangeConstraint
TextBlock::arrange_override: a layout was dropped for the constraint of the arrange.
TextBlockLayoutsCreatedByMeasure
TextBlockLayoutsCreatedByMeasure
TextBlock::measure_override: the measure created the layout.
TextBlockLayoutsCreatedByArrange
TextBlockLayoutsCreatedByArrange
TextBlock::arrange_override: the arrange created the layout.
ContainersRecycled
ContainersRecycled
VirtualizingStackPanel::recycle_element: a container left the
viewport, was cleared and went to the recycle pool.
ContainersReused
ContainersReused
VirtualizingStackPanel::get_recycled_element: a container of the
pool was prepared for another item.
ContainersCreated
ContainersCreated
VirtualizingStackPanel::create_element: a container was created.
ContentPresenterChildrenReplaced
ContentPresenterChildrenReplaced
ContentPresenter::update_child_with: the child of a content
presenter was replaced by another control or removed.
MeasuresExecuted
MeasuresExecuted
Layoutable::measure: the measure of an element ran (its result was not the cached one).
ArrangesExecuted
ArrangesExecuted
Layoutable::arrange: the arrange of an element ran.
RoutedEventRoutesSkipped
RoutedEventRoutesSkipped
Interactive::build_event_route: a routed event was raised that has no class handler
and no instance handler on the thread, so its route was left empty without walking the
ancestors.
LayoutPassRounds
LayoutPassRounds
LayoutManager::inner_layout_pass: a round of measure and arrange passes.
LayoutMeasureInvalidatedInPass
LayoutMeasureInvalidatedInPass
LayoutManager::invalidate_measure: the measure of an element was invalidated while a
layout pass ran (what makes a pass take another round).
VisualsRecorded
VisualsRecorded
CompositingRenderer::update_core: the drawing of a visual was recorded.
VisualsRecordedUnchanged
VisualsRecordedUnchanged
CompositingRenderer::update_core: a recorded drawing was the one the visual had, and
was not sent again.
VisualsRecordedInPlace
VisualsRecordedInPlace
CompositingRenderer::update_core: a recorded drawing was given to the render data the
visual had, whose server-side object was kept.
VisualsRecordedAsItems
VisualsRecordedAsItems
CompositingRenderer::update_core: the drawing of a visual without a composition visual
was recorded as an item of the composition visual above (desktop-performance.md,
section 9.42).
CompositionVisualsCreated
CompositionVisualsCreated
Visual::attach_to_compositor_core: a composition visual was created for a visual that
entered a visual tree.
CompositionVisualsKept
CompositionVisualsKept
Visual::attach_to_compositor_core: a visual that entered a visual tree rejoined with
the composition visual it had when it left one (desktop-performance.md, section 9.32).
DrawingItemsKept
DrawingItemsKept
Visual::on_attached_to_visual_tree: a visual that entered a visual tree is shown again
by the drawing item it had when it left one (desktop-performance.md, section 9.42).
CompositionChildrenListed
CompositionChildrenListed
Visual::synchronize_composition_child_visuals: the child composition visuals and the
items of the composition visual of a visual with something below it were listed from the
visual tree (desktop-performance.md, section 9.42).
CompositionBatchesCommitted
CompositionBatchesCommitted
Compositor::commit: a batch of changes was sent to the render thread.
CompositionBatchObjects
CompositionBatchObjects
Compositor::commit: the entries of the object stream of the batches (a server object,
a marker, a handle that is sent as it is).
CompositionBatchValueBytes
CompositionBatchValueBytes
Compositor::commit: the bytes of the value stream of the batches.
UiRenderPasses
UiRenderPasses
MediaContext::render: a render pass of the UI thread (callbacks, layout, commit).
RenderFramesDrawn
RenderFramesDrawn
ServerCompositionTarget::render_frame: a frame was drawn.
RenderDirtyBoundsPixels
RenderDirtyBoundsPixels
ServerCompositionTarget::render_frame: the pixels of the bounds of the dirty region.
RenderTargetPixels
RenderTargetPixels
ServerCompositionTarget::render_frame: the pixels of the target.
RenderUpdateVisualsVisited
RenderUpdateVisualsVisited
The update pass (UpdateContext::pre_subgraph): a visual was visited.
RenderVisualsDirty
RenderVisualsDirty
The update pass (UpdateContext::post_subgraph): a visual was dirty for render.
RenderDirtyRectsAdded
RenderDirtyRectsAdded
The update pass (UpdateContext::add_to_dirty_region): a rectangle was added to the
dirty region.
RenderVisualsVisited
RenderVisualsVisited
The render walk (ServerCompositionVisual::render): a visual was visited.
RenderVisualsRendered
RenderVisualsRendered
The render walk: a visual was drawn (it meets the clip and the dirty region).
RenderVisualTransformsSet
RenderVisualTransformsSet
The render walk: a visual with its own transform set the transform of the canvas.
RenderCanvasTransformsApplied
RenderCanvasTransformsApplied
The drawing context of the backend: a transform of the context reached the canvas (a transform that is replaced before the canvas is used does not).
RenderVisualClipsPushed
RenderVisualClipsPushed
The render walk: a visual pushed its clip to bounds.
RenderItemsDrawn
RenderItemsDrawn
The render walk: a drawing item of a visual was drawn (section 9.42).
RenderVisualOpacitiesPushed
RenderVisualOpacitiesPushed
The render walk: a visual pushed its opacity.
RenderCachedVisualsDrawn
RenderCachedVisualsDrawn
The render walk: a visual was drawn from its bitmap cache.
RenderLinesDrawn
RenderLinesDrawn
The replay of a drawing (RenderDataStreamReplay): a line.
RenderRectanglesDrawn
RenderRectanglesDrawn
The replay of a drawing: a rectangle.
RenderEllipsesDrawn
RenderEllipsesDrawn
The replay of a drawing: an ellipse.
RenderGeometriesDrawn
RenderGeometriesDrawn
The replay of a drawing: a geometry.
RenderGlyphRunsDrawn
RenderGlyphRunsDrawn
The replay of a drawing: a glyph run.
RenderGlyphsDrawn
RenderGlyphsDrawn
The drawing context of the backend: the glyphs of the glyph runs drawn.
RenderGlyphRunsFirstDrawn
RenderGlyphRunsFirstDrawn
The drawing context of the backend: a glyph run was drawn for the first time, from its glyphs and without a retained blob.
RenderBitmapsDrawn
RenderBitmapsDrawn
The replay of a drawing: a bitmap.
RenderClipsPushed
RenderClipsPushed
The replay of a drawing: a clip was pushed.
RenderGeometryClipsPushed
RenderGeometryClipsPushed
The replay of a drawing: a geometry clip was pushed.
RenderLayersPushed
RenderLayersPushed
The replay of a drawing: an opacity, a layer, an opacity mask or an effect was pushed.
RenderTransformsPushed
RenderTransformsPushed
The replay of a drawing: a transform was pushed.
SkiaLayersBeganToPipeline
SkiaLayersBeganToPipeline
PipelinedLayer::begin_frame: a layer that drew its frames directly began to pipeline
them.
SkiaFramesPipelined
SkiaFramesPipelined
PipelinedLayer::finish_frame: a frame was handed to the threads of the layer.
SkiaBandsMoved
SkiaBandsMoved
PipelinedLayer::finish_frame: the bands of the layer were moved to rows of equal cost.
SkiaPipelinedFramesPlayedDirectly
SkiaPipelinedFramesPlayedDirectly
PipelinedLayer::finish_frame: a recorded frame was played on the recorder of the
context (it had a draw only that recorder draws, or the threads were not there).
SkiaPipelinedLayerReadsInFrames
SkiaPipelinedLayerReadsInFrames
PipelinedLayerSurface::surface: the layer was read while one of its frames was drawn.
ALL
const ALL: &'static [PerfCounter]
Every counter, in the order of the report.
name
const fn name(self: Self) -> &'static str
The name of the counter in the report.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.