Describe the bug
JQ operations are slow when input becomes large
To Reproduce
Steps to reproduce the behaviour or a link to the recipe / input used to cause the bug:
- Create recipe with JQ step, where the query is something simple (
length, for example)
- Use contents of 512KB.json as input
- Observe long time to bake
Expected behaviour
Baking should take a short amount of time
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (if relevant, please complete the following information):
- OS: MacOS
- Browser: Firefox 148.0
- CyberChef version: Latest (3f91df2)
Additional context
I need to check if the prior JQ wasm implementation (replaced in #2223 ) was faster