From 56b717c197f54aa991ea2a4d0eda9a004fa8c665 Mon Sep 17 00:00:00 2001 From: Lorenzo Blasa Date: Mon, 28 Nov 2022 02:54:42 -0800 Subject: [PATCH] Track performance Summary: Track performance for subtree updates Reviewed By: antonk52 Differential Revision: D41531057 fbshipit-source-id: b9cfd04e5d22796f026c56d2fc66c7dea8accb78 --- desktop/plugins/public/ui-debugger/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/plugins/public/ui-debugger/index.tsx b/desktop/plugins/public/ui-debugger/index.tsx index af5796227..df1af2da3 100644 --- a/desktop/plugins/public/ui-debugger/index.tsx +++ b/desktop/plugins/public/ui-debugger/index.tsx @@ -44,6 +44,7 @@ export function plugin(client: PluginClient) { limit: 10 * 1024, }); client.onMessage('perfStats', (event) => { + client.logger.track('performance', 'subtreeUpdate', event, 'ui-debugger'); perfEvents.append(event); });