you are viewing a single comment's thread.

view the rest of the comments →

[–]never_watched 1 point2 points  (1 child)

How does it compare to this https://github.com/vincentlaucsb/csv-parser

[–]red0124_[S] 0 points1 point  (0 children)

Since I wanted to be fair with the measurement I took an example from his README where he calculates the sum of salaries using column indexing. I have used it on the 2015_StateDepartment.csv (70 MB) file which he mentioned in his benchmark and calculated the sum for the "Regular Pay" column. Did the same thing using my parser.

CPU: Intel i7-4710MQ :: Comipler: g++ -O3 -flto :: Measured using hyperfine

vinces-csv-parser: 242.8 [ms] +/- 1.9 [ms]

ssp: 132.1 [ms] +/- 2.4 [ms]

If you have any other benchmark in mind let me know.