Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通常 Firefox ビルドとの比較 #39

Open
9 tasks
dynamis opened this issue Jun 26, 2019 · 0 comments
Open
9 tasks

通常 Firefox ビルドとの比較 #39

dynamis opened this issue Jun 26, 2019 · 0 comments
Assignees
Labels
docs need documents enhancement New feature or request release The information of the provided software/hardware
Milestone

Comments

@dynamis
Copy link
Contributor

dynamis commented Jun 26, 2019

別にそれが主目的ではないが Amethyst ではメモリ使用量や CPU 使用率などが通常の Firefox と比べて軽量化されているが、どの程度の影響・効果があるのかについてはリリース前には一度データを残しておきたい。

  • 空白ページ (about:blank) 単独をコマンドライン指定で起動するときの CPU 使用率、メモリ使用量 (VSZ および RSS) の推移 (60 秒程度)
    • 解像度は RZ/G2E リファレンスの 1280x720 とする
  • デバッガサーバを起動している状態で違いが発生しないか確認
  • テストコンテンツをコマンドライン指定で起動する場合について同様の比較
    • https://gem-tanzanite.github.io/ - 軽量なタッチパネルデモサンプル、サイト側が勝手に変わらないので試験に適する
    • 他に何かサイト側の変わらない、適切なものは?
    • https://www.google.co.jp/maps/ - 読み込み&重たさのテストに比較的よく使われる重量級ページ。サイト側がコロコロ変わるので比較試験は同じタイミングでするもの同士のみ
    • https://www.websocket.org/demos/racer/run/ 読み込みに時間の掛かる webgl 利用例、FPS の記録も
  • テストコンテンツへのリンク一覧ページで起動して暫く放置してからページを開いたときのページ遷移時間 (デバッガを接続してタイムラインを記録)
  • https://html5test.com/ API テスト系は当然結果が変わらない

想定結果:

  • Firefox は Amethyst よりメモリ使用量が大きい (明らかだが数値を残す)
  • Firefox は起動時に長時間 CPU 使用率が高かったり起動後暫くしても断続的な CPU 使用率上昇が見られるが Amethyst ではそれはない (これも明らかだが記録しておく)
  • コンテンツ読み込み時に about:blank に対してのメモリ増加量については大差がない
  • Firefox ビルドはコンテンツプロセスが分離することがあっても Amethyst では単一プロセス
  • ページ遷移・読み込み時間への影響は多少あるかも知れないがあまり大きくない
  • デバッガサーバの影響は少しあるがそこまで大きくない
@dynamis dynamis added enhancement New feature or request docs need documents release The information of the provided software/hardware labels Jun 26, 2019
@dynamis dynamis added this to the 1st Release milestone Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs need documents enhancement New feature or request release The information of the provided software/hardware
Projects
None yet
Development

No branches or pull requests

2 participants