Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> Windows 資訊

Win10 周年更新 Edge 獲 JavaScript 性能大幅提升:Chakra 引擎優化細節曝光

編輯:Windows 資訊

微軟宣布 Edge 瀏覽器 Chakra JavaScript 引擎多項改進,將隨周年更新推出。核心優化包括:

  • 記憶體優化:重構函數元資料格式,將少用函數指標移至動態輔助結構,利用 1 位元組儲存計數器(多數值 < 256),減少記憶體佔用。
  • 延遲解析事件處理器:頁面載入時不再解析所有事件處理器,僅即時解析實際用到的部分,避免浪費資源。

測試環境為戴爾 Optiplex 7010(i5-3475S、4GB RAM),在較舊硬體上驗證新功能效能。微軟已於 1 月開源 ChakraCore,有興趣開發者可至 GitHub 查看。

Copyright © Windows教程網 All Rights Reserved