jacob314 / devtools

Performance tools for Flutter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flutter DevTools

Build Status

Performance tools for Flutter.

What is this?

This repo is a companion repo to the main flutter repo. It contains the source code for a suite of Flutter performance tools.

But there's not much here?

It's still very early in development - stay tuned.

Development

From a separate terminal:

  • cd <path/to/flutter-sdk>/examples/flutter_gallery
  • ensure the iOS Simulator is open (or a physical device is connected)
  • flutter run

From the devtools directory:

  • pub run webdev serve

Then, open a browser window to the local url specified by webdev. After the page has loaded, append ?port=xxx to the url, where xxx is the port number of the service protocol port, as specified by the flutter run output.

For more efficient development, launch your flutter application specifying --observatory-port so the observatory is available on a fixed port. This lets you avoid manually entering the observatory port paremeter each time you launch the application.

Deployment

The strategy to deploy this tool has not yet been finalized. An important thing to be aware of is that the development steps build the application using dartdevc while the application will be deployed using the Dart2Js compiler which generally generates more efficient JS.

About

Performance tools for Flutter.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 86.8%Language:CSS 11.8%Language:HTML 1.1%Language:Shell 0.3%