I am trying to increase the performance of Experience Editor and one of the slowest calls is to get the number of locked items. It used to be possible to disabled this in older versions of Sitecore (http://sitecoreblog.alexshyba.com/hidden_gem_of_sitecore_page_editor/) however this doesn't work in newer versions.
However Sitecore have released a fix for this for newer versions of Sitecore: https://kb.sitecore.net/en/Articles/2015/12/04/14/31/549951.aspx
I applied the support fix and re-built my master index but the call to get the MyItems Count still takes around 2 seconds (more on Production).
Therefore I applied a similar fix to this to patch my own pipeline to get the count: https://mikael.com/2015/12/speading-up-the-sitecore-experience-editor/.
This is much quicker (5 microseconds!) but I don't understand why the support fix doesn't address this.
Am I doing something wrong? as we are on Sitecore 8.1 update 2 so adding the Sitecore.Support.419438 dll and patch config should have solved it according to the article.