Webkit animations performance on IPad

前端 未结 1 357
Happy的楠姐
Happy的楠姐 2021-02-04 12:44

Do webkit based transformations/animations affect JS performance on the IPad? Is there a separate graphics processor to handle the webkit stuff?

Basically I am developi

1条回答
  •  遥遥无期
    2021-02-04 13:07

    You may check out Thomas Fuchs's article on: Making an iPad HTML5 App & making it really fast

    Some of the points he makes are

    1. Images slow things down immensely– get rid of them
    2. Avoid text-shadow & box-shadow
    3. Avoid opacity (interferes with hardware-accelerated rendering)
    4. Use translate3d, not translate (the latter is not always hard-accelerated)
    5. Make sure to use non-progressive JPEGs if you want hardware-acceleration

    0 讨论(0)
提交回复
热议问题