The audit context population bean uses the formatter string(s) to determine which fields to extract, but it does that by parsing the formatting strings every time the action bean is created, which is per-request, so this is a lot of silly reparsing.
Moving the parsing to a singleton and injecting that should greatly reduce the extra runtime cost.
Environment
None
Activity
Scott Cantor
January 23, 2020 at 6:54 PM
The Write half would be more rework to do, and there are a lot fewer Write actions so this is good enough for now.
Scott Cantor
January 23, 2020 at 6:50 PM
Fixed this for Populate actions. Should probably be able to do this for the Write action reusing the same singleton.
The audit context population bean uses the formatter string(s) to determine which fields to extract, but it does that by parsing the formatting strings every time the action bean is created, which is per-request, so this is a lot of silly reparsing.
Moving the parsing to a singleton and injecting that should greatly reduce the extra runtime cost.