Reply To: BP user @mention
Implement a debounce function to delay AJAX requests until the user has stopped typing for a specified duration. This will reduce the number of requests and improve responsiveness. The debounced function can be added to the input event in the “What’s new” section of the BuddyPress activity stream.
https://dev.to/zahoorcodes/benefits-of-delaying-ajax-calls-2f35