Skip to content

The output seems slow to me. Am I doing something wrong? #9

@aborruso

Description

@aborruso

Hi,
I'm using lines0.so v0.1.1.

If I run this command on this input csv file

sqlite3  tmp.sqlite "select count(*) from lines_read('input.csv');"

I have the output in 0.229 seconds.

If I apply the same to your example ndjson file

sqlite3  tmp.sqlite "select count(*) from lines_read('calendar.ndjson');"

I have the output in 51.493 seconds. Probably I'm doing something wrong.
Using wc <calendar.ndjson wc -l I have the output in 1.053 seconds.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions