You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get Lua profiling output from Quarto, use the `lua-profiler-output` metadata option to provide an output file name, and ensure that Quarto uses the
36
+
`pandoc` binary you just compiled.
34
37
35
38
```
36
39
$ QUARTO_PANDOC=<path-to-built-pandoc> quarto render ...
37
40
```
38
41
39
-
To get Lua profiling output from Quarto, use the `lua-profiler-output` metadata option to provide an output file name.
40
42
The output will be written as JSON, in a format compatible with [Perfetto](https://ui.perfetto.dev).
41
43
The default sampling interval is 5ms, but you can customize that by setting the `lua-profiler-interval-ms` metadata option.
42
44
43
-
## Analyze profile
45
+
###Analyze profile
44
46
45
47
The resulting profile can be visualized and analyzed as a trace file at <https://ui.perfetto.dev>.
48
+
49
+
### Profiling multiple-file projects
50
+
51
+
In multiple-file projects, you can get a summary of the runtime of individual filter steps by providing the `QUARTO_COMBINED_LUA_PROFILE` environment variable.
52
+
At the end of rendering a project, the name of the file pointed to `QUARTO_COMBINED_LUA_PROFILE` will contain a CSV file with the columns `filter`, `filename`, and `time`, corresponding to an estimate of time (in microseconds) taken by each stage of Quarto's filtering pipeline.
0 commit comments