Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by karlgoethebier (Abbot)
on Jul 14, 2021 at 01:21 UTC ( [id://11134984]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11134984]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-20 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found