[K/N][perf] Adopt benchmarks plugins and tools to support both macosX64 and macosArm64

This commit is contained in:
Elena Lepilkina
2022-02-04 18:30:18 +03:00
committed by Space
parent b9a1b3c4df
commit 015920257f
6 changed files with 22 additions and 5 deletions
+5 -1
View File
@@ -140,7 +140,11 @@ private static String getAnalyzerTargetName() {
String target = System.getProperty("os.name")
if (target == 'Linux') return 'linux'
if (target.startsWith('Windows')) return 'windows'
if (target.startsWith('Mac')) return 'macos'
if (target.startsWith('Mac'))
if (System.getProperty("os.arch") == "aarch64")
return 'macosArm64'
else
return 'macosX64'
return 'unknown'
}