After profiling Drupal site using XHProf. I am seeing variable performance of ob_flush() call which is called only once per page.
First load Page x
Function Calls Ex Wall Wall % ob_flush 1 1,712ms 39.5%
Second load Page x
Function Calls Ex Wall Wall % ob_flush 1 270ms 24.5%
Third load Page x
Function Calls Ex Wall Wall % ob_flush 1 300ms 25.3%
In php.ini settings I have disabled out_buffering = 0 as seems to be suggestion for Drupal
I see other queries on this which don't provide a clear solution.
Is there a way to improve this performance?