T-78: M1.1j — Persist Pass 3/5/6 results into the security master: idempotent PostgreSQL loader with permanent listing_ids and override precedence

This commit is contained in:
Studio 2026-11-28 13:31:52 -05:00
parent fe9ec15199
commit 92edeeaf9f
3 changed files with 7 additions and 7 deletions

View file

@ -1970,8 +1970,8 @@ describe.skipIf(!url)('persistSecurityMaster PostgreSQL integration', () => {
expect(counts.listing).toBe(instrumentCount);
expect(counts.provider_mapping).toBe(instrumentCount * 3);
console.info(
`[security-master-persist benchmark] ${instrumentCount} instruments, ${instrumentCount} listings, ${instrumentCount * 3} mappings (${totalAllRows} total rows) persisted in ${elapsedSec.toFixed(2)}s (${Math.round(totalCoreRows / elapsedSec)} core rows/s, ${Math.round(totalAllRows / elapsedSec)} total rows/s)`
process.stdout.write(
`[security-master-persist benchmark] ${instrumentCount} instruments, ${instrumentCount} listings, ${instrumentCount * 3} mappings (${totalAllRows} total rows) persisted in ${elapsedSec.toFixed(2)}s (${Math.round(totalCoreRows / elapsedSec)} core rows/s, ${Math.round(totalAllRows / elapsedSec)} total rows/s)\n`
);
},
120_000