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

https://github.com/everettjf/dirtrace

👣Generate chromium's trace event format json file from directory based on file size
https://github.com/everettjf/dirtrace

pip python size-calculation tool trace tracing

Last synced: 4 months ago
JSON representation

👣Generate chromium's trace event format json file from directory based on file size

Awesome Lists containing this project

README

          

# dirtrace

`dirtrace` generates chromium's trace event format json file from directory based on file size

![Xcode](/screen.png)

[中文说明](https://everettjf.github.io/2019/10/30/dirtrace/)

## Install

```
pip install dirtrace
```

## Usage

(1) run command

```
Usage:
dirtrace -d
dirtrace -d -o

This script generates chromium's trace event format json file from directory content file size.
Visit https://github.com/everettjf/DirTrace for more information.

Options:
-h, --help show this help message and exit
-d DIR, --dir=DIR which directory do you want to trace
-o OUT, --out=OUT output json path
```

(2) display

Open Chrome browser, and drag output json file into Chrome's `chrome://tracing/`

- Directory items start with `D_`
- File items start with `F_`

## Support

python 2.x && 3.x

---

*wish you enjoy :)*