Skip to content
Snippets Groups Projects
Commit 8cd59603 authored by felixwelter's avatar felixwelter
Browse files

Add plain benchmark script

parent 5722a910
Branches
Tags
No related merge requests found
import json
from search_index import TitleFocusSearchIndex
INDEX_DIR = "benchmark_index"
BENCHMARK_DATA_DIR = "benchmark_data"
Index = TitleFocusSearchIndex
def run_case(case_spec):
print(case_spec)
if __name__ == '__main__':
with open('benchmark_data/meta.json') as json_file:
data = json.load(json_file)
for case in data["cases"]:
print("RUNNING CASE: {}".format(case["name"]))
run_case(case)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment