Update post_benchmark_results.py

This commit is contained in:
Siarhei Fedartsou 2024-05-27 22:58:59 +02:00 committed by GitHub
parent 1bf5c018e3
commit 60e133fb12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,7 +82,8 @@ def main():
<details><summary>Benchmark Results</summary>
{markdown_table}
</details>
<!-- BENCHMARK_RESULTS_END -->"
<!-- BENCHMARK_RESULTS_END -->
"""
if re.search(r'<!-- BENCHMARK_RESULTS_START -->.*<!-- BENCHMARK_RESULTS_END -->', pr_body, re.DOTALL):
updated_body = re.sub(