Dryer takes too long to dry

I had the T5 error, and replaced the thermistor to fix the no start issue I was having. Now the dryer will run, and the element will heat as the vent tube gets warm. The problem is it is taking 2 1/2 hrs to dry a load. The vent is clear from the thermistor troubleshooting. Would this be a bad heating element or thermostat?