Record latest Jerboa data updates
ober
54e7e1bc995d76103667bd1c25530f5756e25bff
--- a/data/anti-patterns.sexp +++ b/data/anti-patterns.sexp @@ -4341,4 +4341,43 @@ "jerboa_howto" "jerboa_request_advisor" "ansible-playbook --syntax-check" - "make -C jerboa-site static-binary"))) + "make -C jerboa-site static-binary")) + (("advice" + . + "Hold the source read lock for a synchronous export, sort stable top-level keys once, traverse one partition at a time, and derive monotonic ordinals with forward galloping or binary search.") + ("avoid" + . + "Do not duplicate an entire immutable state and then build another corpus-sized lookup merely to serialize it.") + ("id" . "full-snapshot-for-streaming-export") + ("kinds" "module") + ("pattern" + . + "snapshot.*(ordinal|lookup|map).*(write|export)") + ("severity" . "medium") + ("tags" "snapshot" "streaming" "serialization" "memory" + "mutex") + ("title" + . + "Do Not Build a Full Snapshot for a Streaming Export") + ("tools" + "jerboa_verify" + "jerboa_security_scan" + "benchmark")) + (("advice" + . + "Inspect the process tree before and after a run, terminate only confirmed in-scope stale workers, rerun a known baseline, and give long benchmark targets a wall-clock deadline plus cleanup.") + ("avoid" + . + "Do not accept capacity numbers without checking for stale same-project benchmark workers consuming CPU or memory.") + ("id" . "capacity-benchmark-with-stale-workers") + ("kinds" "test") + ("pattern" + . + "(capacity|benchmark).*(rss|latency|throughput)") + ("severity" . "high") + ("tags" "benchmark" "process" "memory" "capacity" + "reproducibility") + ("title" + . + "Do Not Trust Capacity Results While Stale Workers Run") + ("tools" "ps" "pgrep" "time" "benchmark")))