server library
Classes
- BenchmarkResults
- The result of running a benchmark.
- BenchmarkScore
- A single benchmark score value collected from the benchmark.
Constants
- defaultBenchmarkServerPort → const int
- The default port number used by the local benchmark server.
- defaultChromeDebugPort → const int
- The default port number used for Chrome DevTool Protocol.
Functions
-
serveWebBenchmark(
{required Directory benchmarkAppDirectory, required String entryPoint, required bool useCanvasKit, int benchmarkServerPort = defaultBenchmarkServerPort, int chromeDebugPort = defaultChromeDebugPort, bool headless = true, bool treeShakeIcons = true, String initialPage = defaultInitialPage}) → Future< BenchmarkResults> -
Builds and serves a Flutter Web app, collects raw benchmark data and
summarizes the result as a
BenchmarkResult
.