On Wed, Jan 18, 2012 at 8:51 PM, Volker Braun <vbraun.n...@gmail.com> wrote: > My Java client for the single cell server that is at the core of the Android > app pretty consistently gets a reply in about 1s. And I have ping times of > about 150ms. Here is the log for a sample session for "1+1":
Very interesting! So the key thing is that I'm using @interact; in particular, this is my test: @interact def f(n=(1..10)): print n*n When I actually "interact" with the @interact, it is very slow. In fact, just doing 1+1 feels pretty fast to me. So I'm reporting a bug which is that interacts are slow. Other things aren't necessarily. William > > << (32ms) Request to execute >>> (871ms) Python output > SageOutput > { > "content":{ > "data":{ > "text/plain":"2" > } > }, > "parent_header":{ > "session":"830f6e8c-a8d2-4a23-8272-337f4b65215c", > "msg_id":"f0a12965-c348-4af6-a834-bb72e0866396" > }, > "sequence":0, > "msg_type":"pyout", > "output_block":null, > "header":{ > "msg_id":"5630638020700690449" > } > } > > >>> (872ms) Execute reply status = ok > SageAdditionalOutput > { > "content":{ > "status":"ok" > }, > "parent_header":{ > "session":"830f6e8c-a8d2-4a23-8272-337f4b65215c", > "msg_id":"f0a12965-c348-4af6-a834-bb72e0866396" > }, > "sequence":1, > "msg_type":"execute_reply", > "output_block":null, > "header":{ > "msg_id":"3473988519569014394" > } > } > > >>> (872ms) End of Sage session marker > SageFinished > { > "content":{ > "msg_type":"session_end" > }, > "parent_header":{ > "session":"830f6e8c-a8d2-4a23-8272-337f4b65215c", > "msg_id":"f0a12965-c348-4af6-a834-bb72e0866396" > }, > "sequence":2, > "msg_type":"extension", > "header":{ > "msg_id":"0108e9aa-4df8-4397-be57-d3f25fe67d18" > } > } > > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org