最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - What is an acceptable render time for a react app? - Stack Overflow

programmeradmin4浏览0评论

In the "React Developer Tools" extension, a profiler has been added that displays the time spent on rendering. Are there any guidelines/table? For example, an acceptable render time for an average web application should be 50-300ms. Or like performance index in chrome developer tool?

In the "React Developer Tools" extension, a profiler has been added that displays the time spent on rendering. Are there any guidelines/table? For example, an acceptable render time for an average web application should be 50-300ms. Or like performance index in chrome developer tool?

Share Improve this question asked Feb 7, 2022 at 12:40 pibocik125pibocik125 1783 silver badges14 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

In generally, render should take about 16 milliseconds. Any longer than that and things start feeling really janky. I would remend this article on performance in react. He is explaining more about profiling and performance in react.
performance with react(with forms) : https://epicreact.dev/improve-the-performance-of-your-react-forms/
profiling article: https://kentcdodds./blog/profile-a-react-app-for-performance

发布评论

评论列表(0)

  1. 暂无评论