Is while loop is cheaper than for loop?

Assuming they run for the same number of loops, the performance should be effectively identical. They perform basically the same function, they just use different criteria for when they should stop.