performance.io

Missing batching of operations

Repeated one-by-one operations inside loops should prefer available batch-style helpers.

#Metadata

#Why it matters

Batch APIs usually reduce round trips, contention, and request overhead compared with item-at-a-time loops.

#Remediation

Replace the per-item loop with the available batch or bulk helper, or add one if the dependency already supports it.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.performance.missing-batch-operations.rule.yaml.