mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
bfd09256b2
By tagging the worst offenders, we can make use of `go test -short` to avoid them for a quicker dev-test cycle. Compare: ``` make test 200.69s user 209.81s system 170% cpu 4:01.20 total ``` ``` make test-short 70.32s user 29.17s system 350% cpu 28.367 total ``` From 4 minutes down to under 30 seconds. The short tests can either be run with `go test -short ./...` or `make test-short`. We'll still run the full test suite in CI, naturally. Also: - Remove section on benchmarking that linked to a no longer used resource. Signed-off-by: Anders Eknert <anders@styra.com>