Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Speeding up external command execution

by frozenwithjoy (Priest)
on Apr 13, 2014 at 19:35 UTC ( [id://1082159]=note: print w/replies, xml ) Need Help??


in reply to Speeding up external command execution

What happens if you call it from within perl without looking up values (i.e., try it hard-coded)? This would at least answer the question of whether the problem arises from calling it in perl or from some artifact related to the way you are putting the call together. Also, are you sure that it is solely this call that is slowing things down and not other stuff going on before/after?
  • Comment on Re: Speeding up external command execution

Replies are listed 'Best First'.
Re^2: Speeding up external command execution
by Anonymous Monk on Apr 13, 2014 at 19:42 UTC
    If I hard code the command it still takes 13 seconds. And I'm sure the delay is coming from just this call because I'm timing it by calling time() just before and just after the call to system.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found