joelverhagen / NCsvPerf

A test bench for various .NET CSV parsing libraries
https://www.joelverhagen.com/blog/2020/12/fastest-net-csv-parsers
MIT License
69 stars 14 forks source link

add new parser based on Utf8StreamReader for comparison #68

Open DrJakiellSWO opened 3 months ago

DrJakiellSWO commented 3 months ago

hello, can you in your benchmarks add new parser based on Utf8StreamReader ?

joelverhagen commented 3 months ago

Feel free to open a PR and I will rerun the benchmarks!

ksysiekj commented 3 months ago

@joelverhagen cant be done as Utf8StreamReader supports only async read. Can't use it as the ICsvReader.GetRecords method is synch one

joelverhagen commented 3 months ago

Feel free to enhance the interface for async and add an associated async benchmark. I think I just had a sync method until now since all of the CSV libraries so far have had a sync path.