From: Arnold P. <ap...@ma...> - 2006-07-28 13:22:32
|
At 12:16 AM 7/28/2006, Sam Hathaway wrote: I think something like this would be a very good idea. I almost always use "none" for the display mode when"viewing" a large set. In fact after the first time I tried the library browser, I told John we needed a "none" mode because things were so slow. He added it almost immediately. The "none" mode would still be useful as it compresses output but most people want to see the problems (not just file names) so speeding things up would be a great help. Arnie >Hey, > >Does it bother anyone else how slow SetMaker is? It's not that >module's fault, it just takes a long time to render problems, and >rendering 20 of them gets pretty insane. > >I was thinking that a solution to this would be to cache the entire >output of the problem processor. For non-interactive situations like >SetMaker, the only thing we'd need to cache on is the problem seed -- >other data (like num_correct, num_incorrect, etc.) are always the same. > >The cache could simply be a file containing the problem TEXT, named >based on the source file name and the problem seed, or we could get a >little more complex and also store the names of any temporary files >that the problem depends on. That way, deleting, say, a generated >graph would invalidate the cache and cause the problem to be re- >rendered. > >This would speed up problem browsing TREMENDOUSLY, since PG wouldn't >even run once ANYONE had browsed a problem set. This might even be a >good candidate for pre-caching -- run through the problem library >once with seed 1234 to save a lot of instructor time down the road. > >Any thoughts? >-sam > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >OpenWeBWorK-Devel mailing list >Ope...@li... >https://lists.sf.net/lists/listinfo/openwebwork-devel Prof. Arnold K. Pizer Dept. of Mathematics University of Rochester Rochester, NY 14627 (585) 275-7767 |