summaryrefslogtreecommitdiffstats
path: root/testing/jsshell/benchmark.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /testing/jsshell/benchmark.py
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/jsshell/benchmark.py')
-rw-r--r--testing/jsshell/benchmark.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/testing/jsshell/benchmark.py b/testing/jsshell/benchmark.py
index 41a8db460e..b23c8d0e55 100644
--- a/testing/jsshell/benchmark.py
+++ b/testing/jsshell/benchmark.py
@@ -157,7 +157,7 @@ class Ares6(Benchmark):
self.scores = defaultdict(lambda: defaultdict(list))
def _try_find_score(self, score_name, line):
- m = re.search(score_name + ":\s*(\d+\.?\d*?) (\+-)?.+", line)
+ m = re.search(score_name + r":\s*(\d+\.?\d*?) (\+-)?.+", line)
if not m:
return False
@@ -168,7 +168,7 @@ class Ares6(Benchmark):
def process_line(self, proc, line):
line = line.strip("\n")
print(line)
- m = re.search("Running... (.+) \(.+\)", line)
+ m = re.search(r"Running... (.+) \(.+\)", line)
if m:
self.bench_name = m.group(1)
return
@@ -182,7 +182,7 @@ class Ares6(Benchmark):
if self._try_find_score("steadyState", line):
return
- m = re.search("summary:\s*(\d+\.?\d*?) (\+-)?.+", line)
+ m = re.search(r"summary:\s*(\d+\.?\d*?) (\+-)?.+", line)
if m:
self.last_summary = float(m.group(1))
@@ -218,7 +218,7 @@ class SixSpeed(RunOnceBenchmark):
def process_line(self, proc, output):
output = output.strip("\n")
print(output)
- m = re.search("(.+): (\d+)", output)
+ m = re.search(r"(.+): (\d+)", output)
if not m:
return
subtest = m.group(1)
@@ -250,7 +250,7 @@ class SunSpider(RunOnceBenchmark):
def process_line(self, proc, output):
output = output.strip("\n")
print(output)
- m = re.search("(.+): (\d+)", output)
+ m = re.search(r"(.+): (\d+)", output)
if not m:
return
subtest = m.group(1)
@@ -339,7 +339,7 @@ class Octane(RunOnceBenchmark):
def process_line(self, proc, output):
output = output.strip("\n")
print(output)
- m = re.search("(.+): (\d+)", output)
+ m = re.search(r"(.+): (\d+)", output)
if not m:
return
subtest = m.group(1)