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 +0000, 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 System. Please use proper judgment and caution when opening > attachments, clicking links, or responding to this email. > > "Majzoub, Eric" <eric.majz...@umsl.edu> 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 > > longer, about 2 seconds or more on org 9.6, using the first release > > version. Pre-release versions of 9.6 were even slower, so it seems > > it's > > improved. But still, it's a lot slower than 9.5.5. What can I do to > > diagnose the slowdown? > > I partially solved the slowdown in > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=76a725317 > > There is still some slowdown originated from table alignment. We now > use a more accurate approach to calculate string width, which gives > performance penalty. If needed, table alignment might also be > optimized, > but it will not be trivial. > > For diagnosing slowdowns, you may refer to > https://list.orgmode.org/orgmode/87ee2nlslt.fsf@localhost/ > > Let me know if the latest bugfix branch gives you acceptable > performance. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at <https://orgmode.org/>. > Support Org development at <https://liberapay.com/org-mode>, > or support my work at <https://liberapay.com/yantar92>