benchtests: Add difficult strstr needle for bruteforce algorithms
commitf262fce61671c38d436d2d0cd68dab5642ac9ef0
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Wed, 24 Apr 2024 17:24:45 +0000 (24 18:24 +0100)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Wed, 24 Apr 2024 17:25:46 +0000 (24 18:25 +0100)
tree4ada45bdf29e4d4384b98f237a6de2277ff35d39
parent46c999741340ea559784c20a45077955b50aca43
benchtests: Add difficult strstr needle for bruteforce algorithms

Add another difficult needle to strstr that clearly shows the quadratic
complexity of bruteforce algorithms.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
benchtests/bench-strstr.c