Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reklatsmasters/trace-inline

A better --trace-inlining
https://github.com/reklatsmasters/trace-inline

crankshaft debug dev devtools inline inlining inspect inspector js node perf perfomance tools trace v8

Last synced: about 2 months ago
JSON representation

A better --trace-inlining

Awesome Lists containing this project

README

        

## trace-inline [![npm](https://img.shields.io/npm/v/trace-inline.svg)](https://npmjs.org/package/trace-inline) [![license](https://img.shields.io/npm/l/trace-inline.svg)](https://npmjs.org/package/trace-inline) [![downloads](https://img.shields.io/npm/dm/trace-inline.svg)](https://npmjs.org/package/trace-inline)

A better --trace-inlining

```sh
>trace-inline -h
USAGE: trace-inline

Options:
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
-r, --reporter [choices: "tape", "tree", "pass"] [default: "tree"]
```
### Reporters

Just pass your script as an argument and `trace-inline` will show you pretty human-readable output `trace-inline index.js`.

![tree](fixtures/tree-windows.png)

You can use any formatter you want to process the TAP output (`-r tape`).

![tape](fixtures/tape-windows.png)

or get raw unparsed data (`-r pass`)

![pass](fixtures/pass-windows.png)

You can pass an additional arguments after `--`: `trace-inline -- --harmony-tailcalls index.js`

## Related

* [trace-inline-parse](https://github.com/ReklatsMasters/trace-inline-parse) - parser of `--trace-inlining` output from crankshaft

## License
MIT, 2017 (c) Dmitry Tsvettsikh