ふと見つけたこれやったら、ホントに凄い勢いで速くなった…快適。
メモ代わりに。
参考:Firefoxを光速に至らしめ、さらばIE :: Text Ocean
user_pref(”network.http.pipelining”, true);
user_pref(”network.http.pipelining.firstrequest”, true);
user_pref(”network.http.pipelining.maxrequests”, 8);
user_pref(”network.http.max-connections”, 32);
user_pref(”network.http.max-connections-per-server”, 8);
user_pref(”network.http.max-persistent-connections-per-proxy”, 8);
user_pref(”network.http.max-persistent-connections-per-server”, 4);
user_pref(”nglayout.initialpaint.delay”, 0);
user_pref(”content.notify.backoffcount”, 5);
user_pref(”plugin.expose_full_path”, true);
user_pref(”ui.submenuDelay”, 0);
user_pref(”content.interrupt.parsing”, true);
user_pref(”content.max.tokenizing.time”, 2250000);
user_pref(”content.notify.interval”, 750000);
user_pref(”content.notify.ontimer”, true);
user_pref(”content.switch.threshold”, 750000);
user_pref(”browser.cache.memory.capacity”, 65536);
で一応何やってるかよくわからんと後で困りそうなので「チューニング - Mozilla Firefox まとめサイト」を参考にしつつ、メモ。あってるかは自信無し。
1: user_pref(”network.http.pipelining”, true);
2: user_pref(”network.http.pipelining.firstrequest”, true);
3: user_pref(”network.http.pipelining.maxrequests”, 8);
<!–
user_pref(”network.http.proxy.pipelining”, true);
user_pref(”network.http.proxy.pipelining.maxrequests”, 16);
–>
パイプラインを有効にし、パイプライン処理時の最大同時転送数を8とする。
もっとデカくするのも手かも。
ちなみにプロキシ経由の人はコメントアウトしてあるのも追加が吉か?
4: user_pref(”network.http.max-connections”, 32);
HTTP通信の最大接続数を指定。
5: user_pref(”network.http.max-connections-per-server”, 8);
1個のサーバに対するセッションの最大数の設定。
6: user_pref(”network.http.max-persistent-connections-per-proxy”, 8);
1個のプロクシサーバに対する持続セッションの最大数の設定。
7: user_pref(”network.http.max-persistent-connections-per-server”, 4);
1個のサーバに対する持続セッションの最大数の設定。
8: user_pref(”nglayout.initialpaint.delay”, 0);
ページの表示開始時間をミリ秒単位で設定。
9: user_pref(”content.notify.backoffcount”, 5);
ページの大まかなレイアウトの計算がすんだ時に、レンダリングが始まるまでのページの再処理時間の設定。
10: user_pref(”plugin.expose_full_path”, true);
プラグインのある場所の完全なパスを与える。
11: user_pref(”ui.submenuDelay”, 0);
サブメニューの表示待機時間の設定。
12: user_pref(”content.interrupt.parsing”, true);
処理がループしてしまったときに解析を中断させるか否かの設定。
13: user_pref(”content.max.tokenizing.time”, 2250000);
12行目のcontent.interrupt.parsingをtrueにしたとき、中断処理までの時間の設定。
14: user_pref(”content.notify.interval”, 750000);
9行目のcontent.notify.backoffcountで決めた初期時間の間隔
15: user_pref(”content.notify.ontimer”, true);
ページのレンダリング中の基準時間の有効
16: user_pref(”content.switch.threshold”, 750000);
ここで指定した時間、マウス又はキー操作をしないと high frequency mode から low frequency mode に切り替わる。
なお、この値は14行目のcontent.notify.intervalと同じ値にする方が望ましい。
17: user_pref(”browser.cache.memory.capacity”, 65536);
キャシュメモリのサイズをKB単位で指定。
で、よくわかんないcontent.notify.ontimerとか効いてる実感ないんで無視してこんな感じのuser.jsにしてみた。
user_pref(”network.http.pipelining”, true);
user_pref(”network.http.pipelining.firstrequest”, true);
user_pref(”network.http.pipelining.maxrequests”, 8);
user_pref(”network.http.max-connections”, 32);
user_pref(”network.http.max-connections-per-server”, 8);
user_pref(”network.http.max-persistent-connections-per-proxy”, 8);
user_pref(”network.http.max-persistent-connections-per-server”, 4);
user_pref(”nglayout.initialpaint.delay”, 0);
user_pref(”plugin.expose_full_path”, true);
user_pref(”ui.submenuDelay”, 0);
user_pref(”content.interrupt.parsing”, true);
user_pref(”content.max.tokenizing.time”, 2250000);
user_pref(”content.switch.threshold”, 750000);
user_pref(”browser.cache.memory.capacity”, 65536);
user_pref(”browser.cache.disk.enable”, false);
今更弄ってみたけど凄い変わるなぁ。結構これからコマめに弄りそうな予感。
[追記]
Firefox2.0のアドオンFasterfoxと共存させるとFasterfoxが設定を上書きしてしまうので,user.jsを編集してこれを使う場合はFasterfoxを削除または無効化してください。
自分の体感では,Fasterfoxはやりすぎ感があってむしろあまり早い気がしないのですが…
[2007-10-03 追記]
このエントリはかつて
Blosxom 用に書いたものをスクリプトで自動変換したものです。真面目に確認していないので,デザインの崩れやリンク切れが残っています場合にはご容赦ください。