perf_api 0.1.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 64

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

Analysis

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

  • Dart: 2.0.0-dev.54.0
  • pana: 0.11.1

Scores

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

Platforms

Detected platforms: Flutter, web, other

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

Suggestions

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 error 2 hints.

    Strong-mode analysis of lib/perf_api.dart failed with the following error:

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

    Run dartfmt to format lib/console_impl.dart.

  • 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 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.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

Dependencies

Package Constraint Resolved Available
Dev dependencies
test ^0.12.0