Record timing info
The -r
or --record-timing-info
flag saves performance profiling information to a file. This file can be visualized with snakeviz
to understand the performance characteristics of a dbt invocation.
Usage
$ dbt -r timing.txt run
...
$ snakeviz timing.txt
Alternatively, you can use py-spy
to collect speedscope profiles of dbt commands like this:
python -m pip install py-spy
sudo py-spy record -s -f speedscope -- dbt parse
0