CSS矩阵VS变换。这是更快? [英] Css Matrix vs Transform. Which is Faster?
本文介绍了CSS矩阵VS变换。这是更快?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在网上寻找了一段时间,并不能找到一个回答我的问题,但希望社会知道。
I've been looking on the web for a while and can't find an answer to my question, but hopefully the community knows.
有没有人测试CSS3 maxtrix相比,CSS3转换?我使用大量的变换,但我看到像famo.us和threejs使用更多的矩阵库。难道矩阵只是有一个更好的性能收益?
Has anyone test css3 maxtrix compared to css3 transform? I'm using lots of transforms but I see libraries like famo.us and threejs using more of matrices. Is it possible that matrices just have a better performance yield?
推荐答案
矩阵比较快,但它有更糟糕的浏览器支持:
Matrix is more faster, but it has worse browser support:
http://jsperf.com/css-matrix-vs-transform-primitives
这篇关于CSS矩阵VS变换。这是更快?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文