Re: bash code block runs slow on org 9.6

2022-12-10 Thread Majzoub, Eric
Yes, the fix works! It reduces the run time from about 2s down to 0.1s. Thank you. On Sat, 2022-12-10 at 05:53 +, Ihor Radchenko wrote: > WARNING: This message has originated from an External Source. This > may be a phishing expedition that can result in unauthorized access > to our IT

Re: bash code block runs slow on org 9.6

2022-12-09 Thread Ihor Radchenko
"Majzoub, Eric" writes: > I've got a code block that looks like the following. > > #+name: read_csv > #+begin_src bash :results replace :exports none > cat ./file.csv | gawk -f ./awkfile.awk | tee .tmp1.dat; > #+end_src > > This runs essentially instantaneously in org 9.5.5, but it takes much

Re: bash code block runs slow on org 9.6

2022-12-09 Thread Max Nikulin
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

bash code block runs slow on org 9.6

2022-12-09 Thread Majzoub, Eric
I've got a code block that looks like the following. #+name: read_csv #+begin_src bash :results replace :exports none cat ./file.csv | gawk -f ./awkfile.awk | tee .tmp1.dat; #+end_src This runs essentially instantaneously in org 9.5.5, but it takes much longer, about 2 seconds or more on org