The best way is to make a debug log with "raw session data" enabled and capturing your searching and waiting long enough to get the results:
https://www.aqua-mail.com/troubleshooting/For me a server side search in a Gmail folder with > 50,000 messages takes about 5 seconds (about 3000 matching messages).