mirror of
https://github.com/ouchadam/small-talk.git
synced 2024-12-24 08:42:21 +01:00
15 lines
385 B
Bash
Executable File
15 lines
385 B
Bash
Executable File
if ! command -v gradle-profiler &> /dev/null
|
|
then
|
|
echo "gradle-profiler could not be found https://github.com/gradle/gradle-profiler"
|
|
exit
|
|
fi
|
|
|
|
gradle-profiler \
|
|
--benchmark \
|
|
--project-dir . \
|
|
--scenario-file tools/benchmark/benchmark.profile \
|
|
--output-dir benchmark-out/output \
|
|
--gradle-user-home benchmark-out/gradle-home \
|
|
--warmups 3 \
|
|
--iterations 3 \
|
|
$1 |