{
  "date": "2026-10-27",
  "baseline_revision": "7a6a790e0e885e76ea1360704d6ae92fd86b6f5b",
  "feature": "verified INT/BIGINT SIGN computation in existing native Calc",
  "machine": {
    "cpu": "Apple M4 Pro",
    "logical_cpus": 14,
    "os": "macOS aarch64",
    "jdk": "17.0.12+8-LTS-286",
    "flink": "2.2.1",
    "rust": "1.94.0",
    "profile": "release, no-default-features, system allocator, counting allocation wrapper in prepared-input example"
  },
  "method": {
    "prepared_inputs": "stock generated Java on prebuilt GenericRowData/BinaryRowData; previous/native production Calc on prebuilt Arrow RecordBatch; equal values/types/NULLs; setup/import/export/perimeter conversion excluded; intrinsic previous JVM callback retained; full checksum consumed inside each runtime",
    "warmups": 16,
    "measured_trials": 11,
    "rows_per_trial": 131072,
    "engine_order": "rotates flink/previous/native each trial",
    "timers": "Java stock timer inside Java; previous/native timers inside Rust",
    "pipeline": "1M-row INT source -> SIGN -> rowwise blackhole, parallelism 1, both transposes retained, separate sequential JVMs in stock/previous/native order, two warmups and five measured jobs per engine, plan and consumed NativeCalc checks",
    "input_nullability": "All logical input schemas are nullable. The nullable CLI flag controls the presence of NULL values: every seventh row when true, none when false."
  },
  "prepared": [
    {
      "type": "BIGINT",
      "binary_rowdata": true,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 6.426177978515625,
          "min": 6.2576904296875,
          "max": 6.815277099609375,
          "trials": [
            6.815277099609375,
            6.287574768066406,
            6.394073486328125,
            6.2576904296875,
            6.4697265625,
            6.3915252685546875,
            6.33685302734375,
            6.426177978515625,
            6.665870666503906,
            6.575584411621094,
            6.6607818603515625
          ]
        },
        "previous": {
          "median": 42.781829833984375,
          "min": 41.370391845703125,
          "max": 44.46665954589844,
          "trials": [
            43.31524658203125,
            42.03764343261719,
            42.321205139160156,
            41.370391845703125,
            41.76807403564453,
            44.46665954589844,
            42.781829833984375,
            44.39036560058594,
            43.723106384277344,
            43.735191345214844,
            42.74559020996094
          ]
        },
        "native": {
          "median": 0.61956787109375,
          "min": 0.5779266357421875,
          "max": 0.69873046875,
          "trials": [
            0.69873046875,
            0.669158935546875,
            0.6338729858398438,
            0.61956787109375,
            0.6046295166015625,
            0.5779266357421875,
            0.6128997802734375,
            0.6024093627929688,
            0.6605758666992188,
            0.6933212280273438,
            0.6036758422851562
          ]
        }
      },
      "speedup_over": {
        "flink": 10.372032312087478,
        "previous": 69.051078711457
      },
      "data_contains_nulls": false,
      "input_schema_nullable": true
    },
    {
      "type": "BIGINT",
      "binary_rowdata": false,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 4.818916320800781,
          "min": 4.381492614746094,
          "max": 5.007110595703125,
          "trials": [
            4.381492614746094,
            4.6192779541015625,
            4.721641540527344,
            4.884086608886719,
            4.852928161621094,
            4.5283660888671875,
            5.007110595703125,
            4.822731018066406,
            4.59130859375,
            4.818916320800781,
            4.97882080078125
          ]
        },
        "previous": {
          "median": 43.541587829589844,
          "min": 41.266761779785156,
          "max": 59.32426452636719,
          "trials": [
            43.541587829589844,
            41.266761779785156,
            42.71697998046875,
            43.766021728515625,
            43.59245300292969,
            59.32426452636719,
            42.96112060546875,
            41.779205322265625,
            42.556121826171875,
            44.106483459472656,
            45.54399108886719
          ]
        },
        "native": {
          "median": 1.2222976684570312,
          "min": 1.0350570678710938,
          "max": 1.2960433959960938,
          "trials": [
            1.0350570678710938,
            1.1688919067382812,
            1.2518539428710938,
            1.2222976684570312,
            1.1682510375976562,
            1.237548828125,
            1.2413711547851562,
            1.2661590576171875,
            1.2960433959960938,
            1.2006759643554688,
            1.203857421875
          ]
        }
      },
      "speedup_over": {
        "flink": 3.942506351078903,
        "previous": 35.62273655038106
      },
      "data_contains_nulls": true,
      "input_schema_nullable": true
    },
    {
      "type": "BIGINT",
      "binary_rowdata": true,
      "batch_rows": 16,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 6.2754974365234375,
          "min": 6.060600280761719,
          "max": 7.1395263671875,
          "trials": [
            6.255470275878906,
            6.3629150390625,
            6.2611846923828125,
            6.186485290527344,
            6.29583740234375,
            6.2754974365234375,
            6.35211181640625,
            7.1395263671875,
            6.204925537109375,
            6.735801696777344,
            6.060600280761719
          ]
        },
        "previous": {
          "median": 773.3907699584961,
          "min": 755.7023315429688,
          "max": 841.6814804077148,
          "trials": [
            755.7023315429688,
            794.0851898193359,
            780.4905548095703,
            771.3003158569336,
            771.8807907104492,
            756.6477432250977,
            773.3907699584961,
            841.6814804077148,
            783.2186965942383,
            782.9885482788086,
            767.3603668212891
          ]
        },
        "native": {
          "median": 22.712066650390625,
          "min": 21.311439514160156,
          "max": 26.17168426513672,
          "trials": [
            23.506797790527344,
            23.414932250976562,
            26.17168426513672,
            22.36144256591797,
            22.712066650390625,
            22.23046112060547,
            21.770477294921875,
            22.15099334716797,
            23.543357849121094,
            22.81029510498047,
            21.311439514160156
          ]
        }
      },
      "speedup_over": {
        "flink": 0.27630675504448227,
        "previous": 34.05197694526819
      },
      "data_contains_nulls": true,
      "input_schema_nullable": true
    },
    {
      "type": "INT",
      "binary_rowdata": true,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 6.701469421386719,
          "min": 6.256103515625,
          "max": 6.775543212890625,
          "trials": [
            6.735481262207031,
            6.6935272216796875,
            6.482124328613281,
            6.717041015625,
            6.7431182861328125,
            6.573677062988281,
            6.7364349365234375,
            6.6378936767578125,
            6.775543212890625,
            6.701469421386719,
            6.256103515625
          ]
        },
        "previous": {
          "median": 42.70744323730469,
          "min": 41.812583923339844,
          "max": 44.41356658935547,
          "trials": [
            42.21216583251953,
            42.59236145019531,
            44.41356658935547,
            42.53069305419922,
            43.88618469238281,
            42.23028564453125,
            42.70744323730469,
            43.54254150390625,
            43.926239013671875,
            43.61089324951172,
            41.812583923339844
          ]
        },
        "native": {
          "median": 0.5359649658203125,
          "min": 0.5124435424804688,
          "max": 0.6357803344726562,
          "trials": [
            0.5359649658203125,
            0.5124435424804688,
            0.5588531494140625,
            0.5464553833007812,
            0.531829833984375,
            0.6357803344726562,
            0.5331039428710938,
            0.5397796630859375,
            0.54931640625,
            0.5343780517578125,
            0.5130767822265625
          ]
        }
      },
      "speedup_over": {
        "flink": 12.50355871886121,
        "previous": 79.68327402135232
      },
      "data_contains_nulls": false,
      "input_schema_nullable": true
    },
    {
      "type": "INT",
      "binary_rowdata": false,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 4.5544281005859375,
          "min": 4.366874694824219,
          "max": 4.622779846191406,
          "trials": [
            4.569694519042969,
            4.511199951171875,
            4.366874694824219,
            4.5131072998046875,
            4.5544281005859375,
            4.427909851074219,
            4.622779846191406,
            4.5534820556640625,
            4.59735107421875,
            4.5909881591796875,
            4.5623779296875
          ]
        },
        "previous": {
          "median": 42.87847137451172,
          "min": 41.01307678222656,
          "max": 55.60779571533203,
          "trials": [
            42.265892028808594,
            43.80321502685547,
            41.01307678222656,
            42.36444091796875,
            41.179344177246094,
            43.75743865966797,
            41.983924865722656,
            42.87847137451172,
            44.625282287597656,
            55.60779571533203,
            43.54698944091797
          ]
        },
        "native": {
          "median": 1.4279708862304688,
          "min": 1.3348312377929688,
          "max": 1.4813766479492188,
          "trials": [
            1.45721435546875,
            1.4279708862304688,
            1.41748046875,
            1.4813766479492188,
            1.4495849609375,
            1.3777389526367188,
            1.4591217041015625,
            1.4492645263671875,
            1.401580810546875,
            1.373291015625,
            1.3348312377929688
          ]
        }
      },
      "speedup_over": {
        "flink": 3.189440446232509,
        "previous": 30.027552934010803
      },
      "data_contains_nulls": true,
      "input_schema_nullable": true
    },
    {
      "type": "INT",
      "binary_rowdata": true,
      "batch_rows": 16,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 5.649566650390625,
          "min": 5.396522521972656,
          "max": 5.820587158203125,
          "trials": [
            5.757331848144531,
            5.820587158203125,
            5.396522521972656,
            5.650199890136719,
            5.6470184326171875,
            5.407012939453125,
            5.649566650390625,
            5.608558654785156,
            5.47186279296875,
            5.652107238769531,
            5.655921936035156
          ]
        },
        "previous": {
          "median": 749.547004699707,
          "min": 740.1930465698242,
          "max": 768.9037322998047,
          "trials": [
            740.3036727905273,
            752.6019439697266,
            768.9037322998047,
            749.547004699707,
            745.7005233764648,
            740.1930465698242,
            741.5847778320312,
            750.7317886352539,
            756.8372039794922,
            747.7299423217773,
            761.6539001464844
          ]
        },
        "native": {
          "median": 22.887229919433594,
          "min": 22.643722534179688,
          "max": 23.200668334960938,
          "trials": [
            22.980690002441406,
            22.887229919433594,
            23.145034790039062,
            23.200668334960938,
            22.994361877441406,
            22.650718688964844,
            22.723831176757812,
            22.88055419921875,
            22.865936279296875,
            23.09386444091797,
            22.643722534179688
          ]
        }
      },
      "speedup_over": {
        "flink": 0.2468436184841035,
        "previous": 32.74957289887079
      },
      "data_contains_nulls": true,
      "input_schema_nullable": true
    }
  ],
  "pipeline": {
    "flink": {
      "unit": "seconds",
      "median": 0.129245208,
      "min": 0.119283542,
      "max": 0.135269792,
      "trials": [
        0.135269792,
        0.134122375,
        0.129245208,
        0.122455375,
        0.119283542
      ]
    },
    "previous": {
      "unit": "seconds",
      "median": 0.16874775,
      "min": 0.159774667,
      "max": 0.187790291,
      "trials": [
        0.187790291,
        0.168849709,
        0.16874775,
        0.159774667,
        0.161136792
      ]
    },
    "native": {
      "unit": "seconds",
      "median": 0.144245417,
      "min": 0.134325167,
      "max": 0.15532025,
      "trials": [
        0.15532025,
        0.14518225,
        0.134325167,
        0.144245417,
        0.139162834
      ]
    }
  },
  "profile": {
    "case": "INT nullable BinaryRowData / Arrow, 16 rows, native-only, sampled for five seconds at one-millisecond intervals outside the timed measurements",
    "observation": "generic Calc/DataFusion argument fields, allocation/drop, RecordBatch and output consumption remain material; SIGN is a typed unary pass; inclusive frames overlap and are not additive",
    "allocation_INT_16": {
      "calls": 20,
      "requested_bytes": 1255,
      "shared_output_buffer_bytes": 2,
      "new_output_buffer_bytes": 64
    },
    "allocation_INT_1024": {
      "calls": 20,
      "requested_bytes": 5287,
      "shared_output_buffer_bytes": 128,
      "new_output_buffer_bytes": 4096
    }
  }
}
