/ Json

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

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

dirtrace

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

Install

pip install dirtrace

Usage

(1) run command

Usage: 
dirtrace -d <directory-path>
dirtrace -d <directory-path> -o <output-json-path>

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

GitHub