Remix.run Logo
hackrmn 6 hours ago

Having used `jq` and `yq` (which followed from the former, in spirit), I have never had to complain about performance of the _latter_ which an order of magnitude (or several) _slower_ than the former. So if there's something faster than `jq`, it's laudable that the author of the faster tool accomplished such a goal, but in the broader context I'd say the performance benefit would be required by a niche slice of the userbase. People who analyse JSON-formatted logs, perhaps? Then again, newline-delimited JSON reigns supreme in that particular kind of scenario, making the point of a faster `jq` moot again.

However, as someone who always loved faster software and being an optimisation nerd, hat's off!

bungle 6 hours ago | parent | next [-]

Integrating with server software, the performance is nice to have, as you can have say 100 kRPS requests coming in that need some jq-like logic. For CLI tool, like you said, the performance of any of them is ok, for most of the cases.

robmccoll 4 hours ago | parent [-]

jq is probably faster than storage, the network, compression, or something else in your stack and not your bottleneck.

mroche 6 hours ago | parent | prev | next [-]

> Having used `jq` and `yq`

If you don't mind me asking, which yq? There's a Go variant and a Python pass-through variant, the latter also including xq and tomlq.

skywhopper 2 hours ago | parent | prev | next [-]

Yeah, turns out not everyone uses these tools the way you do. Weird!

alcor-z 6 hours ago | parent | prev [-]

[dead]