It takes 10 minutes in an instant pot—same as it does to boil them in water.
Both methods actually require longer than 10 min., as you wait for the water to boil, or the Instant Pot to reach full pressure.
The BIG difference with the Instant Pot is the reliable ease of peeling the eggs.