open-policy-agent/frameworks

Add client.Review benchmarks

willbeason opened this issue · 1 comments

Prerequisite: #151

See this benchmark for inspiration.

Add benchmarks testing how long it takes to run client.Review, using the CTs to resolve the above PR. The idea of these benchmarks is to establish a theoretical maximum throughput for reviewing incoming objects, ignoring controller overhead.

The benchmarks should use a variety of number of CTs and Constraints. For each test, each CT should be identical to the others so we can establish runtime/memory/etc complexity with number of CTs and number of Constraints per CT.

Done!