gradle / gradle-profiler

A tool for gathering profiling and benchmarking information for Gradle builds
Apache License 2.0
1.4k stars 155 forks source link

Make profile output directory customizable #543

Closed lamphama2 closed 8 months ago

lamphama2 commented 8 months ago

Description

Currently, the benchmark output location is hard-coded to /profile-out folder. This lacks of flexibility and also the output directory depends on the location where we are executing the command. Should we leave user an option to customize this location?

Use case

Expectation

Introduce a new optional option --profile-out, default it to the current value profile-out

gabrielfeo commented 8 months ago

You can use --output-dir:

  • --output-dir <dir>: Directory to write results to. Default value is profile-out. If profile-out directory already exists, it tries to find a profile-out-<index> directory, that does not exist.

(from the README)

lamphama2 commented 8 months ago

Oh sorry my bad Closing this.