Months if your coop is large and made of wood. Maybe never if it's planks or T&G build once you've got a heavy infestation.
If the coop was cheap then burning the entire coop and starting with a new one is often the most economical and effective method.
People tend to forget that having red mite in the coop isn't the real problem; it's having them feed off the chickens while they're on their perches that one wants to stop as quickly as possible.
Some batteries have given up on trying to rid the barns of mites and have gone the stop them biting the birds route. Here is one example
https://www.vencomaticgroup.com/product/egg-production/q-perch
You can do something similar by wrapping the perch ends in double sides carpet tape. However, if the infestation is bad it doesn't take long for the tape to have enough stuck mites on it that the others just walk on top the stuck mite.
A point about Ivermectin.
Ivermectin works by residing in the blood of the host. When the host is bitten, the mite ingests some Ivermectin and dies. But it has to bite to die and really you don't want the mites biting. Killing the few that bite during the time the Ivermectin is active, gets a few but the mites reproduce at a much higher rate than the death rate through biting. Neither does Ivermectin deal with the mite eggs. Ivermectin probably helpfull for Northern Fowl mite that live on the bird but virtually pointless for red mite.
Best I've found is a blow torch but one needs the right type of coop.