Skip to content

Instantly share code, notes, and snippets.

@kazuho
Created May 17, 2020 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazuho/37d860d8199fb69e0043f5dd2e92dca3 to your computer and use it in GitHub Desktop.
Save kazuho/37d860d8199fb69e0043f5dd2e92dca3 to your computer and use it in GitHub Desktop.
# コンパイル
gcc -fno-lto -march=native -O2 -fno-unroll-loops -I include lib/picotls.c lib/fusion.c t/fusionbench.c
# それぞれのパラメータで動かし、スループット(-bの値 x -nの値 / 所要時間)を計算
time ./a.out -b 1440 -n 10000000
time ./a.out -b 1440 -n 10000000 -s
time ./a.out -b 16384 -n 1000000
time ./a.out -b 16384 -n 1000000 -s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment