Mojave runs like crap on a HDD, sorry. Actually, is El Capitan any better? Maybe you're just used to it.
My dad was complaining about the slowness of his HDD-equipped Mac Mini, so I installed Mojave on an external SSD, put it on top of the Mini and off he went, so yeah, that works like a charm.