perf_api 0.1.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 1

perf_api.dart

A simple profiling instrumentation API

0.1.0

  • Fix strong mode warnings.
  • Move tests to use test package.

Use this package as a library

1. Depend on it

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


dependencies:
  perf_api: ^0.1.0

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:perf_api/perf_api.dart';
  
Version Uploaded Documentation Archive
0.1.0 Apr 14, 2016 Go to the documentation of perf_api 0.1.0 Download perf_api 0.1.0 archive
0.0.9 Aug 7, 2014 Go to the documentation of perf_api 0.0.9 Download perf_api 0.0.9 archive
0.0.8 Oct 16, 2013 Go to the documentation of perf_api 0.0.8 Download perf_api 0.0.8 archive
0.0.7 Oct 16, 2013 Go to the documentation of perf_api 0.0.7 Download perf_api 0.0.7 archive
0.0.6 Sep 18, 2013 Go to the documentation of perf_api 0.0.6 Download perf_api 0.0.6 archive
0.0.5 Sep 16, 2013 Go to the documentation of perf_api 0.0.5 Download perf_api 0.0.5 archive
0.0.4 Aug 24, 2013 Go to the documentation of perf_api 0.0.4 Download perf_api 0.0.4 archive
0.0.3 Aug 16, 2013 Go to the documentation of perf_api 0.0.3 Download perf_api 0.0.3 archive
0.0.2 Aug 15, 2013 Go to the documentation of perf_api 0.0.2 Download perf_api 0.0.2 archive
0.0.1 Aug 14, 2013 Go to the documentation of perf_api 0.0.1 Download perf_api 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
2
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
1
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Health issues and suggestions

Fix lib/perf_api.dart. (-25 points)

Analysis of lib/perf_api.dart failed with 1 error:

line 107 col 7: Missing concrete implementations of 'Map.addEntries', 'Map.cast', 'Map.map', 'Map.removeWhere' and 3 more.

Format lib/console_impl.dart.

Run dartfmt to format lib/console_impl.dart.

Maintenance issues and suggestions

Add SDK constraint in pubspec.yaml. (-50 points)

For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.

Package is too old. (-100 points)

The package was released more than two years ago.

Use analysis_options.yaml. (-10 points)

Rename old .analysis_options file to analysis_options.yaml.

Read more about the setup of analysis-options.yaml.

The description is too short. (-20 points)

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. (-10 points)

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 perf_api.dart.

Dependencies

Package Constraint Resolved Available
Dev dependencies
test ^0.12.0