Author | Message |
Dave Przybylo
Send message Joined: 5 Feb 08 Posts: 236 Credit: 49,648 RAC: 0
|
I am not a programmer though, so I'm not too familar on how to interpret the results
I am a programmer, but not one that has ever really had to deal with performance profiling and tuning of an application. I see that it spent a lot of time in what I had gone back up to earlier today, calculate_integrals. It has pointers to what I believe are 3 structs being sent into it. I may be wrong about structs. It has been quite a while since actively dealing with C or C++. This is where I start disliking C, with all the pointers and referencing and dereferencing and manual memory management rather than the "easy" way of garbage collection, etc, etc, etc... However, I know that opinion comes from the fact that I do "business logic" applications, not scientific or math applications...
Anyway, if I'm feeling really industrious, sometime over the weekend I may try to get my old Visual Studio 6 installed...and see if I can remember how in the heck to compile / make the thing... .Net makes it real easy to just load the .prj or .sln...
You can do C in any Visual Studio version. I recommend 2005. I like VS a lot. I switched to Mac though and my onIy regret is I have to use xCode now. Dave Przybylo
MilkyWay@home Developer
Department of Computer Science
Rensselaer Polytechnic Institute
|
|
vraa
Send message Joined: 6 Mar 08 Posts: 8 Credit: 6,870,220 RAC: 0
|
I am not a programmer though, so I'm not too familar on how to interpret the results
I am a programmer, but not one that has ever really had to deal with performance profiling and tuning of an application. I see that it spent a lot of time in what I had gone back up to earlier today, calculate_integrals. It has pointers to what I believe are 3 structs being sent into it. I may be wrong about structs. It has been quite a while since actively dealing with C or C++. This is where I start disliking C, with all the pointers and referencing and dereferencing and manual memory management rather than the "easy" way of garbage collection, etc, etc, etc... However, I know that opinion comes from the fact that I do "business logic" applications, not scientific or math applications...
Anyway, if I'm feeling really industrious, sometime over the weekend I may try to get my old Visual Studio 6 installed...and see if I can remember how in the heck to compile / make the thing... .Net makes it real easy to just load the .prj or .sln...
You can do C in any Visual Studio version. I recommend 2005. I like VS a lot. I switched to Mac though and my onIy regret is I have to use xCode now.
Hello
I am on Mac too
I use XCode sometimes to compile things I download
Does this project have a XCode project for the app?
I would also like to help optimize this app, I can recognize that from the above example dividing by d and then multiplying by d is an unnecessary and therefore wasteful operation!
|
|
Dave Przybylo
Send message Joined: 5 Feb 08 Posts: 236 Credit: 49,648 RAC: 0
|
I am not a programmer though, so I'm not too familar on how to interpret the results
I am a programmer, but not one that has ever really had to deal with performance profiling and tuning of an application. I see that it spent a lot of time in what I had gone back up to earlier today, calculate_integrals. It has pointers to what I believe are 3 structs being sent into it. I may be wrong about structs. It has been quite a while since actively dealing with C or C++. This is where I start disliking C, with all the pointers and referencing and dereferencing and manual memory management rather than the "easy" way of garbage collection, etc, etc, etc... However, I know that opinion comes from the fact that I do "business logic" applications, not scientific or math applications...
Anyway, if I'm feeling really industrious, sometime over the weekend I may try to get my old Visual Studio 6 installed...and see if I can remember how in the heck to compile / make the thing... .Net makes it real easy to just load the .prj or .sln...
You can do C in any Visual Studio version. I recommend 2005. I like VS a lot. I switched to Mac though and my onIy regret is I have to use xCode now.
Hello
I am on Mac too
I use XCode sometimes to compile things I download
Does this project have a XCode project for the app?
I would also like to help optimize this app, I can recognize that from the above example dividing by d and then multiplying by d is an unnecessary and therefore wasteful operation!
Yes, in fact this project does have an xCode project. I think the decision was made that when the new app gets released then we will open up all the code to the community. For now though, the code seems to be floating around out there on the web so if you can find it, grab it and throw it into xCode. Dave Przybylo
MilkyWay@home Developer
Department of Computer Science
Rensselaer Polytechnic Institute
|
|
vraa
Send message Joined: 6 Mar 08 Posts: 8 Credit: 6,870,220 RAC: 0
|
I am not a programmer though, so I'm not too familar on how to interpret the results
I am a programmer, but not one that has ever really had to deal with performance profiling and tuning of an application. I see that it spent a lot of time in what I had gone back up to earlier today, calculate_integrals. It has pointers to what I believe are 3 structs being sent into it. I may be wrong about structs. It has been quite a while since actively dealing with C or C++. This is where I start disliking C, with all the pointers and referencing and dereferencing and manual memory management rather than the "easy" way of garbage collection, etc, etc, etc... However, I know that opinion comes from the fact that I do "business logic" applications, not scientific or math applications...
Anyway, if I'm feeling really industrious, sometime over the weekend I may try to get my old Visual Studio 6 installed...and see if I can remember how in the heck to compile / make the thing... .Net makes it real easy to just load the .prj or .sln...
You can do C in any Visual Studio version. I recommend 2005. I like VS a lot. I switched to Mac though and my onIy regret is I have to use xCode now.
Hello
I am on Mac too
I use XCode sometimes to compile things I download
Does this project have a XCode project for the app?
I would also like to help optimize this app, I can recognize that from the above example dividing by d and then multiplying by d is an unnecessary and therefore wasteful operation!
Yes, in fact this project does have an xCode project. I think the decision was made that when the new app gets released then we will open up all the code to the community. For now though, the code seems to be floating around out there on the web so if you can find it, grab it and throw it into xCode.
Interesting!
I was able to find the xcode project, thanks!
I am glad you have Mac compatibility :)
|
|
Bigred
Send message Joined: 23 Nov 07 Posts: 33 Credit: 300,042,542 RAC: 0
|
|
|
Milksop at try
Send message Joined: 1 Oct 08 Posts: 106 Credit: 24,162,445 RAC: 0
|
Just to mention it here, I posted some suggestions in the code discussion forum that will increase the performance by a factor of 30 or more. I hope the project will look into it and will implement it as fast as possible.
|
|