Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Shell scripts run slow on my Macs
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="brettgrant99" data-source="post: 224864"><p>I have a shell script that determines the status of a job directory.</p><p></p><p>When I run this script on my linux boxes for 100 directories, it takes about 2 minutes.</p><p></p><p>When I run it on my macs (G5 2.0 Ghz machines) and 100 directories, it takes about 11 minutes.</p><p></p><p>The linux boxes are similar type machines, dual processor 2.2 Ghz Opterons, so I wouldn't expect a big discrepency.</p><p></p><p>The real problem is that I have something like 30000 directories to go though, so right now it takes a bit of time.</p><p></p><p>Just wondering if anyone has any ideas. I am thinking about coding it up in perl and running it that way. Of course I would have to learn perl to do that. :headphone </p><p></p><p>Thanks,</p><p>Brett</p></blockquote><p></p>
[QUOTE="brettgrant99, post: 224864"] I have a shell script that determines the status of a job directory. When I run this script on my linux boxes for 100 directories, it takes about 2 minutes. When I run it on my macs (G5 2.0 Ghz machines) and 100 directories, it takes about 11 minutes. The linux boxes are similar type machines, dual processor 2.2 Ghz Opterons, so I wouldn't expect a big discrepency. The real problem is that I have something like 30000 directories to go though, so right now it takes a bit of time. Just wondering if anyone has any ideas. I am thinking about coding it up in perl and running it that way. Of course I would have to learn perl to do that. :headphone Thanks, Brett [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Shell scripts run slow on my Macs
Top