v.25.10Performance Improvement

Reduce the impact of not using fail

Reduce the impact of not using fail points (the default code path when the debugging is not active). #88196 (Raúl Marín).