Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: Second background process is pausing the gui

by tybalt89 (Prior)
on Jun 12, 2020 at 20:06 UTC ( #11117996=note: print w/replies, xml ) Need Help??


in reply to Re^4: Second background process is pausing the gui
in thread Second background process is pausing the gui

Best guess so far: you are dumping (hundreds of)? thousands of lines into the text widget. This is what is taking time.

Sort of confirmed, instead of just 'find' try

q( find / 2>/dev/null | perl -pe '$| = 1; select undef, undef, undef, +0.01' )
This feeds in the lines just a little slower :)

Replies are listed 'Best First'.
Re^6: Second background process is pausing the gui
by choroba (Archbishop) on Jun 12, 2020 at 21:53 UTC
    Yes, it helps.
    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2020-10-24 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (242 votes). Check out past polls.

    Notices?