Css Matrix vs Transform. Which is Faster?

只愿长相守 提交于 2019-12-11 06:12:33

问题


I've been looking on the web for a while and can't find an answer to my question, but hopefully the community knows.

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?


回答1:


Matrix is more faster, but it has worse browser support:

http://jsperf.com/css-matrix-vs-transform-primitives



来源:https://stackoverflow.com/questions/20891155/css-matrix-vs-transform-which-is-faster

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!