server library

Classes

BenchmarkResults
The result of running a benchmark.
BenchmarkScore
A single benchmark score value collected from the benchmark.
CompilationOptions
Compilation options for bulding a Flutter web app.

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, int benchmarkServerPort = defaultBenchmarkServerPort, int chromeDebugPort = defaultChromeDebugPort, bool headless = true, bool treeShakeIcons = true, CompilationOptions compilationOptions = const CompilationOptions.js(), String benchmarkPath = defaultInitialPath}) Future<BenchmarkResults>
Builds and serves a Flutter Web app, collects raw benchmark data and summarizes the result as a BenchmarkResult.