Pitiful benchmark performance

Sebastian Strollo seb@REDACTED
Fri Jun 8 22:15:53 CEST 2001


James Hague <jamesh@REDACTED> writes:

> Some of the benchmarks are pretty convoluted in Erlang.  I'm thinking
> specifically of one of the Hash benchmarks, which does a lot of conversion
> between lists and atoms inside an inner loop.
...

Hmm, further... This way:

  server_loop(Sock, Bytes + length(binary_to_list(Packet)));

of counting the number of bytes received in the echo test (instead of
just size(Packet)) creates quite an overhead...

/Sebastian



More information about the erlang-questions mailing list