Skip to content

Draft: Resolve "Improve efficiency with jq processing"

Michael Trainor requested to merge jq-process-faster into main

Closes #10 (closed)

Currently, the HAR file is processed by a series of separate jq commands. This method is not efficient, as Bash must invoke jq, and jq must process the entire file, multiple times. There is a performance penalty as a result.

This MR improves the efficiency by building a single jq "script", and invokes jq once with that script. The processing of the file occurs once.

Initial testing has concluded that performance improvements are significant.

Edited by Michael Trainor

Merge request reports