Sorry to be slightly sarcastic here but if you were to be able to turn GC 
then:

- How relevant would your benchmarks then be to "real" systems?
- How would benchmark the system crashing as it ran out of memory? 
(couldn't help myself here)

Robert


On Monday, 30 May 2016 09:34:19 UTC+2, Tobias Pfeiffer 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/9cbd0760-9cda-4e35-98ae-be8e567cf9d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to