Skip to content

Commit

Permalink
Added filename to log (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmclean committed Jul 21, 2023
1 parent dea70fc commit 5bb07e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/apps/in-mem-dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def insert_and_search(

if args.json_timings_output is not None:
import json
timings['log_file'] = args.json_timings_output
with open(args.json_timings_output, "w") as f:
json.dump(timings, f)

Expand Down
1 change: 1 addition & 0 deletions python/apps/in-mem-static.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,6 @@ def build_and_search(

if args.json_timings_output is not None:
import json
timings['log_file'] = args.json_timings_output
with open(args.json_timings_output, "w") as f:
json.dump(timings, f)

0 comments on commit 5bb07e4

Please sign in to comment.