{
  "schema": "reashield.mobile-hermes-benchmark/v1",
  "startedAt": "2026-10-21T03:05:37.810Z",
  "status": "passed",
  "context": {
    "provider": "e2b",
    "boxId": "im4fa9nh10hi3b7y88yd5",
    "templateId": "1vy2r9xobomrn9xi4dv1",
    "provenance": "operator-provided environment, not runtime attestation",
    "openShellEnforcement": "not observed"
  },
  "sourceSnapshot": "40c41b9-plus-mobile-desktop-worktree",
  "node": "v22.23.3",
  "platform": "linux",
  "architecture": "x64",
  "scopes": {
    "qualifiedByThisRun": "Standalone Hermes source execution and optimized Hermes bytecode for an owned Metro-style application fixture using pinned public Day.js.",
    "limitations": [
      "The loader is an owned Metro-style fixture, not a complete Metro or React Native distribution.",
      "No React Native native UI, native module bridge, JNI, Android APK/AAB, iOS IPA, signing, or device runtime was tested.",
      "Compiled Hermes bytecode is generated by the matching compiler; the protection hook accepts JavaScript source only.",
      "The tested scenarios do not establish equivalence for arbitrary applications or all library APIs.",
      "Timings are single-process observations, not statistical performance claims."
    ]
  },
  "executions": [
    {
      "phase": "baseline-source",
      "arguments": [
        "baseline.bundle"
      ],
      "exitCode": 0,
      "signal": null,
      "elapsedMs": 24.66268500000001,
      "stdoutSha256": "4460c914af201be4bd795ecb8d1e9af877fb7d864088fba2c866148bb36e3f47",
      "stderrSha256": "28113a503e1f6a8be607428174e19058d5613b0ba77f3b3918c9c238f5a3fff9",
      "scenarios": [
        {
          "id": "initialization-order",
          "result": {
            "kind": "return",
            "value": [
              "app:init",
              "wallet:init",
              "dayjs:init",
              "utc:init"
            ]
          }
        },
        {
          "id": "require-cache",
          "result": {
            "kind": "return",
            "value": true
          }
        },
        {
          "id": "strict-directives",
          "result": {
            "kind": "return",
            "value": true
          }
        },
        {
          "id": "initial-balance",
          "result": {
            "kind": "return",
            "value": 0
          }
        },
        {
          "id": "deposit-integer",
          "result": {
            "kind": "return",
            "value": 3
          }
        },
        {
          "id": "deposit-fraction",
          "result": {
            "kind": "return",
            "value": 5.5
          }
        },
        {
          "id": "negative-rejected",
          "result": {
            "kind": "throw",
            "name": "RangeError",
            "message": "amount must be non-negative"
          }
        },
        {
          "id": "type-rejected",
          "result": {
            "kind": "throw",
            "name": "TypeError",
            "message": "amount must be a finite number"
          }
        },
        {
          "id": "state-after-errors",
          "result": {
            "kind": "return",
            "value": 5.5
          }
        },
        {
          "id": "unicode-string",
          "result": {
            "kind": "return",
            "value": "Bonjour, Zoé 😀 !"
          }
        },
        {
          "id": "property-keys",
          "result": {
            "kind": "return",
            "value": {
              "customer-label": "café 😃",
              "currency": "CAD"
            }
          }
        },
        {
          "id": "withdraw",
          "result": {
            "kind": "return",
            "value": 4.25
          }
        },
        {
          "id": "overdraw-rejected",
          "result": {
            "kind": "throw",
            "name": "RangeError",
            "message": "insufficient balance"
          }
        },
        {
          "id": "reset",
          "result": {
            "kind": "return",
            "value": 0
          }
        },
        {
          "id": "dayjs-utc-format",
          "result": {
            "kind": "return",
            "value": "2020-02-29T12:34:56Z"
          }
        },
        {
          "id": "dayjs-leap-year",
          "result": {
            "kind": "return",
            "value": "2021-02-28"
          }
        },
        {
          "id": "dayjs-next-day",
          "result": {
            "kind": "return",
            "value": "2020-03-01"
          }
        },
        {
          "id": "dayjs-invalid-date",
          "result": {
            "kind": "return",
            "value": false
          }
        },
        {
          "id": "dayjs-immutable-value",
          "result": {
            "kind": "return",
            "value": "2020-01-01"
          }
        }
      ],
      "globals": [
        "Promise",
        "__d",
        "__fixtureTrace",
        "__r"
      ],
      "codecs": {
        "atob": "function",
        "TextDecoder": "undefined",
        "Buffer": "undefined"
      },
      "matchesExpected": true
    },
    {
      "phase": "protected-source",
      "arguments": [
        "protected.bundle"
      ],
      "exitCode": 0,
      "signal": null,
      "elapsedMs": 24.45557699999995,
      "stdoutSha256": "4460c914af201be4bd795ecb8d1e9af877fb7d864088fba2c866148bb36e3f47",
      "stderrSha256": "4366f35ced7ac2bdd0add2f5052620972a79d53bd38c87f439ea47005e5cd39d",
      "scenarios": [
        {
          "id": "initialization-order",
          "result": {
            "kind": "return",
            "value": [
              "app:init",
              "wallet:init",
              "dayjs:init",
              "utc:init"
            ]
          }
        },
        {
          "id": "require-cache",
          "result": {
            "kind": "return",
            "value": true
          }
        },
        {
          "id": "strict-directives",
          "result": {
            "kind": "return",
            "value": true
          }
        },
        {
          "id": "initial-balance",
          "result": {
            "kind": "return",
            "value": 0
          }
        },
        {
          "id": "deposit-integer",
          "result": {
            "kind": "return",
            "value": 3
          }
        },
        {
          "id": "deposit-fraction",
          "result": {
            "kind": "return",
            "value": 5.5
          }
        },
        {
          "id": "negative-rejected",
          "result": {
            "kind": "throw",
            "name": "RangeError",
            "message": "amount must be non-negative"
          }
        },
        {
          "id": "type-rejected",
          "result": {
            "kind": "throw",
            "name": "TypeError",
            "message": "amount must be a finite number"
          }
        },
        {
          "id": "state-after-errors",
          "result": {
            "kind": "return",
            "value": 5.5
          }
        },
        {
          "id": "unicode-string",
          "result": {
            "kind": "return",
            "value": "Bonjour, Zoé 😀 !"
          }
        },
        {
          "id": "property-keys",
          "result": {
            "kind": "return",
            "value": {
              "customer-label": "café 😃",
              "currency": "CAD"
            }
          }
        },
        {
          "id": "withdraw",
          "result": {
            "kind": "return",
            "value": 4.25
          }
        },
        {
          "id": "overdraw-rejected",
          "result": {
            "kind": "throw",
            "name": "RangeError",
            "message": "insufficient balance"
          }
        },
        {
          "id": "reset",
          "result": {
            "kind": "return",
            "value": 0
          }
        },
        {
          "id": "dayjs-utc-format",
          "result": {
            "kind": "return",
            "value": "2020-02-29T12:34:56Z"
          }
        },
        {
          "id": "dayjs-leap-year",
          "result": {
            "kind": "return",
            "value": "2021-02-28"
          }
        },
        {
          "id": "dayjs-next-day",
          "result": {
            "kind": "return",
            "value": "2020-03-01"
          }
        },
        {
          "id": "dayjs-invalid-date",
          "result": {
            "kind": "return",
            "value": false
          }
        },
        {
          "id": "dayjs-immutable-value",
          "result": {
            "kind": "return",
            "value": "2020-01-01"
          }
        }
      ],
      "globals": [
        "Promise",
        "__d",
        "__fixtureTrace",
        "__r"
      ],
      "codecs": {
        "atob": "function",
        "TextDecoder": "undefined",
        "Buffer": "undefined"
      },
      "matchesExpected": true
    },
    {
      "phase": "baseline-bytecode-compilation",
      "arguments": [
        "-O",
        "-emit-binary",
        "-out",
        "baseline-bytecode.hbc",
        "baseline.bundle"
      ],
      "exitCode": 0,
      "signal": null,
      "elapsedMs": 17.284152000000063,
      "stdoutSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "stderrSha256": "28113a503e1f6a8be607428174e19058d5613b0ba77f3b3918c9c238f5a3fff9"
    },
    {
      "phase": "baseline-bytecode",
      "arguments": [
        "baseline-bytecode.hbc"
      ],
      "exitCode": 0,
      "signal": null,
      "elapsedMs": 7.302782999999977,
      "stdoutSha256": "4460c914af201be4bd795ecb8d1e9af877fb7d864088fba2c866148bb36e3f47",
      "stderrSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "scenarios": [
        {
          "id": "initialization-order",
          "result": {
            "kind": "return",
            "value": [
              "app:init",
              "wallet:init",
              "dayjs:init",
              "utc:init"
            ]
          }
        },
        {
          "id": "require-cache",
          "result": {
            "kind": "return",
            "value": true
          }
        },
        {
          "id": "strict-directives",
          "result": {
            "kind": "return",
            "value": true
          }
        },
        {
          "id": "initial-balance",
          "result": {
            "kind": "return",
            "value": 0
          }
        },
        {
          "id": "deposit-integer",
          "result": {
            "kind": "return",
            "value": 3
          }
        },
        {
          "id": "deposit-fraction",
          "result": {
            "kind": "return",
            "value": 5.5
          }
        },
        {
          "id": "negative-rejected",
          "result": {
            "kind": "throw",
            "name": "RangeError",
            "message": "amount must be non-negative"
          }
        },
        {
          "id": "type-rejected",
          "result": {
            "kind": "throw",
            "name": "TypeError",
            "message": "amount must be a finite number"
          }
        },
        {
          "id": "state-after-errors",
          "result": {
            "kind": "return",
            "value": 5.5
          }
        },
        {
          "id": "unicode-string",
          "result": {
            "kind": "return",
            "value": "Bonjour, Zoé 😀 !"
          }
        },
        {
          "id": "property-keys",
          "result": {
            "kind": "return",
            "value": {
              "customer-label": "café 😃",
              "currency": "CAD"
            }
          }
        },
        {
          "id": "withdraw",
          "result": {
            "kind": "return",
            "value": 4.25
          }
        },
        {
          "id": "overdraw-rejected",
          "result": {
            "kind": "throw",
            "name": "RangeError",
            "message": "insufficient balance"
          }
        },
        {
          "id": "reset",
          "result": {
            "kind": "return",
            "value": 0
          }
        },
        {
          "id": "dayjs-utc-format",
          "result": {
            "kind": "return",
            "value": "2020-02-29T12:34:56Z"
          }
        },
        {
          "id": "dayjs-leap-year",
          "result": {
            "kind": "return",
            "value": "2021-02-28"
          }
        },
        {
          "id": "dayjs-next-day",
          "result": {
            "kind": "return",
            "value": "2020-03-01"
          }
        },
        {
          "id": "dayjs-invalid-date",
          "result": {
            "kind": "return",
            "value": false
          }
        },
        {
          "id": "dayjs-immutable-value",
          "result": {
            "kind": "return",
            "value": "2020-01-01"
          }
        }
      ],
      "globals": [
        "Promise",
        "__d",
        "__fixtureTrace",
        "__r"
      ],
      "codecs": {
        "atob": "function",
        "TextDecoder": "undefined",
        "Buffer": "undefined"
      },
      "matchesExpected": true
    },
    {
      "phase": "protected-bytecode-compilation",
      "arguments": [
        "-O",
        "-emit-binary",
        "-out",
        "protected-bytecode.hbc",
        "protected.bundle"
      ],
      "exitCode": 0,
      "signal": null,
      "elapsedMs": 19.051695999999993,
      "stdoutSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "stderrSha256": "4366f35ced7ac2bdd0add2f5052620972a79d53bd38c87f439ea47005e5cd39d"
    },
    {
      "phase": "protected-bytecode",
      "arguments": [
        "protected-bytecode.hbc"
      ],
      "exitCode": 0,
      "signal": null,
      "elapsedMs": 11.071742000000086,
      "stdoutSha256": "4460c914af201be4bd795ecb8d1e9af877fb7d864088fba2c866148bb36e3f47",
      "stderrSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "scenarios": [
        {
          "id": "initialization-order",
          "result": {
            "kind": "return",
            "value": [
              "app:init",
              "wallet:init",
              "dayjs:init",
              "utc:init"
            ]
          }
        },
        {
          "id": "require-cache",
          "result": {
            "kind": "return",
            "value": true
          }
        },
        {
          "id": "strict-directives",
          "result": {
            "kind": "return",
            "value": true
          }
        },
        {
          "id": "initial-balance",
          "result": {
            "kind": "return",
            "value": 0
          }
        },
        {
          "id": "deposit-integer",
          "result": {
            "kind": "return",
            "value": 3
          }
        },
        {
          "id": "deposit-fraction",
          "result": {
            "kind": "return",
            "value": 5.5
          }
        },
        {
          "id": "negative-rejected",
          "result": {
            "kind": "throw",
            "name": "RangeError",
            "message": "amount must be non-negative"
          }
        },
        {
          "id": "type-rejected",
          "result": {
            "kind": "throw",
            "name": "TypeError",
            "message": "amount must be a finite number"
          }
        },
        {
          "id": "state-after-errors",
          "result": {
            "kind": "return",
            "value": 5.5
          }
        },
        {
          "id": "unicode-string",
          "result": {
            "kind": "return",
            "value": "Bonjour, Zoé 😀 !"
          }
        },
        {
          "id": "property-keys",
          "result": {
            "kind": "return",
            "value": {
              "customer-label": "café 😃",
              "currency": "CAD"
            }
          }
        },
        {
          "id": "withdraw",
          "result": {
            "kind": "return",
            "value": 4.25
          }
        },
        {
          "id": "overdraw-rejected",
          "result": {
            "kind": "throw",
            "name": "RangeError",
            "message": "insufficient balance"
          }
        },
        {
          "id": "reset",
          "result": {
            "kind": "return",
            "value": 0
          }
        },
        {
          "id": "dayjs-utc-format",
          "result": {
            "kind": "return",
            "value": "2020-02-29T12:34:56Z"
          }
        },
        {
          "id": "dayjs-leap-year",
          "result": {
            "kind": "return",
            "value": "2021-02-28"
          }
        },
        {
          "id": "dayjs-next-day",
          "result": {
            "kind": "return",
            "value": "2020-03-01"
          }
        },
        {
          "id": "dayjs-invalid-date",
          "result": {
            "kind": "return",
            "value": false
          }
        },
        {
          "id": "dayjs-immutable-value",
          "result": {
            "kind": "return",
            "value": "2020-01-01"
          }
        }
      ],
      "globals": [
        "Promise",
        "__d",
        "__fixtureTrace",
        "__r"
      ],
      "codecs": {
        "atob": "function",
        "TextDecoder": "undefined",
        "Buffer": "undefined"
      },
      "matchesExpected": true
    }
  ],
  "comparisons": [
    {
      "name": "protected-source",
      "scenariosMatch": true,
      "globalPropertiesMatch": true,
      "hostCodecAvailabilityMatch": true
    },
    {
      "name": "baseline-bytecode",
      "scenariosMatch": true,
      "globalPropertiesMatch": true,
      "hostCodecAvailabilityMatch": true
    },
    {
      "name": "protected-bytecode",
      "scenariosMatch": true,
      "globalPropertiesMatch": true,
      "hostCodecAvailabilityMatch": true
    }
  ],
  "negativeControls": {
    "incorrectRuntimeOutputRejected": true,
    "missingScenarioRejected": true,
    "runtimeExecution": {
      "phase": "deliberately-incorrect-output",
      "arguments": [
        "negative-control.bundle"
      ],
      "exitCode": 0,
      "signal": null,
      "elapsedMs": 21.736182999999983,
      "stdoutSha256": "48bb1e727420ae3c4c6f024192fbb53d14d96af67d778e4ec59606b84358b22a",
      "stderrSha256": "852f5854de5671a8c5c5930fafb320dba731b47acad6b835a85f03d1b47f3af3"
    }
  },
  "toolSourceArtifacts": [
    {
      "file": "benchmark-mobile-hermes.mjs",
      "bytes": 14371,
      "sha256": "31fe839704564d860535372f5ded62fadde99d7e68fc9744c9ecbe157fde7bba"
    },
    {
      "file": "reashield-mobile.mjs",
      "bytes": 12127,
      "sha256": "b3eb13b54d0d57465f5ac50aed5fba6e397975693792e58580df802d19813c2e"
    },
    {
      "file": "reashield-engine.mjs",
      "bytes": 30749,
      "sha256": "7125ea6f294bdd2e26a11dbbad1d55259a070a581706c08d24e2ef40b45478db"
    }
  ],
  "runtime": {
    "file": "hermes",
    "bytes": 5528064,
    "sha256": "41b714ad2cccd65763c82b808073d55ee65d699a1d4db1ade30f8acc527a0d78",
    "versionOutput": "LLVM (http://llvm.org/):\n  LLVH version 8.0.0svn\n  Optimized build\n\nHermes JavaScript compiler and Virtual Machine.\n  Hermes release version: 0.12.0\n  HBC bytecode version: 96\n\n  Features:\n    Debugger\n    Contiguous Heap\n    Unicode RegExp Property Escapes\n    Zip file input\n",
    "revision": "451d60a2f8bfb5039cd2c6a0ff595b19f9095a06",
    "provenance": "image build manifest and observed binary hash; revision not inferred from the executable",
    "imageManifest": {
      "schema": "reashield.mobile-desktop-toolchain/v1",
      "createdAt": "2026-10-21T03:03:01.584Z",
      "sha256": "b56967890f37ae1116632e8188bdb0254d5ae42d149b877790c45e9c85fda1d8",
      "hermes": {
        "revision": "451d60a2f8bfb5039cd2c6a0ff595b19f9095a06",
        "versionOutput": "LLVM (http://llvm.org/):\n  LLVH version 8.0.0svn\n  Optimized build\n\nHermes JavaScript compiler and Virtual Machine.\n  Hermes release version: 0.12.0\n  HBC bytecode version: 96\n\n  Features:\n    Debugger\n    Contiguous Heap\n    Unicode RegExp Property Escapes\n    Zip file input",
        "binarySha256": "41b714ad2cccd65763c82b808073d55ee65d699a1d4db1ade30f8acc527a0d78",
        "buildType": "Release",
        "intl": true
      },
      "dayjs": {
        "version": "1.11.13",
        "lockSha256": "78e4bcbe53a8067b016c2de332e68ca74bc8b132f1f115068d8a5e7a8f19d436"
      }
    }
  },
  "publicDependency": {
    "name": "dayjs",
    "version": "1.11.13",
    "license": "MIT",
    "upstream": "https://github.com/iamkun/dayjs/tree/v1.11.13",
    "npm": "https://www.npmjs.com/package/dayjs/v/1.11.13",
    "artifacts": [
      {
        "file": "dayjs.min.js",
        "bytes": 7160,
        "sha256": "9cfdb93f38afcf2d076abecd66d32bfd3383cdf1967654ebc26a26605daf4173"
      },
      {
        "file": "utc.js",
        "bytes": 2253,
        "sha256": "a837c8231aa94616166b9e37a7a007677db7c53dc1f0eea22d9154016b44409c"
      }
    ],
    "integrityScope": "Hashes identify installed bytes; this run does not attest publisher signatures."
  },
  "fixtureArtifacts": [
    {
      "file": "metro-runtime.js",
      "bytes": 717,
      "sha256": "2494230a6c3d16fc7022ffe1f4315b770d99c887b5f0bc8e5ffab756d8ea3966"
    },
    {
      "file": "wallet.js",
      "bytes": 1077,
      "sha256": "cfd731f5ff5513df2039a9bebb7d461cb4176f90cb2bfab5ca26dca873be040c"
    },
    {
      "file": "application.js",
      "bytes": 2324,
      "sha256": "5b4ef4bc88d26b622e5d06a248a6afeb654040de2d2520789af3df0ac3248cfb"
    }
  ],
  "transformation": {
    "schema": "reashield.portable-source/v1",
    "sourceType": "script",
    "artifactName": "baseline.bundle",
    "inputSha256": "bb86b4e00486f078ec3e6311ee7a2f5904c1994d1115d7e2c14f0340389b6a0f",
    "outputSha256": "d8b44a25a145301c01f49db535e426fbf924520b7f9e574f4e71bc7522fc7c5b",
    "inputBytes": 14097,
    "outputBytes": 23244,
    "changedLiteralCount": 88,
    "sourceMap": "not generated; prior sourceMappingURL comments removed",
    "scope": "JavaScript source only; application packaging, native hosts and runtime qualification are separate.",
    "limitations": [
      "Source maps must be regenerated after this transform.",
      "Cyclic ESM graphs that call transformed exports before this module initializes are not supported by this profile."
    ],
    "stage": "before-hermes-compilation",
    "elapsedMs": 79.44322199999999
  },
  "artifacts": {
    "baselineSource": {
      "file": "baseline.bundle",
      "bytes": 14097,
      "sha256": "bb86b4e00486f078ec3e6311ee7a2f5904c1994d1115d7e2c14f0340389b6a0f"
    },
    "protectedSource": {
      "file": "protected.bundle",
      "bytes": 23244,
      "sha256": "d8b44a25a145301c01f49db535e426fbf924520b7f9e574f4e71bc7522fc7c5b"
    },
    "baselineBytecode": {
      "file": "baseline-bytecode.hbc",
      "bytes": 26931,
      "sha256": "e36e6fe7f84fc5467bdb608524f4d8bd5b6e8c35cf2d25bfee9289abd7c9f1ba"
    },
    "protectedBytecode": {
      "file": "protected-bytecode.hbc",
      "bytes": 36746,
      "sha256": "0e93231cc78602d9cbb7df5c79aa31937d064f46ee74e22e1fe8ee608657fc67"
    }
  },
  "scenarioCount": 19,
  "finishedAt": "2026-10-21T03:05:38.807Z",
  "runRecord": {
    "boxfleetJobId": "job-a4da8bce-0d4a-4907-8b39-c4985a3de8b7",
    "snapshotSha256": "f3357fb269f81ff95f237ffed3e82ed4f6844258076876d789c06084d1d926e4",
    "gitBase": "40c41b98030799d203ee264c84071cd015517951",
    "sourceState": "Working tree including the implementation under test; artifact and harness hashes identify executed bytes.",
    "publication": "Runtime observations retained; temporary filesystem paths omitted."
  }
}
