![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re^5: Our perl/xs/c app is 30% slower with 64bit 5.24.0, than with 32bit 5.8.9. Why?by BrowserUk (Patriarch) |
on Dec 22, 2016 at 10:36 UTC ( [id://1178356]=note: print w/replies, xml ) | Need Help?? |
Do you have any tips on using sleepy? Once you've narrowed the scope of the possibilities, bracket the suspect code with calls to getc() or similar so that you can attach teh profiler just before the suspect code and stop instrumenting immediately after. Not so useful if you've no idea where to look; but very useful once you do. I assume that the test cases need to run for some time? It kind of depends on the nature of the code; but longer you run in the errant code the more likely things are to stand out. Any specific compile options I should use? I use MS compilers rather than gcc, so I'm not familiar with the latters options. However, you should basically stick to the same options you use for your production code. Anything else is just apples and oranges. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|