Micromagnetic study of switching speed in perpendicular recording media