INNER CODE UNIT · TypeScript

port

SveltyCMS/SveltyCMS · scripts/benchmark-matrix/index.ts:604

    const port = 4173 + Math.floor(Math.random() * 500);
    const baseUrl = `http://127.0.0.1:${port}`;
    const apiSecret = getTestApiSecret();
    const adminPassword = "Password123!";

    printBenchmarkIsolationBanner(db);

    if (Object.keys(DIAGNOSTIC_ENV).length > 0) {
      console.log(
        `  🔬 Diagnostic overrides active: ${JSON.stringify(DIAGNOSTIC_ENV)} — these numbers describe THAT configuration, not the defaults.`,
      );
    }

    // Always ensure media sandbox exists (local + ci-fresh — avoids ENOENT on first upload)
    try {
      fs.mkdirSync(getLocalSandboxMediaRoot(), { recursive: true });
    } catch {
      /* ignore */

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…