なぜなにTorrent
  • Cover
  • イントロ
    • はじめに
    • Torrentとは
    • ゴール
  • Torrentファイルを読み込む
    • About
    • Bencode
    • Bencodeの実装
    • TorrentFileの中身
  • Httpサーバーを作成してみる
  • UPnpによるポートマップ
    • UPnPによるポートマップ
    • UPnPの実装
  • Trackerへアクセスしてみる
    • About
    • TrackerはHttpサーバ
    • リクエストの中身
    • レスポンスの中身
    • テスト
  • ダウンロードゲームへ参加してみる
    • About
    • ダウンロードゲーム
    • ブロックデーターの実装
    • 配信用、Peerを作成してみよう
    • 基本戦術
    • Chokeの実装
  • DHTに対応してみる
    • About
    • Tracker無しでPeerを探す
    • KademliaのkBucketを利用している
    • RootingTableを実装してみよう
    • FindNodeでネットワークの構築
    • FindNodeを実装
    • GetPeersでInfoHashに対応するPeerを探す
    • テスト
  • [Dartの基礎]
    • [なぜDart]
    • Hello World
    • Test/Debug
      • Get started with Observatory
Powered by GitBook
On this page
  • Observatory: A Profiler for Dart App
  • Using Observatory
  1. [Dartの基礎]

Test/Debug

PreviousHello WorldNextGet started with Observatory

Last updated 7 years ago

本書ではテストファーストで開発を進める事を推奨しています。 テストで固めて、コードをリファクタリングできるように維持していきましょう。

本章では、「Observatory」の使い方についての日本語訳を掲載します。

Observatory: A Profiler for Dart App

引用()

Observatoryは profiling と debugging 用のツールです。

ObservatoryはFreeでGETできます。
https://www.dartlang.org/downloads/ から取得できます。
issueやrequestは、 http://dartbug.com/new で受け付けています。

Observatoryは動作中のDart VM の中身を覗くことができます。そして、即座にレポートしてくれます。

  • どの部分に時間を費やしていたか

  • allocatedした メモリーを調べます。

  • コードのどの部分が実行されたわかります

  • メモリーリークをデバックできます

  • メモリーの断片化をデバックできます

次のビデオは、Dart Developer Summit をレコードしたものです。John McCutchan と Todd Turnidge で 使い方について解説しています。

Using Observatory

To learn about specific features, read these pages:

The following pages have reference information about Observatory:

Support and discussion

Filing bugs and feature requests

Join the to ask questions and chat with users.

To see existing issues or create a new one directly, see all .

https://www.dartlang.org/tools/observatory/
https://youtu.be/y39pZCExsOs?list=PLOU2XLYxmsIIQorIS8gagUiMau9S84vZV
get started with Observatory
Allocation Profile
Code Coverage
CPU Profile
Debugger
Evaluating Expressions
Heap Map
Isolate
Metrics
User and VM Tags
dart: The Standalone VM
Glossary of VM Terms
Screens in Observatory
Observatory discussion mailing list
Observatory issues