If you're experiencing slow performance in editing mode then please consider this: DatasourceUsagesCount request slowing down Experience Editor. This contains a hotfix.
If you're experiencing slow loading of experience editor then you need to follow these steps that were already mentioned
turn off Experience Optimization
turn off "WebEdit....