Measure performance with an integration test

How to profile performance for a Flutter app.