We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://www.pypy.org/posts/2024/05/vmprof-firefox-converter.html
The text was updated successfully, but these errors were encountered:
Summarizing the steps to recreate the flame graph here:
import collections, sys counts = collections.Counter() remaining = '' while True: chunk = remaining + sys.stdin.read(64*1024) if not chunk: break last_lf = chunk.rfind('\n') # process to last LF character if last_lf == -1: remaining = '' else: remaining = chunk[last_lf+1:] chunk = chunk[:last_lf] counts.update(chunk.lower().split()) for word, count in counts.most_common(): print(word, count)
pip install vmprof flask_cors
git clone https://github.com/Cskorpion/vmprof-firefox-converter
cd vmprof-firefox-converter; python -m vmprofconvert -run test_vmprof.py < ~/Downloads/kjvbible.txt
Sorry, something went wrong.
No branches or pull requests
Profiling PyPy using the Firefox profiler user interface | PyPy
https://www.pypy.org/posts/2024/05/vmprof-firefox-converter.html
The text was updated successfully, but these errors were encountered: