amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ img.acss139cf{background-color:#0866FF;}img.acss6ea51{background-color:#12AF0A;}img.acss43e08{background-color:#888990;}img.acss69ec8{background-color:#1A1A1A;}img.acssc8f88{background-color:#0166ff;}figure.acss44dd7{max-width:437px;}div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acss31f1e{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2024/02/haagen_01-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acss9d023{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2019/08/PhotoGrid_1566879578471_compress69-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acssf9fda{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2020/11/pos-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss06965{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2019/11/monster-hunter-world-big-update-for-beginners_00-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .ai-align-left * {margin: 0 auto 0 0; text-align: left;} .ai-align-right * {margin: 0 0 0 auto; text-align: right;} .ai-center * {margin: 0 auto; text-align: center; } .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
APPS

結果相差甚遠 有測試指Chrome佔用記憶體比Safari多逾十倍

雖然Chrome仍是不少人的瀏覽器首選,但Chrome其中一個最令用家感到不滿的是佔用過多記憶體,令系統整體運作受影響。最近有開發者就著Safari及Chrome進行比較,發現Chrome佔用的記憶體比Safari多出最少十倍,在某些極度環境中差距更達到二十四倍。

[the_ad_placement id=”ad2″]


開發者Morten Just最近曾利用Safari及Chrome進行比較測試,找出兩款瀏覽器佔用記憶體的多與少。最初他利用虛擬機器程式Virtual Machine,安裝了一個macOS,並在這個虛擬的macOS環境內分別運行Chrome及Safari,而每款瀏覽器都只打開Twitter及Gmail兩個分頁。

圖片來源︰Flotato

測試後發現,Chrome需要佔用1GB左右的記憶體,而Safari則只佔用少於80MB的記憶體。

隨後,他利用一部已安裝Big Sur的2019年版MacBook進行測試,了解於真實作業系統環境中Chrome及Safari的表現有何不同。同時,他更將開啟的分頁數量由兩個大幅提升至五十四個,結果則更驚人。

圖片來源︰Flatato

相比起Safari只需用上六百多MB,平均每個分頁佔去12MB記憶體,Chrome的情況誇張得多,平址每個分頁用上290MB,換言之合共佔去15.6GB。

眾所周知,Chrome是屬於其中一款十分「食RAM」的程式,得出上述結果未必是意外的事。為了管理分頁及加快各分頁載入網站頁面的時間,Chrome會盡量使用裝置內的記憶體完成這些程序,期間令程式對記憶體的需求甚大。

話分兩頭,有網民則不太同意Morten Just的測試結果,認為他忽略了Safari的渲染程序,所以測試結果並不能完全反映真實的情況。有網民則提到,Chrome本身內置工作管理員,可讓用家關閉一些暫時不需再開啟的分頁,釋放曾被佔用的記憶體,有助改善「食RAM」情況。

來源︰MacRumors

 

偽宅男

Windows、iOS、Android 通通都用緊。有穩定版 App 唔用,最愛試 Beta 版