[erlang-questions] Erlang read file benchmark

Kenny Stone kennethstone@REDACTED
Sun Jul 10 01:08:01 CEST 2011


Why is it awful?

On Sat, Jul 9, 2011 at 6:07 PM, Bob Ippolito <bob@REDACTED> wrote:

> file:read_line does some pretty awful things, I'd expect it to be very
> slow. That said, there should be a much faster yet still easy way to
> do this quickly but there isn't one baked into OTP that I know of.
>
> On Saturday, July 9, 2011, Michael Truog <mjtruog@REDACTED> wrote:
> > He only showed the results on the command-line.  It would be nice to see
> results that show runtime without the startup/teardown overhead that the
> Erlang VM has, since it has a lot more going on than the perl interpreter.
>  I know he briefly mentioned that the difference seemed minimal, but he
> posted no results to show that.
> >
> > On 07/09/2011 12:15 PM, Evans, Matthew wrote:
> >> Sorry if this is a duplicate email.
> >>
> >> I can understand Erlang being a bit slower than Perl for this. Can't see
> an excuse for such a difference though.
> >>
> >> http://agentzh.org/#ErlangFileReadLineBenchmark
> >>
> >> Matt
> >>
> >> Sent from my iPhone
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED
> >> http://erlang.org/mailman/listinfo/erlang-questions
> >>
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110709/d1313f53/attachment.htm>


More information about the erlang-questions mailing list