Track performance
Summary: Track performance for subtree updates Reviewed By: antonk52 Differential Revision: D41531057 fbshipit-source-id: b9cfd04e5d22796f026c56d2fc66c7dea8accb78
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7f5592a68b
commit
56b717c197
@@ -44,6 +44,7 @@ export function plugin(client: PluginClient<Events>) {
|
||||
limit: 10 * 1024,
|
||||
});
|
||||
client.onMessage('perfStats', (event) => {
|
||||
client.logger.track('performance', 'subtreeUpdate', event, 'ui-debugger');
|
||||
perfEvents.append(event);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user