OK so I tried setting up a site on the same freehosting. Even with a basic 1-question site and no modifications, it's very slow.
So it's clearly the server that is very slow, which is what you'll get with free hosting. It would be the same with any other software you have on there like Wordpress or Joomla.
I also checked using a 'IP neighbors' website and the server that my test site was on also hosts 760+ other websites! But this is just how shared hosting (and particularly free hosting) works, they shove hundreds of websites on one server, so of course each website is very slow.
You should look into paying for some decent hosting. You can get some great VPS servers for only a few $ per month these days.