Wouldn't this be a very bad idea for any kind of benchmarking? I imagine a runner in a race. He has special shoes that make him go a bit faster but for every step he takes a piece of the shoe falls off, occasionally (every 5km) he has to change his shoes. So for our test of his speed we measure a 3km measurement. Unfortunately in the actual race he has to run 25km.
Cheers, Greg On Mon, May 30, 2016 at 8:34 AM, Tobias Pfeiffer <[email protected]> wrote: > Hi everyone, > > is there a way in Elixir/Erlang to turn off the Garbage collection? I've > searched and what I found so far is :erlang.garbage_collect to force > garbage collection. http://erlang.org/doc/man/erlang.html#garbage_collect-0 > > Is there any way to turn it off completely? > > Why would I want to do that? I'm working on a benchmarking tool and I > don't want garbage collection to mess with my measured execution times. > > Any hints welcome :) > Tobi > -- > http://www.pragtob.info/ > > -- > 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/574BECF6.1060309%40gmail.com. > For more options, visit https://groups.google.com/d/optout. -- Studying for the Turing test -- 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/CAC9RQthoVqFCjYunRX7eMr9nF7tybB5tyMKP43GkOT9WoaPSBQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
