Unicast 20k messages, $500-$1000 bounty
Fri Jul 17 01:37:40 CEST 2009
Sorry a quick look at the code didn't answer this question :)
How many messages are you timing? I usually send 10 or more messages
and average the time, or take the 95th percentile one, this may even
out the results a bit.
Also I run the server and do two runs of the clients, and time the
second one to eliminate any one time dynamic loading glitches. This
made run-to-run differences minimal.
On Jul 16, 3:16 pm, Joel Reymont <> wrote:
> More fun with Erlang optimization...
> bot:wait used to take 3 arguments and I thought I'd remove the last
> two since they are not needed, as well as remove the subscribing,
> connected and disconnected handling code. I then removed the sending
> of these messages from flashbot.
> The above trimming consistently bumped my latency from 1s to 2s on the
> Mac with HiPE.
> What gives?
> Mac hacker with a performance benthttp://www.linkedin.com/in/joelreymont
> erlang-questions mailing list. Seehttp://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
More information about the erlang-questions