diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /testing/jsshell | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/jsshell')
-rw-r--r-- | testing/jsshell/benchmark.py | 12 |
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) |