Skip to content

Commit

Permalink
Remove mention of the obsolete devtool package
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 2, 2019
1 parent e60c54e commit 8a3f6ca
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions maintaining.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ Use the `assigned` label when somebody is working on the issue so we can avoid d

## Profiling

You should first install [`iron-node`](https://github.com/s-a/iron-node) and / or [`devtool`](https://github.com/Jam3/devtool) globally:
You should first install [`iron-node`](https://github.com/s-a/iron-node) globally:

```
$ npm install --global iron-node devtool
$ npm install --global iron-node
```

In the root of a project using AVA, run:
Expand All @@ -68,12 +68,6 @@ In the root of a project using AVA, run:
$ iron-node node_modules/ava/profile.js <test-file>
```

Or:

```
$ devtool node_modules/ava/profile.js <test-file>
```

Once the Dev Tools window has loaded, activate Memory or CPU profiling, and then hit <kbd>Cmd</kbd> <kbd>R</kbd> to rerun the tests.

As soon as the tests finish, stop the recording and inspect the profiler results. The flamegraph can be displayed by choosing `Chart` from the drop down on the `Profiles` tab (other views include `Tree (top down)` and `Heavy (bottom up)`).
Expand All @@ -82,7 +76,6 @@ You may also want to check out the Settings page in Dev Tools and enable one or

##### Helpful resources

- [An introduction to Node.js debugging with `devtool`](http://mattdesl.svbtle.com/debugging-nodejs-in-chrome-devtools).
- [A video introduction to Chrome DevTools CPU and Memory profiling](https://www.youtube.com/watch?v=KKwmdTByxLk).


Expand Down

0 comments on commit 8a3f6ca

Please sign in to comment.