The files of one run, and what each pruning removes
Files of one run and what each pruning removes
A matrix with one row per kind of file in the runs folder and four columns: who writes it, what happens to it at the end of a run, what KEEP_RUNS does to it and what METAL_TRACE_MAX_DISK_MB does to it. Shaded cells are where a file can be removed; the summary json is removed only by KEEP_RUNS, the .trace only by the quota, and baselines.json and the folder mark are never removed.
FILE
WRITTEN BY
END OF A RUN
KEEP_RUNS=N
METAL_TRACE_
MAX_DISK_MB
<run>.trace
xctrace
deleted, unless
KEEP_TRACE=1
or deep
kept: KEEP_RUNS
never removes it
1st; the current
run: last
<run>.json
perf_report.py
+ recording.py
kept
goes with run
never
.frames.csv.gz
.metal_memory.csv.gz
perf_report.py
(:745, :831)
kept
goes with run
3rd; the current
run: never
.rss.csv
.agx.csv
perf_record.sh
(samplers)
kept
goes with run
never
<run>.chrome-trace
trace export
tool
only if exported
goes with run
2nd; the current
run: never
.presentmon.csv
(Windows only)
Windows recorder
kept
goes with run
never
baselines.json
analysis.py
copies of json
kept
never
never
.metal-gpu-trace-runs
project.py
the folder mark
kept
never
never
removable here
only KEEP_RUNS removes a .json
quota order: 1st .trace, 2nd .chrome-trace, 3rd tables
the current run keeps its tables and .chrome-trace