Skip to content

Instantly share code, notes, and snippets.

View lpgauth's full-sized avatar
😄
busy building cool stuff

Louis-Philippe Gauthier lpgauth

😄
busy building cool stuff
View GitHub Profile
-module(hipe_nif).
-compile([
debug_info,
native
]).
-export([
test/0
]).
Client PoolSize Concurency Requests/s Error %
=================================================
buoy 128 3072 1154538 0.0
buoy 128 4096 1163100 0.0
buoy 128 6144 1191532 0.4
buoy 128 8192 1155036 0.8
buoy 192 3072 1128826 0.0
buoy 192 4096 1200307 0.0
buoy 192 6144 1167692 0.0
buoy 192 8192 1149235 0.1
Client PoolSize Concurency Requests/s Error %
=================================================
buoy 8 32 117252 0.0
buoy 8 64 185473 0.0
buoy 8 128 299130 0.0
buoy 8 512 244706 0.0
buoy 8 2048 181268 0.4
buoy 8 4096 178915 4.0
buoy 16 32 129619 0.0
buoy 16 64 204401 0.0
@lpgauth
lpgauth / gist:2b9f1d32297889c35f1c9349d95ec774
Created March 24, 2017 16:38
httpc_bench results for buoy
Client PoolSize Concurency Requests/s Error %
=================================================
buoy 32 64 208813 0.0
buoy 32 128 314645 0.0
buoy 32 512 666691 0.0
buoy 32 2048 468397 0.3
buoy 64 64 187446 0.0
buoy 64 128 256443 0.0
buoy 64 512 645944 0.0
buoy 64 2048 769679 0.3
Client PoolSize Concurency Requests/s Error %
=================================================
buoy 8 32 119643 0.0
buoy 8 64 173753 0.0
buoy 8 128 228673 0.0
buoy 8 512 191683 0.0
buoy 8 2048 138917 1.3
buoy 16 32 136448 0.0
buoy 16 64 206492 0.0
buoy 16 128 297430 0.0
@lpgauth
lpgauth / gist:d7c2ee12dad0ef6c67df78ab35aae855
Created March 8, 2017 17:24
traps: 7_scheduler[12067] general protection ip:570101 sp:7f0041ff9620 error:0 in beam.smp[400000+2e2000]
#0 I_lg (xl=2181429509662, x=0x7ef9d52e0a98) at beam/big.c:1447
#1 big_decimal_estimate (x=x@entry=139611488520850) at beam/big.c:1722
#2 0x00000000004df244 in print_term (dcount=<synthetic pointer>, obj=139611488520850, arg=0x7f0041ff99ac,
fn=0x66a450 <erts_write_fd>) at beam/erl_printf_term.c:367
#3 erts_printf_term (fn=0x66a450 <erts_write_fd>, arg=0x7f0041ff99ac, term=<optimized out>, precision=99999)
at beam/erl_printf_term.c:648
#4 0x0000000000668718 in erts_printf_format (fn=<optimized out>, arg=arg@entry=0x7f0041ff99ac,
fmt=fmt@entry=0x68c0d0 "=timer:%T\nMessage: %T\nTime left: %b64d\n", ap=ap@entry=0x7f0041ff9860)
at common/erl_printf_format.c:834
Running benchmark...
Client PoolSize Concurency Requests/s Error %
=================================================
buoy 8 32 123174 0.0
buoy 8 64 178570 0.0
buoy 8 128 242208 0.0
buoy 8 512 208121 0.0
buoy 8 2048 162814 0.9
buoy 16 32 135418 0.0
@lpgauth
lpgauth / httpc_bench_results_204800
Last active March 7, 2017 16:45
time ./bin/run.sh
Running benchmark...
Client PoolSize Concurency Requests/s Error %
=================================================
buoy 8 32 117000 0.0
buoy 8 64 188048 0.0
buoy 8 128 241843 0.0
buoy 8 512 212870 0.0
buoy 8 2048 170639 0.7
buoy 16 32 140524 0.0
6> buoy_bench:request().
name: buoy, percentile: [{50,845},
{75,1150},
{90,1468},
{95,1713},
{99,2329},
{999,4693}]
name: dlhttpc, percentile: [{50,2539},
{75,5435},
{90,10993},
-module(flare_timing).
-export([
bench/0
]).
%% public
bench() ->
bench("random_1", fun () -> random_1(1000000) end, 1000000, 50),
bench("random_2", fun () -> random_2(1000000) end, 1000000, 50),