hexo-theme-next icon indicating copy to clipboard operation
hexo-theme-next copied to clipboard

perf: 手机端的性能似乎不是很好哦

Open pplmx opened this issue 1 year ago • 4 comments

Issue Checklist

Other Information

Desktop

image

Mobile

image

Mobile Details

image

image

image

image

pplmx avatar Feb 19 '24 02:02 pplmx

如果在设置中开启了 motion,你可以试试将其关闭,看看情况是否好转

stevenjoezhang avatar Feb 24 '24 07:02 stevenjoezhang

hi, @stevenjoezhang

很抱歉, 这么久才回复, 经过一个相对长期的报告, 在关闭motion后, 手机端的性能确实提高了

请问, 桌面端和手机端的motion实现方案是不同的么?

关闭的代码是在3.5提交的

image

image

pplmx avatar May 09 '24 09:05 pplmx

我觉得主要原因是这个评价指标对手机端的 motion 不友好,motion启动需要时间,并且动画前后元素会有较大的位移,这都会为评分带来负面影响。

stevenjoezhang avatar May 11 '24 08:05 stevenjoezhang

我觉得主要原因是这个评价指标对手机端的 motion 不友好,motion启动需要时间,并且动画前后元素会有较大的位移,这都会为评分带来负面影响。

好的ヽ( ̄▽ ̄)و, 谢谢

pplmx avatar May 11 '24 09:05 pplmx

我自己优化之后移动端能有个80来分,但只要加上动画,FCP就得3秒起步

flashlab avatar Jul 04 '24 02:07 flashlab

我感觉比较可行的解决方案是增加一个选项,只在桌面端启用motion。移动端为了动画效果而牺牲用户体验是比较遗憾的。

stevenjoezhang avatar Aug 15 '24 16:08 stevenjoezhang