Skip to content

Commit

Permalink
Tweak reduce perf point names
Browse files Browse the repository at this point in the history
Summary:
Tweak reduce phase perf point names so they are clear and aligned with other perf naming for example:
https://www.internalfb.com/code/fbsource/[3c28078fb10c]/fbandroid/libraries/components/litho-core/src/main/java/com/facebook/litho/Layout.kt?lines=66%2C73

Reviewed By: pentiumao

Differential Revision: D52871457

fbshipit-source-id: c2aed48259ea9dcf961aa49454b59fa9eb3037ad
  • Loading branch information
Lulu Wu authored and facebook-github-bot committed Jan 23, 2024
1 parent 786afac commit d746ab3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ class LayoutTreeFuture(
result = root)
}

perfEvent?.markerPoint("start_collect_results")
perfEvent?.markerPoint("start_reduce")
val layoutState =
LithoReducer.reduce(lsc, resolveResult, treeId, layoutCache, reductionState)
perfEvent?.markerPoint("end_collect_results")
perfEvent?.markerPoint("end_reduce")

root?.releaseLayoutPhaseData()

Expand Down

0 comments on commit d746ab3

Please sign in to comment.