Last active
November 2, 2016 05:15
-
-
Save major/00c283876120a8af904ffe75f893244e to your computer and use it in GitHub Desktop.
perf and pyperformance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Before adjusting sysctl: | |
Performance counter stats for 'pyperformance run --python=python2 -o py2.json': | |
252671.067374 task-clock (msec) # 0.999 CPUs utilized | |
9,655 context-switches # 0.038 K/sec | |
2,529 cpu-migrations # 0.010 K/sec | |
2,866,845 page-faults # 0.011 M/sec | |
<not supported> cycles | |
<not supported> stalled-cycles-frontend | |
<not supported> stalled-cycles-backend | |
<not supported> instructions | |
<not supported> branches | |
<not supported> branch-misses | |
252.946154853 seconds time elapsed | |
After adjusting sysctl: | |
Performance counter stats for 'pyperformance run --python=python2 -o py2.json': | |
257911.691451 task-clock (msec) # 1.000 CPUs utilized | |
10,828 context-switches # 0.042 K/sec | |
2,515 cpu-migrations # 0.010 K/sec | |
3,045,755 page-faults # 0.012 M/sec | |
<not supported> cycles | |
<not supported> stalled-cycles-frontend | |
<not supported> stalled-cycles-backend | |
<not supported> instructions | |
<not supported> branches | |
<not supported> branch-misses | |
257.936018230 seconds time elapsed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment