Jump to content

Slow Application Performance on Custom Code?


waradmin
 Share

1 post in this topic

Recommended Posts

Alright I wanted to test my hackintosh's ability to execute a simple program in the form of Code > Build to see if it would choke at all.

 

So I used the same code on both Windows and OS X86, using Visual Studio and X-Tools respectively.

 

#include <iostream>
using namespace std;

int main()
{
 int i;
 int k;
 i = 0;
 cout << "This program will count from 0 to a user defind number. How high should it count?\n";
 cin >> k;
 while(i < k)
 {
	  cout << i;
	  i++;
 }
}

Now I always use 1000000 for my tests. On my OS X system I believe it starts to get slow around 40,000 but my Windows base can execute the code to completion.

 

Now, is this a problem related to the fact that its a hackintosh, or a problem with how Mac handles the application itself? When I view the ammount of RAM being used my applications, this one on Mac just goes up and up and up, 60MB, 70MB, etc while on windows it stays at about 16MB.

Link to comment
Share on other sites

 Share

×
×
  • Create New...