benchmark_runner 2.1.0
benchmark_runner: ^2.1.0 copied to clipboard
A library for writing inline micro-benchmarks, running sync/async benchmarks, reporting and exporting score statistics.
We analyzed this package 3 days ago, and awarded it 90 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
130 out of 173 API elements (75.1 %) have documentation comments.
Some symbols that are missing documentation: benchmark_runner, benchmark_runner.AsyncGroup, benchmark_runner.AsyncGroup.AsyncGroup.new, benchmark_runner.BenchmarkHelper, benchmark_runner.BenchmarkHelper.sampleSize.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 37 issues. Showing the first 2:
ERROR: The argument type 'Ansi' can't be assigned to the parameter type 'FontModifier'.
lib/src/base/async_benchmark.dart:49:39
╷
49 │ (hourGlass + description).style(ColorProfile.asyncBenchmark);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/base/async_benchmark.dart
ERROR: The argument type 'Ansi' can't be assigned to the parameter type 'FontModifier'.
lib/src/base/benchmark.dart:43:44
╷
43 │ groupDescription + description.style(ColorProfile.benchmark);
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/base/benchmark.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ansi_modifier |
^1.0.0 |
1.1.0 | 1.1.0 | |
args |
^2.7.0 |
2.7.0 | 2.7.0 | |
exception_templates |
^1.0.0 |
1.0.0 | 1.0.0 | |
glob |
^2.2.0 |
2.2.0 | 2.2.0 | |
lazy_memo |
^1.0.0 |
1.0.0 | 1.0.0 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
file |
- | 7.0.1 | 7.0.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Dart 3.13.1.
Check the analysis log for details.