Advertisement
Guest User

Async Bench: perf

a guest
Oct 3rd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. $ perf stat -a -- python PythonAsyncBench_Queue.py
  2. Performance counter stats for 'system wide':
  3.  
  4. 37211.171951 cpu-clock (msec) # 2.000 CPUs utilized
  5. 25,429 context-switches # 0.683 K/sec
  6. 137 cpu-migrations # 0.004 K/sec
  7. 29,248 page-faults # 0.786 K/sec
  8.  
  9. 18.605707180 seconds time elapsed
  10.  
  11.  
  12. $ perf stat -a -- python PythonAsyncBench_Coroutines.py
  13. Performance counter stats for 'system wide':
  14.  
  15. 33932.088605 cpu-clock (msec) # 2.000 CPUs utilized
  16. 27,452 context-switches # 0.809 K/sec
  17. 104 cpu-migrations # 0.003 K/sec
  18. 168,840 page-faults # 0.005 M/sec
  19.  
  20. 16.966185958 seconds time elapsed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement