mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
add name of command for systrace for easier debugging (#54328)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54328 changelog: [internal] makes debugging easier if there is name of command. Reviewed By: christophpurrer, javache Differential Revision: D85784113 fbshipit-source-id: 14f89ea8b8401dce2dc84d14caaecc6cacda04b2
This commit is contained in:
committed by
meta-codesync[bot]
parent
f9754d3459
commit
71f5c744db
@@ -283,8 +283,8 @@ void Scheduler::uiManagerDidDispatchCommand(
|
||||
const std::shared_ptr<const ShadowNode>& shadowNode,
|
||||
const std::string& commandName,
|
||||
const folly::dynamic& args) {
|
||||
TraceSection s("Scheduler::uiManagerDispatchCommand");
|
||||
|
||||
TraceSection s(
|
||||
"Scheduler::uiManagerDispatchCommand", "commandName", commandName);
|
||||
if (delegate_ != nullptr) {
|
||||
auto shadowView = ShadowView(*shadowNode);
|
||||
runtimeScheduler_->scheduleRenderingUpdate(
|
||||
|
||||
Reference in New Issue
Block a user