~ひょうしに(~拍子に)   => the moment [A], unintentionally / inadvertently caused something to happen N1
とはくらべ[物「もの」]にならない => It's no match for A N1
Comparison/ Exchange