"A fast reader exploits the capabilities of the storage system"...
the graphs show that their storage system is doing 4.00 GB/sec
I wonder what processor this is running on and what their storage system this is.. multiple PCIe SSD?
I tried running a quick test but only succeeded in OOMing my 8G laptop.
Even just doing
import paratext
it = paratext.load_csv_as_iterator("/dev/shm/tmp/c.log", expand=True, forget=True)
x = it.next()
Starts eating up all my ram after about a minute of spinning the cpu... so I think they have a slightly different definition of an iterator as everyone else.Compared to
cut -d , -f 5 < c.log > /dev/null
which runs in a few seconds, or a slightly more domain specific and optimized version of 'cut'[1] that runs even faster (300-500MB/s on a single core depending on which fields you want) $ du -hs c.log ;wc -l c.log
2.1G c.log
16197412 c.log
I also wonder if that is 2.5 GB/s per core.https://github.com/BurntSushi/rust-csv does 241 MB/s in raw mode, so I find it a little hard to believe that this is 10x faster... unless that is while maxing out multiple cores.
[1] https://github.com/bro/bro-aux/blob/master/bro-cut/bro-cut.c