traceDestination

val traceDestination: DirectoryProperty(source)

If set, the Metro compiler will dump compiler trace information to the given destination. Outputs are per-compilation granularity (i.e. build/metro-traces/main/...).

Unlike reportsDestination, this is designed for low-overhead performance tracing and can be used in realistic scenarios without significantly impacting compilation performance.

Optionally, you can specify a metro.traceDestination gradle property whose value is a relative path from the project's build directory.