in reply to Re^2: Perl threads loss of performance with system call
in thread Perl threads loss of performance with system call

I guess you are a little bit resistant to advice. «Beratungsresistent» as we say in German. Please provide more details. Else I abandon all hope. Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

  • Comment on Re^3: Perl threads loss of performance with system call

Replies are listed 'Best First'.
Re^4: Perl threads loss of performance with system call
by daniel85 (Novice) on Jul 14, 2021 at 13:07 UTC
    I do not understand what the importance of the "exact program" is, as other commands (such as echo) replicate the issue. But that said, this is the program: RNAfold from the ViennaRNA suite (https://www.tbi.univie.ac.at/RNA/).

      Probably it matters. From ibidem:

      «Perl Bindings...The RNA module to access RNAlib C-library functions from within Perl scripts»

      I understand this like this: You don’t need to shell-out. You can do the stuff in pure Perl. If you fork or use threads is your design decision.

      Update: See here

      «The Crux of the Biscuit is the Apostrophe»

        I am sorry, but it is not like this. Not every single part of the framework is accessible from the Perl bindings. Ergo, the need to access it via shell-out.