aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/lld.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmarks/lld.py')
-rw-r--r--src/benchmarks/lld.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/benchmarks/lld.py b/src/benchmarks/lld.py
index bcedced..97ef545 100644
--- a/src/benchmarks/lld.py
+++ b/src/benchmarks/lld.py
@@ -25,6 +25,7 @@ import sys
import matplotlib.pyplot as plt
from src.benchmark import Benchmark
+import src.facter
from src.util import download_reporthook
@@ -51,6 +52,9 @@ class BenchmarkLld(Benchmark):
def prepare(self):
super().prepare()
+ # save lld version
+ self.results["facts"]["versions"]["lld"] = src.facter.exe_version("ld.lld", "-v")
+
test_dir = "lld-speed-test"
test_archive = f"{test_dir}.tar.xz"
if not os.path.isdir(test_dir):