60fps 版面配置與算繪
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
專案中的 60 fps 與使用者參與度直接相關,是他們成功的重要關鍵。在這場談話中,Nat 和 Tom 談到 Chrome 的轉譯管道,而且是導致影格出現的常見原因和避免方式。
簡報
- 影格長度為 16 毫秒。其中包含 JavaScript、樣式計算、繪畫和合成。
- 繪圖的成本「非常」高。「顏料風暴」是多餘的重複繪製顏料。
- 圖層可用來快取繪製的元素。
- 輸入處理常式 (觸控式和滑鼠滾輪事件監聽器) 可能會終止回應;如果可以的話,請避免使用。讓這些團隊面臨的困境。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-02-22 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]