[erlang-questions] The trouble with measurements (was: Benchmarking Erlang: ...)

Joel Reymont joelr1@REDACTED
Thu Oct 9 19:18:39 CEST 2008


On Oct 9, 2008, at 4:58 PM, Richard Carlsson wrote:

> So why didn't anyone notice the timeout? Well, because of timer:tc(),
> of course, which runs the call within a catch! So, what the timer  
> really
> measured for the lookup loop, was the time for the first  
> gen_server:call
> to time out, namely, five seconds.


Ouch! It works properly with call instead of cast, though, do I  
understand you correctly?

--
wagerlabs.com








More information about the erlang-questions mailing list