Skip to content

Commit 12bd124

Browse files
committed
Round geekbench mean scores to 3 decimal places, Windows run.bat fixes
1 parent 518578b commit 12bd124

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

script/benchmark-program-geekbench/customize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def compute_stats(values):
9797
"""Compute mean, median, olympic, cv_percent, min, max for a list of numeric values."""
9898
if not values:
9999
return {}
100-
mean_val = round(statistics.mean(values), 2)
100+
mean_val = round(statistics.mean(values), 3)
101101
stdev_val = round(statistics.stdev(values), 2) if len(values) >= 2 else 0
102102
result = {
103103
'mean': mean_val,

script/get-geekbench/run.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ rem get-geekbench run script (Windows)
55
rem Download is handled by the download-and-extract prehook dependency.
66
rem This script runs the setup installer silently and exports the installed path.
77

8+
if not "%MLC_GEEKBENCH_INSTALLED_PATH%" == "" (
9+
exit /b 0
10+
)
11+
812
if "%MLC_GEEKBENCH_DOWNLOAD_PATH%" == "" (
913
echo MLC_GEEKBENCH_DOWNLOAD_PATH is not set
1014
exit /b 1

0 commit comments

Comments
 (0)