[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash code block runs slow on org 9.6
From: |
Max Nikulin |
Subject: |
Re: bash code block runs slow on org 9.6 |
Date: |
Sat, 10 Dec 2022 09:49:49 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 10/12/2022 01:34, Majzoub, Eric wrote:
This runs essentially instantaneously in org 9.5.5, but it takes much
longer, about 2 seconds or more on org 9.6
An example with no external dependencies:
: (require 'ob-shell)
#+begin_src bash :results replace :exports none
seq 1 200 | tee /dev/null
#+end_src
"Code block evaluation complete (took 0.1s)."
However I see noticeable pause before results are refreshed (less than 2
seconds). Org-9.3.1 works faster. Emacs-26.3.
Adding "| wc" makes evaluation instant, so it is parsing of output.