I am comparing the execution times of binary search and linear search and displaying them using a bar plot.
But since the execution times of binary search are almost 1000 times less than linear search, the bars for binary search are barely visible.
Is there a way to fix this?
CodePudding user response:
I guess you are looking for scale_y_log10()
?
CodePudding user response:
Try using micobenchmark? It’s really concise