Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmprofshow doesn't work #222

Open
LoHiaufung opened this issue May 7, 2020 · 0 comments
Open

vmprofshow doesn't work #222

LoHiaufung opened this issue May 7, 2020 · 0 comments

Comments

@LoHiaufung
Copy link

Accord the README, the output should be:

oberstet@thinkpad-t430s:~/scm/vmprof-python$ vmprofshow vmprof_cpuburn.dat
100.0%  <module>  100.0%  tests/cpuburn.py:1
100.0% .. test  100.0%  tests/cpuburn.py:35
100.0% .... burn  100.0%  tests/cpuburn.py:26
 99.2% ...... _iterate  99.2%  tests/cpuburn.py:19
 97.7% ........ _iterate  98.5%  tests/cpuburn.py:19
 22.9% .......... _next_rand  23.5%  tests/cpuburn.py:14
 22.9% ............ JIT code  100.0%  0x7fa7dba57a10
 74.7% .......... JIT code  76.4%  0x7fa7dba57a10
  0.1% .......... JIT code  0.1%  0x7fa7dba583b0
  0.5% ........ _next_rand  0.5%  tests/cpuburn.py:14
  0.0% ........ JIT code  0.0%  0x7fa7dba583b0

But my output is

100.0%  <module>  100.0%  vmprof/test/cpuburn.py:1
100.0% .. test  100.0%  vmprof/test/cpuburn.py:36
100.0% .... burn  100.0%  vmprof/test/cpuburn.py:27
100.0% ...... _iterate  100.0%  vmprof/test/cpuburn.py:20
  0.0% ........ _next_rand  0.0%  vmprof/test/cpuburn.py:15

my output lost the jit code informatioin. Is the JIT off by default, should I do something to turn on?
Or I do something wrong?
I am running a 32bit pypy.

ubuntu@VM-0-8-ubuntu:~/vmprof-python$ pypy --version
Python 2.7.10 (5.1.2+dfsg-1~16.04, Jun 16 2016, 17:35:57)
[PyPy 5.1.2 with GCC 5.3.1 20160413]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant