標籤為 “介面” 的頁面如下
April 19, 2008
jQuery 與 Prototype 的比較
較早前 jQuery 推出新版本,聲稱效能提高 300%,在差不多時間 Prototype 的最新版本也表示改善了效能(當然還有其他安全性的改進),所以 Piotr Solnica 決定比較一下 jQuery 和 Prototype 在不同瀏覽器上的表現,他在 Firefox、Konqueror、Opera 和 IE 上執行他的測試測網頁,網頁會執行九項操作,每一項都分別用 jQuery 和 Prototype 執行一次,為了公平起見,每兩項操作之間都分隔三秒。時間的量度精度達到千分一秒,為了進一步提高公平性,這個網頁會在每一個瀏覽器上執行三次,取執行時間的平均值。測試的結果可以觀看 Piotr Solnica 的列表。