Skip to content

Commit

Permalink
Merge pull request #13 from yugabyte/extended-reg
Browse files Browse the repository at this point in the history
Extended regression reporting and fixed score query matching
  • Loading branch information
qvad authored May 23, 2023
2 parents d7be9ae + 80aa2cd commit ee8da8b
Show file tree
Hide file tree
Showing 8 changed files with 487 additions and 495 deletions.
7 changes: 7 additions & 0 deletions src/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ def append(self, new_element):
# CPUs are cheap
self.queries.sort(key=lambda q: q.query_hash)

def find_query_by_hash(self, query_hash):
for query in self.queries:
if query.query_hash == query_hash:
return query

return None


class EPNode:
def __init__(self):
Expand Down
1 change: 1 addition & 0 deletions src/reports/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def __init__(self):

if not os.path.isdir(f"report/{self.start_date}"):
os.mkdir(f"report/{self.start_date}")
os.mkdir(f"report/{self.start_date}/imgs")

def get_report_name(self):
return ""
Expand Down
139 changes: 0 additions & 139 deletions src/reports/adoc/comparison.py

This file was deleted.

Loading

0 comments on commit ee8da8b

Please sign in to comment.