After we upgraded to Magento 1.9.4 we started to experince a high consume of resources and drop in websites performance.
After a bit of research we found a change in the way how the Magento handles the thumbnails that are displayed in wysiwyg which was introduced with version 1.9.4 in this commit: