Did you try setting the locale for OSX grep?
LC_CTYPE=C
https://news.ycombinator.com/item?id=4841168
Re:Why GNU grep is fast (2010)
by potatoalienof13 on Sunday July 24, 2022 @02:19PM
(#32216145)
Did you make sure to clear the filesystem cache between each run?
osx grep -r:
ggrep -r: which is the difference between something I'd avoid and something I'll use.