everettjf / dirtrace

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

Home Page:https://everettjf.github.io/2019/10/30/dirtrace/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dirtrace

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

Xcode

中文说明

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


wish you enjoy :)

About

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

https://everettjf.github.io/2019/10/30/dirtrace/

License:MIT License


Languages

Language:Python 94.0%Language:Shell 6.0%