Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cs-236:datalog-interpreter [2017/11/09 19:48]
jrtyler [Part 1: union and join]
cs-236:datalog-interpreter [2017/11/27 22:44] (current)
jrtyler [FAQ] Listing factors that may slow down run time
Line 105: Line 105:
  
 Yes. Please review the [[Project Standards|project standards]] for the time-bound requirements. ​ Yes. Please review the [[Project Standards|project standards]] for the time-bound requirements. ​
 +
 +'''​I thought my project is set up correctly, but the test cases are taking forever to run. What is happening?'''​
 +
 +Are you running your program in Visual Studio? Visual Studio in debug mode tends to slow down the running time of your project by a huge factor. Try running the test cases either outside of Visual Studio (in the command line) or set up Visual Studio to run in release mode ([[https://​msdn.microsoft.com/​en-us/​library/​wx0123s5.aspx|here]] are instructions from Microsoft on how to do that).
 +
 +Other things that may be influencing your run time include what computer you are running your program on (run the program on the lab computers for the best approximation of how it will run on the TA computers) and using a vector to store the tuples in each Relation instead of a set (if you have to sort the vector manually, that can really slow down run time).
 ==Submission== ==Submission==
 Review the [[project-standards | project standards]] for creating a zip archive. Review the [[project-standards | project standards]] for creating a zip archive.
cs-236/datalog-interpreter.txt · Last modified: 2017/11/27 22:44 by jrtyler
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0