sudo yum install valgrind kcachegrind
and pyprof2calltree:
pip install pyprof2calltree
python -m cProfile -o profile_data.pyprof run.py
# this converts the stats into a callgrind format
pyprof2calltree -i profile_data.pyprof
kcachegrind profile_data.pyprof.log
Alternatively, for visualisation, you can also use gprof2dot and graphviz (dot):
gprof2dot.py --format=callgrind --output=out.dot profile_data.pyprof.log
dot -Tsvg out.dot -o graph.svg
td sz
Jul 31, 2020Every morning, I wake up at 6:30. After brushing my teeth and washing my face. I went to work by bus and was there around 7:00 am. It took me about 45 minutes from home to go to my office. I usually eat breakfast at 7:50 am. I usually start my work at 8:00 am. I stopped at 12:00 am to have lunch at the office. In the afternoon, I finished my job at 7:00 pm, then I went home. I have dinner at 8:00 pm. After for dinner, I spend my time for excercise.
Mar 22, 2020Phonetic Meaning Word /ˌen.dʒɪˈnɪr/ a person whose job is to design or build machines, engines, or electrical equipment, or things such as roads, railways, or bridges, using scientific principles engineer /əˈkaʊn.t̬ənt/ someone who keeps or examines the records of money received, paid, and owed by a company or person
Mar 5, 2020Where do you live? What’s your hometown like? Where do you live? Where do you live? Vocabulary Eng Viet Pronuncation Ward
Feb 29, 2020or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up