(content: string)
| 7 | |
| 8 | describe('Performance Benchmarks (manual)', () => { |
| 9 | function writeTempPython(content: string): string { |
| 10 | const tempFile = path.join(os.tmpdir(), `bench-${Date.now()}.py`); |
| 11 | fs.writeFileSync(tempFile, content); |
| 12 | return tempFile; |
| 13 | } |
| 14 | |
| 15 | it('benchmark: heavy import speedup', async () => { |
| 16 | const scriptPath = writeTempPython(` |
no outgoing calls
no test coverage detected
searching dependent graphs…