1
0
mirror of https://github.com/vector-im/element-android.git synced 2025-07-29 19:41:14 +03:00
Files
element-android/tools/benchmark/run_benchmark.sh
Benoit Marty d4e3d451ba Apply dual licenses: AGPL + Element Commercial to file headers.
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-14 10:27:57 +01:00

23 lines
590 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright 2021-2024 New Vector Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
# Please see LICENSE files in the repository root for full details.
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