Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7863959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:38:41+00:00 2026-06-02T23:38:41+00:00

I am facing a very weird situation on Mac OS X. This has bee

  • 0

I am facing a very weird situation on Mac OS X.
This has bee replicated on two Macs (a Macbook and Mac Mini Server).

Essentially I am running the same, identical ruby code in two different directories. In the first directory I have an execution time of 7 seconds and on the second directory 0.191.
There is absolutely no difference among the two.

gspider@b1-3 ~£ time ruby  sb2.rb 
#<struct recno=2001, name="Amazon", ticker="MPS", tradeprice=185.5, tradedate="2012-04-        28", quantity=45, totalposition=8347.5>

real    0m7.775s
user    0m7.160s
sys 0m0.612s


 gspider@b1-3 ~/Sites£ time ruby sb2.rb
 #<struct recno=2001, name="Amazon", ticker="MPS", tradeprice=185.5, tradedate="2012-04-       28", quantity=45, totalposition=8347.5>

real    0m0.191s
user    0m0.164s
 sys    0m0.023s

but there is more. Even a simple ruby script fetching a non existing file behaves different in the two directories: Notice that it is using the same identical ruby version

gspider@b1-3 ~£ time ruby sb3.rb
/Users/spider/.rvm/gems/ruby-1.9.3-p125/gems/KirbyBase-2.6.1/lib/kirbybase.rb:520:in      `get_table': Table not found! (RuntimeError)
from sb3.rb:8:in `<main>'

real    0m7.885s
user    0m7.240s
sys 0m0.642s


gspider@b1-3 ~/Sites£ time ruby  sb3.rb
/Users/spider/.rvm/gems/ruby-1.9.3-p125/gems/KirbyBase-2.6.1/lib/kirbybase.rb:520:in    `get_table': Table not found! (RuntimeError)
from sb3.rb:8:in `<main>'

real    0m0.183s
user    0m0.156s
sys 0m0.023s

What can be the cause for this highly erratic behavior ? Again this is the same machine as you can see from the bash tag just 2 different directories. I have been able to replicate the same error on another mac but the “infected” path/directory is different so it just looks like randomly some directories /paths get this ruby slow delayed execution curse.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T23:38:42+00:00Added an answer on June 2, 2026 at 11:38 pm

    KirkyBase opens all tables ( .tbl files ) in a folder.

    If you have more bigger files in some folder and less or smaller files in the other this might explain the difference in time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

ohk i am facing this very weird problem . i have a cloud server
We are facing a very weird situation using Visual Studio 2005: There is a
I'm facing a very weird problem. This is map.h: #define MAP_WIDTH 256 #define MAP_HEIGHT
I am facing this very weird problem, I have created a custom UITableViewCell on
In my 2nd ASP.NET MVC project I'm facing a very weird problem: when I
My development team of four people has been facing this issue for some time
I've websphere application server 7 network deployment, and am facing a very strange issue,
I m facing very weird problem in wordpress wp-admin. I was trying to upload
I am using MAMP and codeigniter framework. Am facing a very weird problem. There
I am facing very weird problem, i made an web application for my client,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.