Skip to content

Commit 0b2f53a

Browse files
Remove unrelated changes
- Removed unused jsonhandler parameter from run_benchmark function - Removed unrelated log message for saving output file
1 parent 30488b8 commit 0b2f53a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

memtier_benchmark.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@ void size_to_str(unsigned long int size, char *buf, int buf_len)
14121412
}
14131413
}
14141414

1415-
run_stats run_benchmark(int run_id, benchmark_config* cfg, object_generator* obj_gen, json_handler* jsonhandler = NULL)
1415+
run_stats run_benchmark(int run_id, benchmark_config* cfg, object_generator* obj_gen)
14161416
{
14171417
fprintf(stderr, "[RUN #%u] Preparing benchmark client...\n", run_id);
14181418

@@ -2087,9 +2087,6 @@ int main(int argc, char *argv[])
20872087
}
20882088

20892089
if (outfile != stdout) {
2090-
// Log message for saving output file
2091-
fprintf(stderr, "Saving output file: %s\n", cfg.out_file);
2092-
20932090
fclose(outfile);
20942091
}
20952092

0 commit comments

Comments
 (0)