Skip to content

Commit d746ab3

Browse files
Lulu Wufacebook-github-bot
authored andcommitted
Tweak reduce perf point names
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
1 parent 786afac commit d746ab3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

litho-core/src/main/java/com/facebook/litho/LayoutTreeFuture.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ class LayoutTreeFuture(
173173
result = root)
174174
}
175175

176-
perfEvent?.markerPoint("start_collect_results")
176+
perfEvent?.markerPoint("start_reduce")
177177
val layoutState =
178178
LithoReducer.reduce(lsc, resolveResult, treeId, layoutCache, reductionState)
179-
perfEvent?.markerPoint("end_collect_results")
179+
perfEvent?.markerPoint("end_reduce")
180180

181181
root?.releaseLayoutPhaseData()
182182

0 commit comments

Comments
 (0)