vmprof-python icon indicating copy to clipboard operation
vmprof-python copied to clipboard

vmprof example not showing jit code stats

Open zmjiang opened this issue 8 years ago • 4 comments

We are trying to run the cpuburn.py example on the website with pypy version 5.7.0 (64 bit version) on Ubuntu. We used exactly the same command to generate the dat file. When we try to visualize the results with vmprofshow (see screenshot below), it did not include any jit timing information as suggested on the website.

image

Could you please let us know if we are missing anything here?

zmjiang avatar Mar 28 '17 22:03 zmjiang

I agree that some JIT code frames are missing. Nevertheless, the functions burn, _iterate, _next_random are jit compiled. You can see that in this profile (--web) http://vmprof.com/#/3adcaf52-cf1c-44ed-84c2-f056d1717d76

As far as I can tell, PyPy 5.7.0 and the one I'm using which is a version after PyPy 5.7.0 do not log the JIT code entries into the profile. I'm investigating.

planrich avatar Mar 29 '17 13:03 planrich

Thanks for the prompt response!

We will use the web option for now. Please let us know your investigation results regarding the issues of logging JIT code entries.

zmjiang avatar Mar 30 '17 03:03 zmjiang

now the Jit code stat is missing, this link is 404. http://vmprof.com/#/3adcaf52-cf1c-44ed-84c2-f056d1717d76 ''' Http: 404 Not Found. URL: /api/jit/meta/3adcaf52-cf1c-44ed-84c2-f056d1717d76/ '''

LoHiaufung avatar Apr 21 '20 01:04 LoHiaufung

Hi, planrich, is the jit code stat work now?

LoHiaufung avatar Apr 21 '20 01:04 LoHiaufung