web_benchmarks
A benchmark harness for performance-testing Flutter apps in Chrome.
4.1.1
16K downloads/mo
#2408 most downloaded on pub.dev
flutter/packages
What this package is like to depend on
Last release 5 months ago
17 Mar 2026
Ships unpredictably
gaps range from 1 weeks to 13 months
Nearly every release is documented
notes for 35 of 35 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
37 releases · first in 2020
2 releases in the last 12 months
see the full history below
Release timeline
37 releases · Oct 2020 to Mar 2026
2021
2022
2023
2024
2025
2026
Releases
latest 37-
4.1.117 Mar 2026Release notes
Open source →- Makes connecting to Chrome more robust.
- Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
-
4.1.003 Dec 2025Release notes
Open source →- Fixes the reported metrics in
expectedBenchmarkMetricsfor wasm. - Updates minimum supported SDK version to Flutter 3.38/Dart 3.10.
- Fixes the reported metrics in
-
4.0.015 Nov 2024Release notes
Open source →- Breaking change: Removes
CompilationOptions.rendererand theWebRendererenum.
- Breaking change: Removes
-
3.1.104 Nov 2024 -
3.1.002 Oct 2024Release notes
Open source →- Add
flutter_frame.total_time,flutter_frame.build_time, andflutter_frame.raster_timemetrics to benchmark results. These values are derived from the FlutterFrameTimingAPI. - Expose a new library
metrics.dartthat contains definitions for the benchmark metrics. - Add p50, p90, and p95 metrics for benchmark scores.
- Add
-
3.1.0-wip01 Oct 2024 pre-releaseNothing published for this version
-
3.0.001 Oct 2024Release notes
Open source →- Breaking change: removed the
initialPageparameter from theserveWebBenchmarkmethod andrunBenchmarksmethod. Replaced this parameter withbenchmarkPath, which allows for passing the combined value of the URL path segments, fragment, and query parameters. - Restructure the
testing/test_appto make the example benchmarks easier to follow.
- Breaking change: removed the
-
2.1.0-wip12 Sep 2024 pre-releaseNothing published for this version
-
2.0.222 Aug 2024Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
- Updates benchmark server to serve the app as
crossOriginIsolated. This allows us access to high precision timers and allows wasm benchmarks to run properly as well.
-
2.0.101 Aug 2024 -
2.0.027 Jun 2024Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
- Adds support for running benchmarks with the wasm compilation target.
- Breaking change
CompilationOptionsunnamed constructor has been replaced with two named constructors,CompilationOptions.jsandCompilationOptions.wasmfor JavaScript and WebAssembly compilation respectively.
-
1.2.122 Feb 2024 -
1.2.020 Feb 2024Release notes
Open source →- Updates to web code to package
web: ^0.5.0. - Updates SDK version to Dart
^3.3.0. Flutter^3.19.0.
- Updates to web code to package
-
1.1.104 Jan 2024 -
1.1.012 Dec 2023Release notes
Open source →- Adds
computeAverageandcomputeDeltamethods to support analysis of benchmark results.
- Adds
-
1.0.108 Dec 2023Release notes
Open source →- Adds
parseconstructors for theBenchmarkResultsandBenchmarkScoreclasses.
- Adds
-
1.0.008 Dec 2023Release notes
Open source →- Breaking change: replace the
useCanvasKitparameter in theserveWebBenchmarkmethod with a new parametercompilationOptions, which allows you to:- specify the web renderer to use for the benchmark app (html, canvaskit, or skwasm)
- specify whether to use WebAssembly to build the benchmark app
- Breaking change:
serveWebBenchmarknow usescanvaskitinstead ofhtmlas the default web renderer.
- Breaking change: replace the
-
0.1.024 Aug 2022Release notes
Open source →- Migrates to null safety.
- BREAKING CHANGES:
- Required parameters are non-nullable.
-
0.1.0+125 Aug 2022 -
0.1.0+231 Jan 2023 -
0.1.0+322 Mar 2023 -
0.1.0+422 May 2023Release notes
Open source →- Removes obsolete null checks on non-nullable values.
- Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.
-
0.1.0+524 May 2023 -
0.1.0+630 Aug 2023Release notes
Open source →- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
-
0.1.0+712 Oct 2023 -
0.1.0+820 Oct 2023Release notes
Open source →- Adds an optional parameter
treeShakeIconstoserveWebBenchmark. - Adds a required and named parameter
treeShakeIconstoBenchmarkServer.
- Adds an optional parameter
-
0.1.0+904 Dec 2023Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
- Adds an optional parameter
initialPagetoserveWebBenchmark.
-
0.1.0+1006 Dec 2023Release notes
Open source →- Ensure the benchmark client reloads with the proper
initialPage. - Migrates benchmark recorder away from deprecated
js_utilAPIs.
- Ensure the benchmark client reloads with the proper
-
0.1.0+1107 Dec 2023Release notes
Open source →- Migrates benchmark recorder from
dart:htmltopackage:webto support WebAssembly.
- Migrates benchmark recorder from
-
0.0.717 Feb 2022 -
0.0.7+124 Aug 2022 -
0.0.608 Feb 2022Release notes
Open source →- Update implementation of
_RecordingWidgetsBindingto match the new Binding API
- Update implementation of
-
0.0.529 Mar 2021 -
0.0.418 Feb 2021 -
0.0.308 Feb 2021 -
0.0.204 Nov 2020 -
0.0.129 Oct 2020Release notes
Open source →- Provide a benchmark server (host-side) and a benchmark client (browser-side).