web_benchmarks 4.0.0 copy "web_benchmarks: ^4.0.0" to clipboard
web_benchmarks: ^4.0.0 copied to clipboard

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

9
likes
130/ 160
pub points
16.6k
downloads

We analyzed this package 5 days ago, and awarded it 130 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+web_benchmarks%22 was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

154 out of 160 API elements (96.3 %) have documentation comments.

Some symbols that are missing documentation: analysis, client, client.FrameRecorder.FrameRecorder.new, client.LocalBenchmarkServerClient.LocalBenchmarkServerClient.new, metrics.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:web_benchmarks/client.dart that imports:
  • package:web_benchmarks/src/recorder.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform iOS

Because:

  • package:web_benchmarks/client.dart that imports:
  • package:web_benchmarks/src/recorder.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Windows

Because:

  • package:web_benchmarks/client.dart that imports:
  • package:web_benchmarks/src/recorder.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Linux

Because:

  • package:web_benchmarks/client.dart that imports:
  • package:web_benchmarks/src/recorder.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform macOS

Because:

  • package:web_benchmarks/client.dart that imports:
  • package:web_benchmarks/src/recorder.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Web

Because:

  • package:web_benchmarks/analysis.dart that imports:
  • package:web_benchmarks/server.dart that imports:
  • package:web_benchmarks/src/runner.dart that imports:
  • package:web_benchmarks/src/browser.dart that imports:
  • package:webkit_inspection_protocol/webkit_inspection_protocol.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:web_benchmarks/analysis.dart that imports:
  • package:web_benchmarks/server.dart that imports:
  • package:web_benchmarks/src/runner.dart that imports:
  • package:web_benchmarks/src/browser.dart that imports:
  • package:webkit_inspection_protocol/webkit_inspection_protocol.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
collection ^1.18.0 1.19.1 1.19.1
logging ^1.0.2 1.3.0 1.3.0
meta ^1.7.0 1.16.0 1.16.0
path ^1.8.0 1.9.1 1.9.1
process >=4.2.4 <6.0.0 5.0.3 5.0.3
shelf ^1.2.0 1.4.2 1.4.2
shelf_static ^1.1.0 1.1.3 1.1.3
web >=0.5.1 <2.0.0 1.1.1 1.1.1
webkit_inspection_protocol ^1.0.0 1.2.1 1.2.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
convert - 3.1.2 3.1.2
file - 7.0.1 7.0.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.12.0
mime - 2.0.0 2.0.0
platform - 3.1.6 3.1.6
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 1Jul 29Aug 26Sep 23Oct 21Nov 18Dec 16Jan 13Feb 10Mar 1001k2k3k4k5k6k>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0>=3.0.0-0 <4.0.0>=4.0.0-0 <5.0.0
9
likes
130
points
16.6k
downloads

Publisher

verified publisherflutter.dev

Weekly Downloads

2024.09.16 - 2025.03.31

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

collection, flutter, logging, meta, path, process, shelf, shelf_static, web, webkit_inspection_protocol

More

Packages that depend on web_benchmarks