benchpress 2.0.0-beta.17

  • README.md
  • Installing
  • Versions
  • 8

Benchpress - a framework for e2e performance tests

The sources for this package are in the main Angular2 repo. Please file issues and pull requests against that repo.

License: Apache MIT 2.0

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  benchpress: ^2.0.0-beta.17

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:benchpress/benchpress.dart';
  
Version Uploaded Documentation Archive
2.0.0-beta.17 Apr 28, 2016 Go to the documentation of benchpress 2.0.0-beta.17 Download benchpress 2.0.0-beta.17 archive
2.0.0-beta.16 Apr 26, 2016 Go to the documentation of benchpress 2.0.0-beta.16 Download benchpress 2.0.0-beta.16 archive
2.0.0-beta.15 Apr 13, 2016 Go to the documentation of benchpress 2.0.0-beta.15 Download benchpress 2.0.0-beta.15 archive
2.0.0-beta.14 Apr 7, 2016 Go to the documentation of benchpress 2.0.0-beta.14 Download benchpress 2.0.0-beta.14 archive
2.0.0-beta.13 Mar 31, 2016 Go to the documentation of benchpress 2.0.0-beta.13 Download benchpress 2.0.0-beta.13 archive
2.0.0-beta.12 Mar 24, 2016 Go to the documentation of benchpress 2.0.0-beta.12 Download benchpress 2.0.0-beta.12 archive
2.0.0-beta.11 Mar 18, 2016 Go to the documentation of benchpress 2.0.0-beta.11 Download benchpress 2.0.0-beta.11 archive
2.0.0-beta.10 Mar 17, 2016 Go to the documentation of benchpress 2.0.0-beta.10 Download benchpress 2.0.0-beta.10 archive
2.0.0-beta.9 Mar 9, 2016 Go to the documentation of benchpress 2.0.0-beta.9 Download benchpress 2.0.0-beta.9 archive
2.0.0-beta.8 Mar 2, 2016 Go to the documentation of benchpress 2.0.0-beta.8 Download benchpress 2.0.0-beta.8 archive

All 61 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
27
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
8
Learn more about scoring.

We analyzed this package on Jul 22, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.69.0
  • pana: 0.11.7

Platforms

Detected platforms: Flutter, other

Primary library: package:benchpress/benchpress.dart with components: io.

Issues and suggestions

Fix lib/src/webdriver/chrome_driver_extension.dart.

Analysis of lib/src/webdriver/chrome_driver_extension.dart failed with 1 error, 3 hints:

line 67 col 3: Invalid override. The type of 'ChromeDriverExtension.readPerfLog' ('() → Future<dynamic>') isn't a subtype of 'WebDriverExtension.readPerfLog' ('() → Future<List<dynamic>>').

line 4 col 55: The name provide is shown, but not used.

line 8 col 36: The name RegExpWrapper is shown, but not used.

line 10 col 25: The name WrappedException is shown, but not used.

Fix lib/src/webdriver/firefox_driver_extension.dart.

Analysis of lib/src/webdriver/firefox_driver_extension.dart failed with 1 error, 1 hint:

line 40 col 3: Invalid override. The type of 'FirefoxDriverExtension.readPerfLog' ('() → Future<dynamic>') isn't a subtype of 'WebDriverExtension.readPerfLog' ('() → Future<List<dynamic>>').

line 4 col 55: The name provide is shown, but not used.

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.

Running dartdoc failed.

Make sure dartdoc runs without any issues.

Maintain CHANGELOG.md.

Changelog entries help clients to follow the progress in your code.

Package is too old.

The package was released more than two years ago.

Fix additional 16 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/statistic.dart (1 error)
  • lib/src/webdriver/async_webdriver_adapter.dart (1 error)
  • lib/src/sampler.dart (4 hints)
  • lib/src/reporter/console_reporter.dart (3 hints)
  • lib/src/web_driver_extension.dart (3 hints)
  • lib/src/webdriver/ios_driver_extension.dart (3 hints)
  • lib/src/metric.dart (2 hints)
  • lib/src/metric/multi_metric.dart (2 hints)
  • lib/src/metric/perflog_metric.dart (2 hints)
  • lib/src/reporter.dart (2 hints)
  • lib/src/reporter/json_file_reporter.dart (2 hints)
  • lib/src/sample_description.dart (2 hints)
  • lib/src/validator.dart (2 hints)
  • lib/src/web_driver_adapter.dart (2 hints)
  • lib/src/reporter/multi_reporter.dart (1 hint)
  • lib/src/runner.dart (1 hint)

Package is pre-release.

Pre-release versions should be used with caution, their API may change in breaking ways.

The description is too short.

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example.

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use benchpress.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.10.0 <2.0.0
angular2 2.0.0-beta.17 2.0.0-beta.17 3.1.0+1
stack_trace ^1.1.1 1.9.3
webdriver ^0.9.0 0.9.1 1.2.3
Transitive dependencies
analyzer 0.27.3 0.32.4
args 0.13.7 1.4.4
async 2.0.8
barback 0.15.2+16
build 0.12.7+2
charcode 1.1.2
cli_util 0.0.1+2 0.1.3+2
code_transformers 0.4.2+3 0.5.1+5
collection 1.14.11
convert 1.1.1 2.0.2
crypto 0.9.2+1 2.0.6
csslib 0.13.7+1 0.14.4+1
dart_style 0.2.4 1.1.3
fixnum 0.10.8
func 0.1.1 1.0.0
glob 1.1.7
html 0.12.2+2 0.13.3+2
intl 0.12.7+1 0.15.7
logging 0.11.3+2
matcher 0.11.4+6 0.12.4
meta 1.1.6
observe 0.13.5 0.15.1
package_config 0.1.5 1.0.5
path 1.6.2
petitparser 1.5.5 1.7.7
plugin 0.1.0 0.2.0+3
pool 1.3.6
protobuf 0.5.1 0.9.0+1
smoke 0.3.6+3
source_maps 0.10.7
source_span 1.4.1
string_scanner 1.0.3
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
when 0.2.0
which 0.1.3
yaml 2.1.15
Dev dependencies
guinness2 0.0.4
quiver ^0.21.4
test ^0.12.10