benchtests: Improve benchtests for strstr, memmem, and memchr
authorNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 27 May 2022 23:25:40 +0000 (18:25 -0500)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Sat, 28 May 2022 03:52:37 +0000 (22:52 -0500)
commita8f62164b1d0ea6583c9c5d05aa4be9c946c2004
tree9110dd175b6a6aa200a9711684f4915d4eea23c0
parentefa7936e4c91b1c260d03614bb26858fbb8a0204
benchtests: Improve benchtests for strstr, memmem, and memchr

1. Use json_ctx for output to help standardize format across all
   benchtests.

2. Add some additional tests to strstr and memchr expanding alignments
   and adding more small values.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
benchtests/bench-memchr.c
benchtests/bench-memmem.c
benchtests/bench-strstr.c