Re:Python web application GUI toolkit
by cjbprime on Sunday November 20, 2011 @07:21PM
(#3259453)
It should not take 20 seconds to launch a barebones calculator, and another 5 to respond to clicking on a number.
[ Parent
| on HN ]
I just switched to a High-CPU EC2 instance. I hope it helps. Otherwise:
$ easy_install muntjac
$ muntjac
to run the demos locally.
I'm getting an import error when i try to run muntjac locally.
from muntjac.terminal.gwt.server.paste_wsgi_servlet import PasteWsgiServlet File "/Library/Python/2.6/site-packages/Muntjac-1.0.0-py2.6.egg/muntjac/terminal/gwt/server/paste_wsgi_servlet.py", line 19, in <module>
ImportError: No module named HTTPServlet
Re:Python web application GUI toolkit
by MetallicCloud on Sunday November 20, 2011 @07:36PM
(#3259474)
I had a similar experience. Took around 5 seconds to launch, and around 10 seconds to get the result of me clicking 5 * 6. Much too slow.
- Chrome, i7, 4GB RAM
Out of curiosity, what kind of rig are you running on?
On my four year old desktop it started in about 3 seconds and clicks on buttons do have a noticeable lag, but it's probably 1/3 to 1/2 a second.
One issue is that the session gets unpickled/pickled with each request. When each of the samples has been run the pickled session files are ~2Mb.
> Out of curiosity, what kind of rig are you running on?
Quad-core i7 ThinkPad. I'm using Chrome (16), that might be relevant.