Hmm.  I always had the impression that fprof was the preferred way to
benchmark code.  Good to know.

--
Onorio


On Mon, May 23, 2016 at 3:21 PM, José Valim <[email protected]
> wrote:

> The empirical proof was running fprof
>> <http://erlang.org/doc/man/fprof.html>, an erlang tool "used to profile
>> a program to find out how the execution time is used".
>>
>
> To be fair, fprof should not be used for benchmarking because the
> profiling hooks will affect code performance in different ways. For
> example, if you are running code and then enables fprof, that same code
> path may now take much longer. A benchmarking tool would be ideal here.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "elixir-lang-talk" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elixir-lang-talk/l-7rK9_bT2Q/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4%2BotB7niwyNFtbH_hZsw6ubw65ZXFKqVkfSdXXdCRg6VQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4%2BotB7niwyNFtbH_hZsw6ubw65ZXFKqVkfSdXXdCRg6VQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Onorio Catenacci

http://onor.io
http://www.google.com/+OnorioCatenacci

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-talk/CAP%3DvNq9wfCxs9xJM3QFtxGOydSRfmnUpvu2o15dcCkzi-raPmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to