[COMPASS-3773] Explain Plan: show regex performance (nr of steps) Created: 23/Jul/19 Updated: 03/Dec/21 Resolved: 01/Aug/19 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Performance |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Mark Vasile | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Sprint: | Iteration Kangaroo | ||||||||
| Description |
|
The Explain Plan of Compass is quite interesting. Maybe use a regex debugging library to compute the number of steps a regex takes to complete. For example: https://metacpan.org/pod/Regexp::Debugger The idea is to give the users the awareness of performance penalties for regular expression queries, especially complex ones that backtrack a lot. |
| Comments |
| Comment by Massimiliano Marcon [ 01/Aug/19 ] |
|
Hi mark_vasile@xica.net, thank you for bringing this up. As this is something that should be supported by the server, I opened a ticket in the SERVER project to track it (SERVER-42574). |