Add performance of preparing the match graph for routes that contain placeholders.