Skip to content

Explain how to write/run a performance test for a Flutter app #2065

@zoechi

Description

@zoechi

@eseidelGoogle commented on Tue Jan 23 2018

We have our own performance tests (which are public), but we don't really have a good example for developers to use themselves for testing the performance of their app.

One example would be to show an example of replicating the Flutter Gallery missed frames benchmark with a simpler sample app.

Another example could be showing how to benchmark some piece of business logic just like @mraleph showed in his Talk at DartConf.

This bug may be too general to track here, but wanted to write this down for our medium-term docs/examples planning. FYI @mjohnsullivan


@zoechi commented on Tue Dec 04 2018

Is this covered by
https://flutter.io/docs/testing/ui-performance
https://flutter.io/docs/cookbook/testing/integration/profiling
?

Metadata

Metadata

Assignees

No one assigned

    Labels

    a.cookbookRelates to a cookbook recipe or guidecl.fixedIssue is closed as fixede3-weeksEffort: < 4 weeksfix.examplesAdds or changes examplep2-mediumNecessary but not urgent concern. Resolve when possible.t.performanceRelates to performance tuning and optimizationtest.generalRelates to unit, integration, perf testing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions