Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

dart-archive/tracing.dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracing

This package enable profiling your Dart applications and currently supports two backends:

Installation

Add the tracing package as a dependencie to your pubspec.yaml

Usage

Use the tracing API to profile your application.

The Observatory backend is enabled by default and in order to enable the WTF backend, the client code must call detectWTF() with the js context as a parameter:

import 'dart:js' show context;
import 'package:tracing/tracing.dart';

void main() {
    // Switch to the WTF backend when available
    detectWTF(context);

    // ... your application code to be profiled
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages