Using the tclib.expressions.eval_bool repeatedly on the same jinja2 expression has effect on the performance. There's https://github.com/rhinstaller/tclib/pull/8 which should improve the situation in the tclib itself.
There are some places in the Permian where the tclib.expressions.eval_bool is used inside loops using the same jinja2 template string which leads to performance issues.
I can see one candidate in run_subset plugin which is worth fixing (especially when there are a lot of CRCs being filtered).
Using the
tclib.expressions.eval_boolrepeatedly on the same jinja2 expression has effect on the performance. There's https://github.com/rhinstaller/tclib/pull/8 which should improve the situation in the tclib itself.There are some places in the Permian where the
tclib.expressions.eval_boolis used inside loops using the same jinja2 template string which leads to performance issues.I can see one candidate in
run_subsetplugin which is worth fixing (especially when there are a lot of CRCs being filtered).