3 ms·
I use jq daily and didn't know about rq, thanks! Quick check whether it is super fast for a simple task like extracting a single field from 1M JSON objects: $
by mtrn 10y ago
I use jq daily and didn't know about rq, thanks!
Quick check whether it is super fast for a simple task like extracting a single field from 1M JSON objects:
$ time rq -j 'at "title"' < fixtures/1m.ldj > /dev/null
real 2m16.692s
$ time jq .title < fixtures/1m.ldj > /dev/null
real 0m26.040s
So jq is 8 times faster? Anyway, rq functions look useful, so will definitely check it out.