Feeds:
投稿
コメント

Posts Tagged ‘Jason Sims’

Update:Safari のノロノロ回避策》


[WebProcess?:image

Mac OS X 10.6.8 追加アップデートをして以来、いろいろと不具合が生じているが、どうやら原因の一部は Safari にもあるらしい。

Tim Bray が Safari をやめるといっている。

ongoing: “Browser Breakup” by Tim Bray: 18 September 2011

     *     *     *

「WebProcess」による Safari の不具合

Sa­fari はもう何年も私のデフォルトブラウザだった。他と比べてそのフレーミングやエルゴノミクス、ショートカットなどが気に入っていたからだ。しかし使うのを辞めざるを得なくなった。

For some years, Safari has been my default browser. I generally prefer its choices in framing and ergonomics and shortcuts over all others. But I’ve had to stop using it.

Safari の最近のバージョンは作り直されて、いくつかの作業を「WebProcess」と呼ばれるものに下請けさせている。これがうまくいっていないようなのだ。気付いた問題点は次のようなものだ。

In recent releases, Safari has been re-architected, with some of the work farmed out to a thing called “WebProcess”. This doesn’t seem to be working out that well. Specif­i­cally, I note that:

・タブからタブへの移動がのろく、システムの負担が増すといたずらに描き換えが起きる。

・Switch­ing from tab to tab is slug­gish, and when the sys­tem gets over­loaded, you get a lot of gra­tu­itous re­paints.

・システム CPU やメモリーを食っているものを読み出そうとすると WebProcess と Sa­fari の著しいプロセス処理[?]が起きる。

・The WebProcess and Sa­fari processes fea­ture promi­nently in read­outs of what’s con­sum­ing the sys­tem’s CPU and mem­ory.

・タブを数ダース開いたままに(あるものは数日の間、あるものは動的コードでいっぱいに)しておくと、システム全体がどんどん遅くなり、不安定になる。

・When you have a few dozen tabs open, some of them for days, and some of them being full of dy­namic code, the whole sys­tem gets in­creas­ingly slow and un­sta­ble.

     *     *     *

John Gruber も同じような問題があることを認めている。

Daring Firebal: “Safari Regressions” by John Gruber: 19 September 2011

     *     *     *

たくさんのウインドウやタブを開いているとき

私も Safari for Mac について Bray と同じことを経験している。特にたくさんのウインドウやタブを開いているときのパフォーマンスが問題だ。まだ Safari から乗り換えるには至っていないが、あちこち代わりを探している。どちらかといえば Safari 5.1 は、Snow Leopard より Lion の方が悪くなるようだ。

I’m seeing the same things Bray is with Safari for Mac, particularly the performance problems when you have a lot of windows and tabs open. I’m not ready to switch yet, but I’m starting to shop around. And if anything, Safari 5.1 seems worse on Lion than it does on Snow Leopard.

     *     *     *

Safari 5.1 のウインドウやタブを複数開いて、ブログを投稿している最中にビーチボールが回り始めると泣きたくなる。

これまではなかったのに、Mac OS X 10.6.8 追加アップデートをして以来の現象だ。

確かにググってみると、10.6.8 追加アップデートには WebProcess だけでなく(こちらこちら)、いろいろと問題があるようだ(こちらこちら)。

そもそも WebProcess って何なんだ?

WebProcess が原因だといわれてもどうしていいのか分からない。従前の Safari 5.0 に戻したものかどうか。

折角 Lion へアップグレードしようとしているのに悩ましい・・・

★ →[原文を見る:Original Text

     *     *     *

《Update》Safari のノロノロ回避策(9月21日)


[Safari の Debug メニューを表示する]

Safari 5.1 のノロノロについて Jason Sims が迂回策を示している。

Stormcloud: “How to stop Safari 5 from unexpectedly reloading pages” by Jason Sims: 20 September 2011

     *     *     *

ノロノロの回避策はある

頼みもしないのに Safari 5 が勝手にページを再読み込みしてしまうことにイライラしていないだろうか? それを回避する方法はあるのだ。それはそれでいくつか問題が生じるけれども。Safari のエクステンションがいくつか効かなくなるほか、新しいジェスチャーもいくつか機能しなくなる点だ。

Annoyed by Safari 5’s tendency to spontaneously reload pages when you didn’t ask it to? There’s a workaround for it, but it introduces a few problems of its own. Some Safari extensions will not work, and some of the new gestures won’t work either.

     *     *     *

Jason Sims の方法を試してみた John Gruber の感想・・・

Daring Fireball: “How to Revert Safari 5.1 to Its Old Single-Process Mode” by John Gruber: 20 September 2011

     *     *     *

ノロノロは改善するがエクステンションが使えなくなるのが難

Safari 5.1 を古いシングル・プロセス・モードに戻す方法

How to Revert Safari 5.1 to Its Old Single-Process Mode

Safari の隠された「Debug」メニューを有効にして、デフォルトの「Use Multi-process Windows」オプションをオフにするだけでいい。こうして昨日 Safari を数時間使ってみた。Safari 5.1 の一般的なノロノロ状況(たくさんのウインドウやタブを開いているときの)は改善するようだ。 しかしこのモードでは、Safari エクステンションの大部分(少なくとも私が愛用しているもの)が使えなくなるので、私にとっては難がある。

What you do is enable Safari’s hidden Debug menu, and turn off the on-by-default “Use Multi-process Windows” option. I ran Safari like this for a few hours yesterday, and it seems to help with Safari 5.1’s general sluggishness (when you have a lot of windows and tabs open) too. But that fact that most Safari extensions (or at least the ones I care about) no longer work in this mode is a deal-breaker for me.

今日は「WebKit nightly builds」[日本語]へスイッチして試してみようと思っている。

What I’m trying today is switching to the WebKit nightly builds.

     *     *     *

そもそも「Multi-process Windows」とは何なのか。Sims の説明によれば・・・

「multi-process window」とは

ところで、「multi-process window」とはいったい何なのか?

So what is a “multi-process window” anyway?

Safari 5.1 の新しい機能のひとつは、基礎となっているエンジン「WebKit2」が新しいバージョンになったことだ。WebKit2 の新しいプロセスアーキテクチャでは、Safari はそれぞれ別の2つのプロセスから構成される。「UI process」(アプリケーションとしての Safari そのもので、アドレスバー、ツールバー、ブックマークバー、メニューなどを含む)と「web process」(実際のウェブページを読み込み、表示する独立のプロセス)の2つだ。

One of the new features in Safari 5.1 is a major new version of the underlying engine — WebKit2. Under WebKit2’s new process architecture, Safari consists of two separate processes — the “UI process” (the Safari application itself, including the address bar, toolbar, bookmarks bar, menus, etc.), and the “web process” (an independent process that loads and displays actual web pages).

     *     *     *

multi-process window はアプリケーションのクラッシュ防止という観点から新たに採用されたらしいが、それがページの再読み込みに関係しているようだ。

それはさておき、早速 Sims の回避策にしたがってSafari の「Debug」メニューを表示させ[冒頭 Update 画像]、「Use Multi-process Windows」のオプションをオフにしてみた。

まだ数時間しか使っていないが、ページやタブを都合100ほど開いてタブからタブへ移動してみても、再読み込みなしに移動できるようだ。

いつも使っていたエクステンションは使えなくなったが、ストレスが少なくなった分メリットが大きい。

★ →[原文を見る:Jason Sims
★ →[原文を見る:John Gruber

Read Full Post »