Added performance test to debug mode. Added breaking image path to needed dir depth.