Is there any chance you have Akismet enabled on site?
Thank you for answering.
Yes, I have. I checked the settings, but there’s no way to exclude BP-activity?
Thank you for confirming.
Please visit Dashboard->settings->BuddyPress and click on “Options”. Under options, you will see activity section.
There is an option to disable akismet there as shown below(Please uncheck it to disable).
View post on imgur.com
Please give it a try and let me know if that works for you or not?
Thanks, Brajesh. Found it and unchecked the box.
But there is still approximately 10 seconds from ‘send’ to appearance in the stream.
When I delete an activity post, the response time is <1 second.
Akismet was one of the suspect. Since it did not resolve it, I will suggest disabling/plugin code which might be affecting activity posting(anything that filters/restricts etc).
If that does not help you to find the bottleneck, using xdebug to profile may help(it is a bit complex, so If you are not comfortable with it, disabling some plugins to test will be a better option).
I found the culprit.
When I deactivate the plugin “BuddyPress Group Email Subscription” response time is reduced from >10 sec to around 3 seconds.
I will report it to them. Thanks for helping out.