in reply to Re^4: Our perl/xs/c app is 30% slower with 64bit 5.24.0, than with 32bit 5.8.9. Why?
in thread Our perl/xs/c app is 30% slower with 64bit 5.24.0, than with 32bit 5.8.9. Why?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Our perl/xs/c app is 30% slower with 64bit 5.24.0, than with 32bit 5.8.9. Why?
by Anonymous Monk on Dec 22, 2016 at 19:59 UTC |