The code is running locally and (in my opinion) the performance is appalling but my machine is quite low spec and has very little RAM and disk space so this could be causing the performance problems.