[erlang-questions] Speed of CSV parsing: how to read 1M of lines in 1 second

Benoit Chesneau bchesneau@REDACTED
Mon Mar 26 11:02:25 CEST 2012


On Mon, Mar 26, 2012 at 10:58 AM, Benoit Chesneau <bchesneau@REDACTED> wrote:
> On Sun, Mar 25, 2012 at 7:47 PM, Max Lapshin <max.lapshin@REDACTED> wrote:
>> So, currently my time is 850 ms for 300K line file which is 2.8 us per line.
>>
>> https://github.com/maxlapshin/csv_reader
>>
>> $ ./csv_bench.erl example.csv
>
> can you provide the example.csv file somewhere ?

nm...

    $ ruby fill.rb > example.csv

did the trick.



More information about the erlang-questions mailing list