Skip to content

Instantly share code, notes, and snippets.

@xquery
Created February 6, 2020 18:53
Show Gist options
  • Select an option

  • Save xquery/21f032a4707736d4f29dfc1680d22a9e to your computer and use it in GitHub Desktop.

Select an option

Save xquery/21f032a4707736d4f29dfc1680d22a9e to your computer and use it in GitHub Desktop.
initial perf runs on curl http3 usage
perf stat -r 100 curl --silent --http3 https://server-aioquic:443 -o /dev/null
Performance counter stats for 'curl --silent --http3 https://server-aioquic:443 -o /dev/null' (100 runs):
15.54 msec task-clock # 0.766 CPUs utilized ( +- 1.42% )
13 context-switches # 0.855 K/sec ( +- 11.32% )
0 cpu-migrations # 0.010 K/sec ( +- 24.68% )
369 page-faults # 0.024 M/sec ( +- 0.04% )
<not supported> cycles
<not supported> instructions
<not supported> branches
<not supported> branch-misses
0.020284 +- 0.000513 seconds time elapsed ( +- 2.53% )
perf stat -r 100 curl --silent --http3 https://server-nghttp3:443 -o /dev/null
Performance counter stats for 'curl --silent --http3 https://server-nghttp3:443 -o /dev/null' (100 runs):
17.36 msec task-clock # 0.731 CPUs utilized ( +- 1.83% )
21 context-switches # 0.001 M/sec ( +- 10.32% )
0 cpu-migrations # 0.013 K/sec ( +- 22.16% )
367 page-faults # 0.021 M/sec ( +- 0.04% )
<not supported> cycles
<not supported> instructions
<not supported> branches
<not supported> branch-misses
0.023726 +- 0.000510 seconds time elapsed ( +- 2.15% )
perf stat -r 100 curl --silent --http3 https://server-quiche:443 -o /dev/null
Performance counter stats for 'curl --silent --http3 https://server-quiche:443 -o /dev/null' (100 runs):
22.13 msec task-clock # 0.579 CPUs utilized ( +- 3.34% )
80 context-switches # 0.004 M/sec ( +- 9.14% )
0 cpu-migrations # 0.004 K/sec ( +- 38.44% )
367 page-faults # 0.017 M/sec ( +- 0.04% )
<not supported> cycles
<not supported> instructions
<not supported> branches
<not supported> branch-misses
0.03824 +- 0.00149 seconds time elapsed ( +- 3.91% )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment