Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ppikula on github.
  • I am ppikula (https://keybase.io/ppikula) on keybase.
  • I have a public key ASDEdM9U2KErL2l3xfC9JwB6L_FMbv98ueI_IBQeGALrNwo

To claim this, I am signing this object:

@ppikula
ppikula / amoc_dist.erl
Last active October 13, 2015 22:04
dialyzer error ?
-spec do(amoc:scenario(), non_neg_integer(), non_neg_integer(), amoc:do_opts()) -> [any()].
do(Scenario, Start, End, Opts) ->
Nodes = proplists:get_value(nodes, Opts, nodes()),
_InterArrival = proplists:get_value(interarrival, Opts, 75),
_RepeatTimeout = proplists:get_value(repeat, Opts, 75),
_Step = proplists:get_value(step, Opts, 1),
amoc_event:notify({dist_do, Scenario, Start, End, Opts}),
Count = length(Nodes),
@ppikula
ppikula / gist:b8c1b9fb77644216e1a6
Created October 2, 2015 10:23
EXML load tests - recon statistics
==============================
Master
==============================
rp(recon_alloc:cache_hit_rates()).
[{{instance,2},
[{hit_rate,0.862016253869969},{hits,44549},{calls,51680}]},
{{instance,1},
[{hit_rate,0.8622973104184872},{hits,44404},{calls,51495}]},
{{instance,4},
[{hit_rate,0.8648939854542655},{hits,44952},{calls,51974}]},