了解 React Native Perf Monitor [英] Understanding React Native Perf Monitor

查看:36
本文介绍了了解 React Native Perf Monitor的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Perf Monitor 中的 JSC 是什么?它代表什么?另外,Perf Monitor 中的两个级别的视图是什么?

What is JSC in the Perf Monitor and what does it represent? Also, what are the two levels of Views in Perf Monitor?

推荐答案

JSC 列表示 JavaScriptCore 托管堆的大小——您的应用程序如何分配 JS 对象.

The JSC column represents the size of the JavaScriptCore managed heap -- how your app is allocating JS objects.

视图"列的两个级别用于显示屏幕上的视图,以及屏幕外或合并的视图.您想尝试使这些数字尽可能接近,以避免不必要的布局计算和处理.

The two levels of the Views column is for Views that are on-screen, versus views that are off-screen or merged. You want to try to get those numbers to be as close as possible to avoid unnecessary layout calculation and processing.

这篇关于了解 React Native Perf Monitor的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆