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

What is pperf? Very little data is collected... #8

Open
wvxvw opened this issue Aug 24, 2018 · 0 comments
Open

What is pperf? Very little data is collected... #8

wvxvw opened this issue Aug 24, 2018 · 0 comments

Comments

@wvxvw
Copy link

wvxvw commented Aug 24, 2018

OK, first, there's a problem in this code:

    if sys.version_info >= (3, 0):
        if file_name is None:
            file_name = b'out.prof'
        status = libprofiler.ProfilerStart(bytes(file_name, 'ASCII'))

b'out.prof' should be 'out.prof' (not an asci string). Converting an asci string in this way will result in an error.

Second: what is pperf? I couldn't find such program in gperftools package (Arch name for Debian google-perftools). There's only pprof.

This aside, when I try running yep.start() ... yep.stop() very little information is collected. When I then try:

pprof $(which python) ./out.pprof

It does enter interactive mode, but doing top100 gives just 10 records, which are selected kind of at random...

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