GithubHelp home page GithubHelp logo

node-avz-csv's Introduction

Fast CSV stream parser for Node.js

Build Status

Sub-project of jl-sql. Not for external use.

Installation

npm install @avz/csv

Benchmark results

short-lines {"batch":false} [x500400, 28.2 MiB]: 5.799 sec (13510799 rows, 2329723 rows per cpu user sec)
short-lines {"batch":false,"rtrim":true,"ltrim":true} [x500400, 28.2 MiB]: 6.074 sec (13510799 rows, 2224521 rows per cpu user sec)
short-lines {"batch":true} [x500400, 28.2 MiB]: 3.358 sec (13510799 rows, 4022932 rows per cpu user sec)
large-lines {"batch":false} [x50000, 333.6 MiB]: 4.756 sec (249999 rows, 52565 rows per cpu user sec)
large-lines {"batch":false,"rtrim":true,"ltrim":true} [x50000, 333.6 MiB]: 4.438 sec (249999 rows, 56332 rows per cpu user sec)
large-lines {"batch":true} [x50000, 333.6 MiB]: 4.263 sec (249999 rows, 58641 rows per cpu user sec)
numbers {"batch":true,"detectNumbers":false} [x500152, 25.3 MiB]: 1.292 sec (5001519 rows, 3871987 rows per cpu user sec)
numbers {"batch":true,"detectNumbers":true} [x500152, 25.3 MiB]: 2.452 sec (5001519 rows, 2039630 rows per cpu user sec)
dates {"batch":true,"detectDates":false} [x500129, 60.6 MiB]: 1.390 sec (3000774 rows, 2159063 rows per cpu user sec)
dates {"batch":true,"detectDates":true} [x500129, 60.6 MiB]: 3.316 sec (3000774 rows, 905036 rows per cpu user sec)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.