perf_api 0.1.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 57

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]
68
Health:
Code health derived from static analysis. [more]
75
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
57
Learn more about scoring.

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

  • Dart: 2.0.0
  • pana: 0.11.8

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:perf_api/perf_api.dart.

Issues and suggestions

Fix lib/perf_api.dart.

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.

Add SDK constraint in pubspec.yaml.

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

Package is too old.

The package was released more than two years ago.

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.

Package is pre-v1 release.

While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction of the API.

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

Format lib/console_impl.dart.

Run dartfmt to format lib/console_impl.dart.

Use analysis_options.yaml.

Rename old .analysis_options file to analysis_options.yaml.

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

Dependencies

Package Constraint Resolved Available
Dev dependencies
test ^0.12.0