{
  "schemaVersion": 1,
  "generatedAt": "2026-08-12T11:09:07.860Z",
  "revisions": {
    "compilerQuickjsAndInterpreter": "71d379293c22411578f49b4ab8b12d61f3e011fb",
    "aotSideModulePoc": "786ac78e773942f7f651289fe152310eadbb3e88"
  },
  "environment": {
    "node": "v24.4.1",
    "v8": "13.6.233.10-node.17",
    "platform": "darwin",
    "release": "24.6.0",
    "arch": "arm64",
    "cpu": "Apple M4",
    "cpuCount": 10
  },
  "workload": {
    "source": "(function(){ var sum = 0; for (var i = 0; i < 10000; i = i + 1) { sum = sum + (i % 7); } return sum; })()",
    "loopLimit": 10000,
    "expected": 29994,
    "measuredSamples": 93,
    "wrongMeasuredSamples": 0
  },
  "methodology": {
    "host": "All lanes run under Node.js; the AOT proof of concept uses the Node-hosted js2wasm compiler.",
    "cold": "Fresh Node process, fresh Wasm module and instance state, and first runtime eval. Provider and app artifacts are prebuilt; the filesystem cache is not flushed.",
    "coldRounds": 7,
    "hotEval": "One warm process and provider; every operation parses or compiles the eval source and executes the 10,000-iteration workload.",
    "hotEvalWarmups": 3,
    "hotEvalRounds": 9,
    "hotPrepared": "The function or module is prepared once before timing. Calibrated batches repeatedly execute only the 10,000-iteration workload.",
    "hotPreparedWarmups": 5,
    "hotPreparedRounds": 15,
    "aggregation": "Median; p25, p75, and raw samples are retained below.",
    "optimizer": "The displayed AOT lane is unoptimized. wasm-opt is excluded because this constant-input workload folds to a literal, which is not representative of general eval code."
  },
  "artifacts": {
    "userModuleBytes": 113487,
    "brokerBytes": 295,
    "interpreter": {
      "key": "a15c9ee645d9647f",
      "bytes": 4329502,
      "sha256": "304ffcb339a67be5989542b5386b9d644ac692cc4482ec8892ef8727e5313a1e"
    },
    "quickjs": {
      "artifactKey": "d8a5a91d6f183b87",
      "artifactBytes": 1016254,
      "artifactSha256": "b0662069c241d0430d91c53a3b0e2d1281fd9eb78dd1c93490b0a9dfa70eec5b",
      "adapterKey": "152a3d7070a79dfe",
      "adapterBytes": 223837,
      "adapterSha256": "6e6c32dc7820e489c0f905a6986ccd8c67a66cd23c9a4c412ab5f9abde437ee4",
      "totalBytes": 1240091
    }
  },
  "benchmarks": [
    {
      "scenario": "cold process",
      "name": "Bytecode interpreter",
      "value": 459594.833,
      "baselineUs": 186501.333,
      "label": "459.59 ms",
      "sampleCount": 7,
      "p25Us": 437992.479,
      "p75Us": 476170.167,
      "samplesUs": [455395.625, 478065.959, 420335.75, 459594.833, 474274.375, 420589.333, 494870.125]
    },
    {
      "scenario": "cold process",
      "name": "QuickJS-NG",
      "value": 186501.333,
      "baselineUs": 186501.333,
      "label": "186.50 ms",
      "sampleCount": 7,
      "p25Us": 185853.6455,
      "p75Us": 189766.312,
      "samplesUs": [191265.708, 185742.083, 188566.791, 183200.75, 190965.833, 185965.208, 186501.333]
    },
    {
      "scenario": "cold process",
      "name": "AOT side module",
      "value": 2734360.125,
      "baselineUs": 186501.333,
      "label": "2.73 s",
      "sampleCount": 7,
      "p25Us": 2718257.7495,
      "p75Us": 2778838.1875,
      "samplesUs": [2902181.5, 2724207.083, 2712308.416, 2734360.125, 2816908.292, 2705274.791, 2740768.083]
    },
    {
      "scenario": "hot eval",
      "name": "Bytecode interpreter",
      "value": 93635.208,
      "baselineUs": 1185.042,
      "label": "93.64 ms",
      "sampleCount": 9,
      "warmupCount": 3,
      "p25Us": 91298.125,
      "p75Us": 103221.833,
      "samplesUs": [93635.208, 91803, 89369.167, 112182.333, 106111.417, 103221.833, 98516.167, 91298.125, 90241.625]
    },
    {
      "scenario": "hot eval",
      "name": "QuickJS-NG",
      "value": 1185.042,
      "baselineUs": 1185.042,
      "label": "1.19 ms",
      "sampleCount": 9,
      "warmupCount": 3,
      "p25Us": 1111.75,
      "p75Us": 1890.041,
      "samplesUs": [1896.166, 1890.041, 2241.542, 1614.625, 1185.042, 1043.292, 1156.833, 1111.75, 973.458]
    },
    {
      "scenario": "hot eval",
      "name": "AOT side module",
      "value": 17582.083,
      "baselineUs": 1185.042,
      "label": "17.58 ms",
      "sampleCount": 9,
      "warmupCount": 3,
      "p25Us": 16797.042,
      "p75Us": 19690.625,
      "samplesUs": [21560.708, 18400, 17582.083, 22608.042, 19690.625, 16661.375, 17208, 16797.042, 15803.167]
    },
    {
      "scenario": "hot prepared",
      "name": "Bytecode interpreter",
      "value": 103917.375,
      "baselineUs": 21.588521484375,
      "label": "103.92 ms",
      "sampleCount": 15,
      "warmupCount": 5,
      "batchSize": 1,
      "p25Us": 102504.333,
      "p75Us": 104301.0415,
      "samplesUs": [
        101570.459, 101612.541, 102155.458, 102261.916, 104874.875, 104390.333, 103301.75, 103931.958, 103917.375,
        104454.875, 102746.75, 103375.166, 103993.209, 104923.292, 104211.75
      ]
    },
    {
      "scenario": "hot prepared",
      "name": "QuickJS-NG",
      "value": 745.470375,
      "baselineUs": 21.588521484375,
      "label": "745.47 µs",
      "sampleCount": 15,
      "warmupCount": 5,
      "batchSize": 128,
      "p25Us": 638.917640625,
      "p75Us": 896.580078125,
      "samplesUs": [
        517.78059375, 526.76725, 582.3955078125, 612.523109375, 665.312171875, 693.3317109375, 713.472984375,
        745.470375, 827.209640625, 833.560546875, 900.296875, 915.8056640625, 892.86328125, 930.1276015625, 982.92578125
      ]
    },
    {
      "scenario": "hot prepared",
      "name": "AOT side module",
      "value": 21.588521484375,
      "baselineUs": 21.588521484375,
      "label": "21.59 µs",
      "sampleCount": 15,
      "warmupCount": 5,
      "batchSize": 2048,
      "p25Us": 20.757314208984374,
      "p75Us": 21.95560693359375,
      "samplesUs": [
        20.87046337890625, 20.30476904296875, 20.94612646484375, 20.6441650390625, 21.61191796875, 21.588521484375,
        22.02655029296875, 22.0425009765625, 22.1061806640625, 21.88466357421875, 21.3338623046875, 20.64198828125,
        20.34444189453125, 21.69789599609375, 22.1098427734375
      ]
    }
  ]
}
