From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seth Burleigh Subject: [babel] python session speed vs non session Date: Sun, 5 Sep 2010 00:37:51 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0466913585==" Return-path: Received: from [140.186.70.92] (port=52738 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Os7vO-0006FD-M3 for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 01:37:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Os7vN-0007n3-EK for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 01:37:54 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:35025) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Os7vN-0007mw-AP for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 01:37:53 -0400 Received: by iwn33 with SMTP id 33so4300354iwn.0 for ; Sat, 04 Sep 2010 22:37:51 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============0466913585== Content-Type: multipart/alternative; boundary=005045015d4b9d1f88048f7c9093 --005045015d4b9d1f88048f7c9093 Content-Type: text/plain; charset=ISO-8859-1 I have recently been trying out the src executing capabilities of orgmode. I have been confused why a python session takes significantly longer to execute than a non python session. For example #+begin_src python return 2+2 #+end_src executes pretty quickly, but #+begin_src python :session test 2+2 #+end_src executes twice as long. Looking at the command shell for python, it seems that the time is being taken to actually send the source to the command shell buffer. Once its sent (or once i can see it displayed in the command shell buffer) it immediately returns. Any ideas? --005045015d4b9d1f88048f7c9093 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have recently been trying out the src executing capabilities of orgmode. = I have been confused why a python session takes significantly longer to exe= cute than a non python session. For example

#+begin_src = python
return 2+2
#+end_src

executes prett= y quickly, but
#+begin_src python :session test
2+2
#+end_src

executes twice as long. Looking a= t the command shell for python, it seems that the time is being taken to ac= tually send the source to the command shell buffer. Once its sent (or once = i can see it displayed in the command shell buffer) it immediately returns.= Any ideas?
--005045015d4b9d1f88048f7c9093-- --===============0466913585== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0466913585==--