8000 请教一下这个算法会对页面本身的性能造成影响吗 · Issue #3 · qbright/fmp-timing · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

请教一下这个算法会对页面本身的性能造成影响吗 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hugeorange opened this issue Jun 26, 2021 · 1 comment
Open

Comments

@hugeorange
Copy link

我看代码里用到了不少计算,还有对递归对dom元素进行标记,
使用 getBoundingClientRect 也会造成页面回流

@iNuanfeng
Copy link

计算代码在onload之后,不影响首屏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0