Improve performance of backtrace filtering
-
Nikolai Weibull
Here’s a patch that should work.
-
James Mead
- State changed from new to open
@nikolai: Apologies for the (very) slow response. I've just been looking at this and thinking about it a bit. I've made the change so that the
Regexpinstance is now only created once in theBacktraceFilter#initializemethod.However, I've also realized that (a) this probably won't improve performance because a new
BacktraceFilterinstance is created for every expectation error; and (b) in any case, any performance improvement will only be apparent for people who have a lot of test failing with expectation errors. This latter case seems like a bit of an edge case, so I'm not going to make the other changes.I'm closing this ticket. Thanks, James.
-
James Mead
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
