Two men are facing charges after it's alleged a pair of speedsters raced down a Barrie street – and right by two police officers.

Barrie police say the officers were on patrol Friday night when two "matching vehicles" allegedly racing each other blew by them on Essa Road at more than 100 km/h.

They say one of the vehicles sped by an ambulance and that the officers had to pursue them for 1.5 kilometres before catching up.

Two 26-year-old men are each charged with racing a motor vehicle and have had their licenses suspended and vehicles impounded for a week.

Police say the two were strangers who met at Essa Road and Veteran’s Drive and had a brief conversation before racing off.