-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EinsteinUTest taking too long #86
Comments
This is caused by commit fb41305 (issue #76). If you revert this change the EinsteinUTest ends in less then 10 seconds but PatternCrashUTest crashes. I am still analyzing how to fix both problems. Short summary after analyzing the code: Moreover seems like disabling this "optimization" helps much in that case of "elimination-rule" query in EinsteinUTest. (or there is other side effect of this change that helps and I am not aware of, is there?). When I trace the log of clauses and joiners chosen during search I see big difference. For example it looks like it is more lucky to select good joiner e.g. attr=German instead of predicate=Nationality, so it cuts longer branches in the search tree earlier. Does above makes sense? What are your thought about following optimization strategies? Are they worth to experiment or it is not so important for real situations?
|
Csesc, On Sat, Jul 4, 2015 at 3:12 AM, Jacek Świergocki [email protected]
This seems like a good idea... exclusion is very good at pruning. It
I hope this is enough to fix the problem; if not, then ...well, you now see |
The first optimisation decreased running time to previous level (~5 sek in my machine). I have sent PR #141. |
EinsteinUTest optimisation by thinnest clause selection in pattern matcher (#86)
This appears to be fixed, and, if I understand the problem, its fixed in a way that the bug probably won't recur by accident. Closing. |
Enable variables in apply link
Normally, EinsteinUTest runs in 10 seconds, but it is currently running in 300 seconds. This is due to some pattern matcher bug .. this has happened before, and bisection should reveal what the problem is.
The text was updated successfully, but these errors were encountered: