{
  "generatedAt": "2026-08-09T07:31:33.603Z",
  "machine": {
    "cpu": "Apple M5",
    "cores": 10,
    "platform": "darwin 25.5.0",
    "node": "v24.16.0"
  },
  "versions": {
    "@vitejs/plugin-react": "^5.0.0",
    "@vitejs/plugin-react-swc": "^4.0.0",
    "vite": "^7.0.0",
    "vite-plugin-svgr": "^4.3.0"
  },
  "fixture": "500 components + barrel index.js, 10 used; 50 SVG icons; see gen.mjs",
  "coldRuns": 5,
  "buildRuns": 3,
  "variants": [
    {
      "id": "baseline-babel-barrel-svgr",
      "plugin": "babel",
      "app": "AppBarrelSvgr",
      "note": "the slow setup: Babel plugin, barrel imports, SVGs as components",
      "coldStartMs": [
        350,
        91,
        93,
        93,
        92
      ],
      "coldStartMedianMs": 93,
      "firstLoadCrawl": {
        "ms": 2143,
        "modules": 3059
      },
      "hmrRoundTripMs": 25,
      "buildMs": [
        983,
        892,
        901
      ],
      "buildMedianMs": 901,
      "dist": [
        {
          "file": "index-DQxEXQQ4.js",
          "bytes": 159095
        }
      ]
    },
    {
      "id": "isolate-swc-barrel-svgr",
      "plugin": "swc",
      "app": "AppBarrelSvgr",
      "note": "isolation: SWC with the barrel still in place — does the faster transformer alone save you?",
      "coldStartMs": [
        86,
        93,
        93,
        94,
        92
      ],
      "coldStartMedianMs": 93,
      "firstLoadCrawl": {
        "ms": 1027,
        "modules": 3058
      },
      "hmrRoundTripMs": 28,
      "buildMs": [
        936,
        901,
        900
      ],
      "buildMedianMs": 901,
      "dist": [
        {
          "file": "index-DQxEXQQ4.js",
          "bytes": 159095
        }
      ]
    },
    {
      "id": "fix1-babel-direct-svgr",
      "plugin": "babel",
      "app": "AppDirectSvgr",
      "note": "fix 1: direct imports instead of the barrel",
      "coldStartMs": [
        81,
        92,
        95,
        94,
        96
      ],
      "coldStartMedianMs": 94,
      "firstLoadCrawl": {
        "ms": 226,
        "modules": 68
      },
      "hmrRoundTripMs": 113,
      "buildMs": [
        413,
        363,
        363
      ],
      "buildMedianMs": 363,
      "dist": [
        {
          "file": "index-mdX3JSf-.js",
          "bytes": 159095
        }
      ]
    },
    {
      "id": "fix2-swc-direct-svgr",
      "plugin": "swc",
      "app": "AppDirectSvgr",
      "note": "fix 2: swap plugin-react for plugin-react-swc",
      "coldStartMs": [
        81,
        93,
        76,
        93,
        94
      ],
      "coldStartMedianMs": 93,
      "firstLoadCrawl": {
        "ms": 213,
        "modules": 67
      },
      "hmrRoundTripMs": 101,
      "buildMs": [
        421,
        380,
        401
      ],
      "buildMedianMs": 401,
      "dist": [
        {
          "file": "index-mdX3JSf-.js",
          "bytes": 159095
        }
      ]
    },
    {
      "id": "fix3-swc-direct-url",
      "plugin": "swc",
      "app": "AppDirectUrl",
      "note": "fix 3: SVGs as URLs instead of components",
      "coldStartMs": [
        82,
        99,
        89,
        95,
        116
      ],
      "coldStartMedianMs": 95,
      "firstLoadCrawl": {
        "ms": 121,
        "modules": 67
      },
      "hmrRoundTripMs": 91,
      "buildMs": [
        339,
        302,
        331
      ],
      "buildMedianMs": 331,
      "dist": [
        {
          "file": "index-DTrqVAsD.js",
          "bytes": 161040
        }
      ]
    }
  ],
  "manualChunks": {
    "buildMs": [
      295,
      326,
      295
    ],
    "buildMedianMs": 295,
    "dist": [
      {
        "file": "vendor-CrqJdhs-.js",
        "bytes": 140802
      },
      {
        "file": "index-Cz2Sc4aY.js",
        "bytes": 20104
      }
    ]
  }
}