Skip to content

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

License

Notifications You must be signed in to change notification settings

everettjf/dirtrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :)