web_benchmarks 0.1.0+11 copy "web_benchmarks: ^0.1.0+11" to clipboard
web_benchmarks: ^0.1.0+11 copied to clipboard

A benchmark harness for performance-testing Flutter apps in Chrome.

web_benchmarks #

A benchmark harness for Flutter Web apps. Currently only supports running benchmarks in Chrome.

Writing a benchmark #

An example benchmark can be found in testing/web_benchmark_test.dart.

A web benchmark is made of two parts: a client and a server. The client is code that runs in the browser together with the benchmark code. The server serves the app's code and assets. Additionally, the server communicates with the browser to extract the performance traces.

9
likes
120
points
8.78k
downloads

Publisher

verified publisherflutter.dev

Weekly Downloads

A benchmark harness for performance-testing Flutter apps in Chrome.

Repository (GitHub)
View/report issues
Contributing

Topics

#benchmarking #performance

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_test, logging, meta, path, process, shelf, shelf_static, test, web, webkit_inspection_protocol

More

Packages that depend on web_benchmarks