{
  "date": "2026-10-27",
  "baseline_revision": "1604a3aaeb1730c7d91ccf68f7bd93d97fcc2232",
  "feature": "integer CEIL reuses its verified native operand",
  "machine": {
    "cpu": "Apple M4 Pro",
    "logical_cpus": 14,
    "os": "macOS aarch64",
    "jdk": "17.0.12",
    "flink": "2.2.1",
    "rust": "1.94.0",
    "profile": "release, no-default-features, system allocator, counting allocation wrapper"
  },
  "method": {
    "prepared_inputs": "Released stock generated Java on prepared GenericRowData/BinaryRowData; previous and candidate production Calc on equal prepared Arrow. Stock timer inside Java, native timers inside Rust. Setup, JNI entry/import/export and perimeter transposes excluded; preceding JVM callback and its conversions retained. Every result participates in a checksum; complete Arrow/schema equality checked before timing.",
    "logical_schemas": "Nullable for every case; nullable_values flag denotes actual data, NULL every seventh row when true.",
    "warmups": 16,
    "measured_trials": 11,
    "rows_per_trial": 131072,
    "order": "rotating flink/previous/native each trial",
    "pipeline": "1M-row INT bounded Flink source to rowwise blackhole, parallelism 1; native plans require both transposes and consumed Calc work; separate sequential stock/previous/native JVMs, two warmups and five measured jobs."
  },
  "prepared": [
    {
      "type": "BIGINT",
      "nullable_values": false,
      "binary_rowdata": true,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 6.556190490722656,
          "min": 6.260231018066406,
          "max": 6.740257263183594,
          "trials": [
            6.629631042480469,
            6.37054443359375,
            6.463371276855469,
            6.556190490722656,
            6.5288543701171875,
            6.260231018066406,
            6.5768585205078125,
            6.740257263183594,
            6.4220428466796875,
            6.57049560546875,
            6.642982482910156
          ],
          "checksum": 1152921505642779008
        },
        "previous": {
          "median": 43.083831787109375,
          "min": 41.325889587402344,
          "max": 47.00660705566406,
          "trials": [
            44.335052490234375,
            43.246910095214844,
            42.668663024902344,
            41.5938720703125,
            41.936553955078125,
            41.325889587402344,
            43.083831787109375,
            43.482460021972656,
            47.00660705566406,
            42.30340576171875,
            44.095672607421875
          ],
          "checksum": 1152921505642779008
        },
        "native": {
          "median": 0.34395599365234375,
          "min": 0.32869720458984375,
          "max": 0.38242340087890625,
          "trials": [
            0.3544464111328125,
            0.34967803955078125,
            0.349365234375,
            0.3430023193359375,
            0.330291748046875,
            0.3376007080078125,
            0.34395599365234375,
            0.38242340087890625,
            0.32869720458984375,
            0.354766845703125,
            0.32933807373046875
          ],
          "checksum": 1152921505642779008
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 8192,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "type": "BIGINT",
      "nullable_values": true,
      "binary_rowdata": false,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 4.679679870605469,
          "min": 4.479408264160156,
          "max": 4.858970642089844,
          "trials": [
            4.6628265380859375,
            4.5550689697265625,
            4.653297424316406,
            4.850700378417969,
            4.7992095947265625,
            4.479408264160156,
            4.577949523925781,
            4.7375335693359375,
            4.679679870605469,
            4.858970642089844,
            4.851341247558594
          ],
          "checksum": 1152921505678237312
        },
        "previous": {
          "median": 41.88505554199219,
          "min": 39.601959228515625,
          "max": 55.22759246826172,
          "trials": [
            43.41729736328125,
            41.88505554199219,
            40.332794189453125,
            42.189910888671875,
            41.13801574707031,
            39.601959228515625,
            41.5938720703125,
            40.77720642089844,
            55.22759246826172,
            41.886962890625,
            43.501853942871094
          ],
          "checksum": 1152921505678237312
        },
        "native": {
          "median": 0.6987228393554688,
          "min": 0.6761550903320312,
          "max": 0.774383544921875,
          "trials": [
            0.774383544921875,
            0.6987228393554688,
            0.6761550903320312,
            0.7015914916992188,
            0.7015838623046875,
            0.6787033081054688,
            0.6885528564453125,
            0.7467269897460938,
            0.688232421875,
            0.6964950561523438,
            0.7130279541015625
          ],
          "checksum": 1152921505678237312
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 8320,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "type": "BIGINT",
      "nullable_values": true,
      "binary_rowdata": true,
      "batch_rows": 16,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 6.0580596923828125,
          "min": 5.986854553222656,
          "max": 6.6019744873046875,
          "trials": [
            6.047889709472656,
            6.032623291015625,
            6.6019744873046875,
            5.986854553222656,
            6.028175354003906,
            6.369911193847656,
            6.0024261474609375,
            6.0580596923828125,
            6.370231628417969,
            6.134674072265625,
            6.073631286621094
          ],
          "checksum": 973070336
        },
        "previous": {
          "median": 756.2611846923828,
          "min": 746.3060989379883,
          "max": 797.4351196289062,
          "trials": [
            751.8959045410156,
            760.2647171020508,
            774.2214202880859,
            797.4351196289062,
            765.4921188354492,
            765.4870376586914,
            756.1235427856445,
            756.2611846923828,
            753.5883560180664,
            756.0796737670898,
            746.3060989379883
          ],
          "checksum": 973070336
        },
        "native": {
          "median": 13.753890991210938,
          "min": 13.473831176757812,
          "max": 14.604568481445312,
          "trials": [
            13.753890991210938,
            13.799667358398438,
            13.473831176757812,
            13.569831848144531,
            13.607978820800781,
            13.644859313964844,
            13.620376586914062,
            13.7618408203125,
            14.187492370605469,
            14.604568481445312,
            14.264739990234375
          ],
          "checksum": 973070336
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 130,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "type": "INT",
      "nullable_values": false,
      "binary_rowdata": true,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 6.361328125,
          "min": 6.239891052246094,
          "max": 6.479896545410156,
          "trials": [
            6.288848876953125,
            6.239891052246094,
            6.342887878417969,
            6.479896545410156,
            6.361328125,
            6.3838958740234375,
            6.365455627441406,
            6.331123352050781,
            6.4449310302734375,
            6.377540588378906,
            6.359100341796875
          ],
          "checksum": -16766516391680
        },
        "previous": {
          "median": 40.66181182861328,
          "min": 38.87049102783203,
          "max": 41.577972412109375,
          "trials": [
            41.24958801269531,
            41.398681640625,
            40.973350524902344,
            41.14055633544922,
            41.577972412109375,
            39.389610290527344,
            39.219215393066406,
            38.87049102783203,
            40.40718078613281,
            39.93511199951172,
            40.66181182861328
          ],
          "checksum": -16766516391680
        },
        "native": {
          "median": 0.310577392578125,
          "min": 0.2803802490234375,
          "max": 0.32488250732421875,
          "trials": [
            0.312164306640625,
            0.3048553466796875,
            0.31725311279296875,
            0.32488250732421875,
            0.31566619873046875,
            0.2803802490234375,
            0.3070831298828125,
            0.3032684326171875,
            0.31026458740234375,
            0.31217193603515625,
            0.310577392578125
          ],
          "checksum": -16766516391680
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 4096,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "type": "INT",
      "nullable_values": true,
      "binary_rowdata": false,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 4.534088134765625,
          "min": 4.462562561035156,
          "max": 4.7588348388671875,
          "trials": [
            4.646614074707031,
            4.753753662109375,
            4.530906677246094,
            4.534088134765625,
            4.680320739746094,
            4.462562561035156,
            4.4873504638671875,
            4.4781341552734375,
            4.569053649902344,
            4.7588348388671875,
            4.530906677246094
          ],
          "checksum": -14292579770880
        },
        "previous": {
          "median": 41.02516174316406,
          "min": 39.27294158935547,
          "max": 54.75044250488281,
          "trials": [
            41.08715057373047,
            39.91094970703125,
            41.95848846435547,
            40.60236358642578,
            40.99400329589844,
            39.27294158935547,
            40.51239776611328,
            41.81798553466797,
            54.75044250488281,
            41.02516174316406,
            41.13038635253906
          ],
          "checksum": -14292579770880
        },
        "native": {
          "median": 0.692047119140625,
          "min": 0.6694793701171875,
          "max": 0.8137969970703125,
          "trials": [
            0.7108078002929688,
            0.705718994140625,
            0.8137969970703125,
            0.6961822509765625,
            0.6847381591796875,
            0.7038116455078125,
            0.6879196166992188,
            0.6694793701171875,
            0.6774215698242188,
            0.690460205078125,
            0.692047119140625
          ],
          "checksum": -14292579770880
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 4224,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "type": "INT",
      "nullable_values": true,
      "binary_rowdata": true,
      "batch_rows": 16,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 5.335174560546875,
          "min": 5.174003601074219,
          "max": 5.6231842041015625,
          "trials": [
            5.3577423095703125,
            5.431495666503906,
            5.209281921386719,
            5.6231842041015625,
            5.537986755371094,
            5.335174560546875,
            5.2305908203125,
            5.174003601074219,
            5.196571350097656,
            5.597747802734375,
            5.1816253662109375
          ],
          "checksum": 973062144
        },
        "previous": {
          "median": 753.3308639526367,
          "min": 740.8014984130859,
          "max": 781.7522659301758,
          "trials": [
            758.570671081543,
            762.7070770263672,
            751.4890060424805,
            771.9271926879883,
            781.7522659301758,
            764.5562438964844,
            749.9545440673828,
            743.3150634765625,
            741.1632537841797,
            740.8014984130859,
            753.3308639526367
          ],
          "checksum": 973062144
        },
        "native": {
          "median": 14.322280883789062,
          "min": 13.753570556640625,
          "max": 14.86968994140625,
          "trials": [
            14.598213195800781,
            14.807701110839844,
            14.273963928222656,
            14.132499694824219,
            14.86968994140625,
            14.405250549316406,
            14.254890441894531,
            14.4500732421875,
            13.989448547363281,
            14.322280883789062,
            13.753570556640625
          ],
          "checksum": 973062144
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 66,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "type": "SMALLINT",
      "nullable_values": false,
      "binary_rowdata": true,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 6.587028503417969,
          "min": 6.407737731933594,
          "max": 6.7173614501953125,
          "trials": [
            6.673492431640625,
            6.632171630859375,
            6.587028503417969,
            6.523765563964844,
            6.439849853515625,
            6.6127777099609375,
            6.442710876464844,
            6.7173614501953125,
            6.407737731933594,
            6.53680419921875,
            6.665229797363281
          ],
          "checksum": -272829696
        },
        "previous": {
          "median": 41.3834228515625,
          "min": 40.316261291503906,
          "max": 43.505035400390625,
          "trials": [
            40.416717529296875,
            43.505035400390625,
            40.84745788574219,
            41.27820587158203,
            43.072059631347656,
            41.435882568359375,
            41.3834228515625,
            43.463706970214844,
            41.80717468261719,
            40.316261291503906,
            41.045501708984375
          ],
          "checksum": -272829696
        },
        "native": {
          "median": 0.33600616455078125,
          "min": 0.30040740966796875,
          "max": 0.35317230224609375,
          "trials": [
            0.34236907958984375,
            0.33156585693359375,
            0.30390167236328125,
            0.33600616455078125,
            0.3369598388671875,
            0.35317230224609375,
            0.33632659912109375,
            0.3528594970703125,
            0.30040740966796875,
            0.30994415283203125,
            0.31566619873046875
          ],
          "checksum": -272829696
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 2048,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "type": "SMALLINT",
      "nullable_values": true,
      "binary_rowdata": false,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 4.626594543457031,
          "min": 4.475593566894531,
          "max": 5.068145751953125,
          "trials": [
            5.068145751953125,
            4.626594543457031,
            4.662834167480469,
            4.583992004394531,
            4.479728698730469,
            4.700347900390625,
            4.638038635253906,
            4.6065673828125,
            4.8144683837890625,
            4.475593566894531,
            4.52581787109375
          ],
          "checksum": -218822144
        },
        "previous": {
          "median": 41.517578125,
          "min": 39.42108154296875,
          "max": 54.90557861328125,
          "trials": [
            39.98693084716797,
            41.686058044433594,
            42.03160858154297,
            41.30140686035156,
            41.517578125,
            39.42108154296875,
            42.91852569580078,
            41.53411102294922,
            54.90557861328125,
            41.31952667236328,
            41.173301696777344
          ],
          "checksum": -218822144
        },
        "native": {
          "median": 0.6933212280273438,
          "min": 0.6780624389648438,
          "max": 0.7387847900390625,
          "trials": [
            0.7375030517578125,
            0.7387847900390625,
            0.727020263671875,
            0.6802902221679688,
            0.6834716796875,
            0.6837844848632812,
            0.6933212280273438,
            0.7212905883789062,
            0.6933212280273438,
            0.6866455078125,
            0.6780624389648438
          ],
          "checksum": -218822144
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 2176,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "type": "SMALLINT",
      "nullable_values": true,
      "binary_rowdata": true,
      "batch_rows": 16,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 5.5300445556640625,
          "min": 5.312919616699219,
          "max": 7.826164245605469,
          "trials": [
            5.674049377441406,
            7.826164245605469,
            5.5004730224609375,
            5.383491516113281,
            5.312919616699219,
            5.530357360839844,
            5.463287353515625,
            5.5621490478515625,
            5.396522521972656,
            5.6177825927734375,
            5.5300445556640625
          ],
          "checksum": 516767744
        },
        "previous": {
          "median": 741.6575775146484,
          "min": 735.6669082641602,
          "max": 765.6380386352539,
          "trials": [
            756.1947555541992,
            735.6669082641602,
            738.8229370117188,
            744.0023422241211,
            745.5425262451172,
            765.6380386352539,
            741.6575775146484,
            741.4541244506836,
            736.9225769042969,
            738.6134490966797,
            742.7635192871094
          ],
          "checksum": 516767744
        },
        "native": {
          "median": 15.277229309082031,
          "min": 14.4805908203125,
          "max": 15.898391723632812,
          "trials": [
            15.166282653808594,
            14.4805908203125,
            15.516281127929688,
            14.97491455078125,
            15.277229309082031,
            15.898391723632812,
            15.266738891601562,
            15.622138977050781,
            15.654884338378906,
            15.192665100097656,
            15.343986511230469
          ],
          "checksum": 516767744
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 34,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "type": "TINYINT",
      "nullable_values": false,
      "binary_rowdata": true,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 6.353057861328125,
          "min": 6.010688781738281,
          "max": 6.533935546875,
          "trials": [
            6.533935546875,
            6.111778259277344,
            6.353057861328125,
            6.387077331542969,
            6.010688781738281,
            6.41632080078125,
            6.18426513671875,
            6.214141845703125,
            6.489753723144531,
            6.391212463378906,
            6.0590057373046875
          ],
          "checksum": -1068288
        },
        "previous": {
          "median": 39.76885223388672,
          "min": 38.56182098388672,
          "max": 40.987327575683594,
          "trials": [
            40.77911376953125,
            39.917625427246094,
            40.987327575683594,
            38.56182098388672,
            39.725616455078125,
            39.32508087158203,
            39.76885223388672,
            39.46558380126953,
            40.30736541748047,
            39.278350830078125,
            40.30164337158203
          ],
          "checksum": -1068288
        },
        "native": {
          "median": 0.36684417724609375,
          "min": 0.33696746826171875,
          "max": 0.392913818359375,
          "trials": [
            0.39163970947265625,
            0.36525726318359375,
            0.37796783447265625,
            0.36684417724609375,
            0.392913818359375,
            0.388458251953125,
            0.34841156005859375,
            0.34046173095703125,
            0.36748504638671875,
            0.353179931640625,
            0.33696746826171875
          ],
          "checksum": -1068288
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 1024,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "type": "TINYINT",
      "nullable_values": true,
      "binary_rowdata": false,
      "batch_rows": 1024,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 4.7283172607421875,
          "min": 4.6246795654296875,
          "max": 4.8230438232421875,
          "trials": [
            4.663154602050781,
            4.695892333984375,
            4.6246795654296875,
            4.8230438232421875,
            4.7283172607421875,
            4.7928466796875,
            4.651069641113281,
            4.6329498291015625,
            4.7969818115234375,
            4.7458038330078125,
            4.788719177246094
          ],
          "checksum": -882176
        },
        "previous": {
          "median": 41.69750213623047,
          "min": 39.988197326660156,
          "max": 54.602622985839844,
          "trials": [
            39.988197326660156,
            43.306663513183594,
            41.69750213623047,
            43.11847686767578,
            41.98487091064453,
            40.02348327636719,
            41.53791809082031,
            40.84014892578125,
            54.602622985839844,
            40.49047088623047,
            41.79032897949219
          ],
          "checksum": -882176
        },
        "native": {
          "median": 0.6748809814453125,
          "min": 0.665985107421875,
          "max": 0.6920547485351562,
          "trials": [
            0.6685256958007812,
            0.6663055419921875,
            0.6920547485351562,
            0.6831512451171875,
            0.665985107421875,
            0.6748809814453125,
            0.678375244140625,
            0.669158935546875,
            0.6682052612304688,
            0.6815567016601562,
            0.67901611328125
          ],
          "checksum": -882176
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 1152,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "type": "TINYINT",
      "nullable_values": true,
      "binary_rowdata": true,
      "batch_rows": 16,
      "unit": "ns/row",
      "results": {
        "flink": {
          "median": 5.651153564453125,
          "min": 5.2700042724609375,
          "max": 5.8552398681640625,
          "trials": [
            5.709648132324219,
            5.651153564453125,
            5.318641662597656,
            5.848564147949219,
            5.8552398681640625,
            5.4394378662109375,
            5.796112060546875,
            5.663871765136719,
            5.640983581542969,
            5.2700042724609375,
            5.57867431640625
          ],
          "checksum": 868352
        },
        "previous": {
          "median": 747.5318908691406,
          "min": 735.8462066650391,
          "max": 774.9131546020508,
          "trials": [
            735.8462066650391,
            769.4209442138672,
            741.1909103393555,
            757.580436706543,
            740.6984939575195,
            747.5318908691406,
            745.6038818359375,
            743.6965255737305,
            747.8850708007812,
            757.2123184204102,
            774.9131546020508
          ],
          "checksum": 868352
        },
        "native": {
          "median": 14.199256896972656,
          "min": 13.6429443359375,
          "max": 15.871047973632812,
          "trials": [
            14.523193359375,
            14.199256896972656,
            13.6429443359375,
            14.073051452636719,
            14.207199096679688,
            13.755157470703125,
            14.0396728515625,
            13.939857482910156,
            14.357566833496094,
            14.511741638183594,
            15.871047973632812
          ],
          "checksum": 868352
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 18,
        "new_output_buffer_bytes": 0
      }
    }
  ],
  "pipeline": {
    "flink": {
      "unit": "seconds",
      "median": 0.127985125,
      "min": 0.118868125,
      "max": 0.129826,
      "trials": [
        0.129133167,
        0.129826,
        0.127985125,
        0.118868125,
        0.119492209
      ]
    },
    "previous": {
      "unit": "seconds",
      "median": 0.154719375,
      "min": 0.149769208,
      "max": 0.156015708,
      "trials": [
        0.155970167,
        0.156015708,
        0.153402292,
        0.149769208,
        0.154719375
      ]
    },
    "native": {
      "unit": "seconds",
      "median": 0.139331375,
      "min": 0.128386791,
      "max": 0.145281125,
      "trials": [
        0.145281125,
        0.137588125,
        0.144707167,
        0.139331375,
        0.128386791
      ]
    }
  },
  "limitations": [
    "16-row controls remain slower than stock because of generic native Calc fixed overhead.",
    "Complete jobs include submission/JIT/startup; no sustained complete-job acceleration claim."
  ]
}
