{
  "date": "2026-10-27",
  "baseline_revision": "d98dc2f21f8d3029bf04bac6e8e27f8e1c0bb911",
  "feature": "single-argument integer TRUNCATE",
  "machine": {
    "cpu": "Apple M4 Pro",
    "os": "macOS aarch64",
    "jdk": "17.0.12",
    "rust": "1.94.0",
    "profile": "release, no-default-features, system allocator, counting allocation wrapper"
  },
  "method": {
    "prepared": "Equal prepared values/types/NULLs. Stock generated execution starts on GenericRowData/BinaryRowData in Java; previous and candidate production Calc start on Arrow in Rust. Java stock timer and Rust native timers include equivalent output consumption. Setup, JNI import/export and perimeter transposes excluded; preceding callback and its intrinsic conversions retained. Every output checked by exact schema/Arrow equality before timing and checksum during trials.",
    "warmups": 16,
    "measured_trials": 11,
    "rows_per_trial": 131072,
    "order": "Rotating stock/previous/native each trial",
    "logical_schemas": "All nullable; nullable_values means actual NULL every seventh row.",
    "pipeline": "Flink 2.2.1, 1M-row INT source, parallelism one, rowwise blackhole. Native plans require both transposes and positive consumed NativeCalc work. Previous uses the baseline encoder and requires its JVM route. Two warmups and five measured jobs per engine in separate sequential JVMs."
  },
  "prepared": [
    {
      "flink": "1.18.1",
      "type": "BIGINT",
      "nullable_values": false,
      "binary_rowdata": true,
      "batch_rows": 1024,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 114.69205474853516,
          "min": 108.1520767211914,
          "max": 121.87925720214844,
          "trials": [
            112.48493194580078,
            121.87925720214844,
            116.6969985961914,
            118.59449005126953,
            108.1520767211914,
            110.14842987060547,
            113.6465072631836,
            115.74140930175781,
            114.69205474853516,
            115.28459930419922,
            112.24937438964844
          ],
          "checksum": 1152921505642779008
        },
        "previous": {
          "unit": "ns/row",
          "median": 163.984619140625,
          "min": 155.08334350585938,
          "max": 185.19432830810547,
          "trials": [
            164.48943328857422,
            163.36090850830078,
            161.00851440429688,
            163.89147186279297,
            155.08334350585938,
            173.2934341430664,
            179.89540100097656,
            161.95455932617188,
            185.19432830810547,
            163.984619140625,
            165.80899047851562
          ],
          "checksum": 1152921505642779008
        },
        "native": {
          "unit": "ns/row",
          "median": 0.3566741943359375,
          "min": 0.304534912109375,
          "max": 0.39545440673828125,
          "trials": [
            0.3344268798828125,
            0.37796783447265625,
            0.304534912109375,
            0.35349273681640625,
            0.38401031494140625,
            0.3509521484375,
            0.35349273681640625,
            0.38623809814453125,
            0.36176300048828125,
            0.3566741943359375,
            0.39545440673828125
          ],
          "checksum": 1152921505642779008
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 8192,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "flink": "1.18.1",
      "type": "BIGINT",
      "nullable_values": true,
      "binary_rowdata": false,
      "batch_rows": 1024,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 94.69477081298828,
          "min": 88.01841735839844,
          "max": 99.20088958740234,
          "trials": [
            96.13704681396484,
            93.97952270507812,
            98.10416412353516,
            88.01841735839844,
            89.67971801757812,
            91.7952880859375,
            97.93567657470703,
            99.20088958740234,
            93.37202453613281,
            96.50675201416016,
            94.69477081298828
          ],
          "checksum": 1152921505678237312
        },
        "previous": {
          "unit": "ns/row",
          "median": 152.53194427490234,
          "min": 148.5452651977539,
          "max": 156.39209747314453,
          "trials": [
            156.39209747314453,
            152.35614776611328,
            154.6751708984375,
            155.378662109375,
            154.89832305908203,
            156.0525894165039,
            148.5452651977539,
            150.35057067871094,
            152.53003692626953,
            152.53194427490234,
            149.25289154052734
          ],
          "checksum": 1152921505678237312
        },
        "native": {
          "unit": "ns/row",
          "median": 0.71875,
          "min": 0.6977767944335938,
          "max": 0.8325576782226562,
          "trials": [
            0.7060394287109375,
            0.7499008178710938,
            0.8325576782226562,
            0.6977767944335938,
            0.714935302734375,
            0.7327423095703125,
            0.698089599609375,
            0.7511749267578125,
            0.7123947143554688,
            0.7750244140625,
            0.71875
          ],
          "checksum": 1152921505678237312
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 8320,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "flink": "1.18.1",
      "type": "BIGINT",
      "nullable_values": true,
      "binary_rowdata": true,
      "batch_rows": 16,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 102.1722183227539,
          "min": 94.62007141113281,
          "max": 103.30518341064453,
          "trials": [
            94.62007141113281,
            99.4087905883789,
            99.07881164550781,
            99.28703308105469,
            102.72789001464844,
            100.63711547851562,
            103.22984313964844,
            102.21195220947266,
            103.30518341064453,
            102.386474609375,
            102.1722183227539
          ],
          "checksum": 973070336
        },
        "previous": {
          "unit": "ns/row",
          "median": 851.418815612793,
          "min": 832.2442321777344,
          "max": 868.2870864868164,
          "trials": [
            868.2870864868164,
            852.6099548339844,
            845.2374114990234,
            854.1485443115234,
            866.6289672851562,
            840.0214462280273,
            832.2442321777344,
            844.5790557861328,
            854.5147552490234,
            851.418815612793,
            847.5399017333984
          ],
          "checksum": 973070336
        },
        "native": {
          "unit": "ns/row",
          "median": 14.343894958496094,
          "min": 13.178192138671875,
          "max": 14.790847778320312,
          "trials": [
            14.343894958496094,
            14.081314086914062,
            14.354393005371094,
            14.790847778320312,
            13.65057373046875,
            13.865791320800781,
            14.198936462402344,
            14.596305847167969,
            14.706932067871094,
            13.178192138671875,
            14.51556396484375
          ],
          "checksum": 973070336
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 130,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "flink": "1.18.1",
      "type": "INT",
      "nullable_values": false,
      "binary_rowdata": true,
      "batch_rows": 1024,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 50.861358642578125,
          "min": 48.53407287597656,
          "max": 54.99394226074219,
          "trials": [
            54.99394226074219,
            49.46295166015625,
            49.8978271484375,
            50.861358642578125,
            49.98811340332031,
            53.771339416503906,
            49.44419860839844,
            52.826568603515625,
            53.68614196777344,
            53.173377990722656,
            48.53407287597656
          ],
          "checksum": -16766516391680
        },
        "previous": {
          "unit": "ns/row",
          "median": 100.85614776611328,
          "min": 94.86833953857422,
          "max": 109.97550201416016,
          "trials": [
            109.97550201416016,
            100.85614776611328,
            102.0797119140625,
            103.36621856689453,
            103.38115692138672,
            103.71653747558594,
            97.46996307373047,
            97.1832275390625,
            98.95579528808594,
            94.86833953857422,
            97.55547332763672
          ],
          "checksum": -16766516391680
        },
        "native": {
          "unit": "ns/row",
          "median": 0.34459686279296875,
          "min": 0.30835723876953125,
          "max": 0.40912628173828125,
          "trials": [
            0.4002227783203125,
            0.37479400634765625,
            0.31185150146484375,
            0.30930328369140625,
            0.34459686279296875,
            0.30994415283203125,
            0.37225341796875,
            0.354766845703125,
            0.40912628173828125,
            0.30835723876953125,
            0.32647705078125
          ],
          "checksum": -16766516391680
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 4096,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "flink": "1.18.1",
      "type": "INT",
      "nullable_values": true,
      "binary_rowdata": false,
      "batch_rows": 1024,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 46.2325439453125,
          "min": 44.280052185058594,
          "max": 49.321495056152344,
          "trials": [
            45.291259765625,
            45.963287353515625,
            46.2325439453125,
            49.321495056152344,
            46.053245544433594,
            48.233673095703125,
            48.14751434326172,
            44.942535400390625,
            49.302101135253906,
            47.57976531982422,
            44.280052185058594
          ],
          "checksum": -14292579770880
        },
        "previous": {
          "unit": "ns/row",
          "median": 91.2354736328125,
          "min": 87.66619873046875,
          "max": 102.05618286132812,
          "trials": [
            102.05618286132812,
            98.75711059570312,
            91.2354736328125,
            92.5283432006836,
            92.92316436767578,
            87.66619873046875,
            90.45219421386719,
            91.97012329101562,
            87.81242370605469,
            88.64561462402344,
            89.10465240478516
          ],
          "checksum": -14292579770880
        },
        "native": {
          "unit": "ns/row",
          "median": 0.7200241088867188,
          "min": 0.6837844848632812,
          "max": 0.7772445678710938,
          "trials": [
            0.7549972534179688,
            0.7413253784179688,
            0.6977691650390625,
            0.7200241088867188,
            0.7772445678710938,
            0.724151611328125,
            0.7260589599609375,
            0.7089004516601562,
            0.6837844848632812,
            0.7022247314453125,
            0.6933212280273438
          ],
          "checksum": -14292579770880
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 4224,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "flink": "1.18.1",
      "type": "INT",
      "nullable_values": true,
      "binary_rowdata": true,
      "batch_rows": 16,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 42.94712829589844,
          "min": 40.512725830078125,
          "max": 45.516014099121094,
          "trials": [
            45.516014099121094,
            40.993690490722656,
            43.457664489746094,
            43.918609619140625,
            40.70441436767578,
            42.94712829589844,
            43.757118225097656,
            40.71521759033203,
            43.349266052246094,
            40.833152770996094,
            40.512725830078125
          ],
          "checksum": 973062144
        },
        "previous": {
          "unit": "ns/row",
          "median": 811.7694854736328,
          "min": 806.0445785522461,
          "max": 815.5717849731445,
          "trials": [
            814.6581649780273,
            811.7189407348633,
            806.0445785522461,
            811.9084014892578,
            815.5717849731445,
            812.7930908203125,
            811.7694854736328,
            813.1027221679688,
            809.2308044433594,
            806.2041549682617,
            811.7303848266602
          ],
          "checksum": 973062144
        },
        "native": {
          "unit": "ns/row",
          "median": 14.426551818847656,
          "min": 13.648033142089844,
          "max": 14.712333679199219,
          "trials": [
            14.561965942382812,
            14.712333679199219,
            13.648033142089844,
            14.514602661132812,
            14.063194274902344,
            14.570869445800781,
            14.254890441894531,
            14.324188232421875,
            13.8702392578125,
            14.479316711425781,
            14.426551818847656
          ],
          "checksum": 973062144
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 66,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "flink": "2.2.1",
      "type": "BIGINT",
      "nullable_values": false,
      "binary_rowdata": true,
      "batch_rows": 1024,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 112.93284606933594,
          "min": 103.87992858886719,
          "max": 117.15888977050781,
          "trials": [
            103.87992858886719,
            110.60905456542969,
            112.97162628173828,
            113.0530014038086,
            113.8906478881836,
            112.93284606933594,
            117.15888977050781,
            108.53036499023438,
            112.51608276367188,
            114.43264770507812,
            111.38725280761719
          ],
          "checksum": 1152921505642779008
        },
        "previous": {
          "unit": "ns/row",
          "median": 167.4693374633789,
          "min": 157.07683563232422,
          "max": 173.8773956298828,
          "trials": [
            168.44590759277344,
            157.07683563232422,
            165.92152404785156,
            167.4693374633789,
            172.9898452758789,
            173.8773956298828,
            160.81619262695312,
            168.7021255493164,
            165.34837341308594,
            173.77408599853516,
            163.7471466064453
          ],
          "checksum": 1152921505642779008
        },
        "native": {
          "unit": "ns/row",
          "median": 0.35730743408203125,
          "min": 0.31026458740234375,
          "max": 0.408172607421875,
          "trials": [
            0.35762786865234375,
            0.37415313720703125,
            0.35730743408203125,
            0.3856048583984375,
            0.408172607421875,
            0.3178863525390625,
            0.31026458740234375,
            0.333465576171875,
            0.3525390625,
            0.3646240234375,
            0.3560333251953125
          ],
          "checksum": 1152921505642779008
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 8192,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "flink": "2.2.1",
      "type": "BIGINT",
      "nullable_values": true,
      "binary_rowdata": false,
      "batch_rows": 1024,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 99.85891723632812,
          "min": 94.56698608398438,
          "max": 104.45722198486328,
          "trials": [
            97.32532501220703,
            100.20891571044922,
            97.45915985107422,
            103.89360046386719,
            101.8225326538086,
            104.45722198486328,
            97.31578826904297,
            99.85891723632812,
            94.56698608398438,
            96.49308013916016,
            100.50932312011719
          ],
          "checksum": 1152921505678237312
        },
        "previous": {
          "unit": "ns/row",
          "median": 147.5515365600586,
          "min": 141.16064453125,
          "max": 153.14960479736328,
          "trials": [
            152.95854949951172,
            151.0635986328125,
            143.86749267578125,
            145.05545043945312,
            147.5515365600586,
            148.94707489013672,
            153.14960479736328,
            147.14431762695312,
            144.29759979248047,
            149.7189178466797,
            141.16064453125
          ],
          "checksum": 1152921505678237312
        },
        "native": {
          "unit": "ns/row",
          "median": 0.7031707763671875,
          "min": 0.6100311279296875,
          "max": 0.7464141845703125,
          "trials": [
            0.7060394287109375,
            0.6853713989257812,
            0.6313323974609375,
            0.6100311279296875,
            0.7127151489257812,
            0.6999969482421875,
            0.7464141845703125,
            0.6866455078125,
            0.7031707763671875,
            0.7222442626953125,
            0.7238388061523438
          ],
          "checksum": 1152921505678237312
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 8320,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "flink": "2.2.1",
      "type": "BIGINT",
      "nullable_values": true,
      "binary_rowdata": true,
      "batch_rows": 16,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 98.12068939208984,
          "min": 88.77372741699219,
          "max": 101.31295013427734,
          "trials": [
            100.68321228027344,
            99.59284973144531,
            88.77372741699219,
            98.12068939208984,
            99.80297088623047,
            97.52972412109375,
            101.31295013427734,
            98.6948013305664,
            96.69303894042969,
            97.2716064453125,
            91.21417999267578
          ],
          "checksum": 973070336
        },
        "previous": {
          "unit": "ns/row",
          "median": 839.7633285522461,
          "min": 827.7292251586914,
          "max": 851.9372940063477,
          "trials": [
            827.7292251586914,
            830.7905197143555,
            846.343994140625,
            843.8539505004883,
            849.3528366088867,
            833.357177734375,
            832.6190338134766,
            851.9372940063477,
            839.7633285522461,
            836.0404968261719,
            848.0962142944336
          ],
          "checksum": 973070336
        },
        "native": {
          "unit": "ns/row",
          "median": 15.164375305175781,
          "min": 14.408744812011719,
          "max": 16.540206909179688,
          "trials": [
            16.333892822265625,
            15.062332153320312,
            16.540206909179688,
            14.945350646972656,
            15.026092529296875,
            15.620552062988281,
            15.164375305175781,
            14.408744812011719,
            14.80706787109375,
            15.460014343261719,
            15.851341247558594
          ],
          "checksum": 973070336
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 130,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "flink": "2.2.1",
      "type": "INT",
      "nullable_values": false,
      "binary_rowdata": true,
      "batch_rows": 1024,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 64.96366119384766,
          "min": 59.28611755371094,
          "max": 73.21739196777344,
          "trials": [
            73.21739196777344,
            61.16676330566406,
            69.97457885742188,
            65.91764831542969,
            59.28611755371094,
            65.6442642211914,
            64.0522689819336,
            61.049461364746094,
            67.45115661621094,
            64.96366119384766,
            63.910804748535156
          ],
          "checksum": -16766516391680
        },
        "previous": {
          "unit": "ns/row",
          "median": 95.68437194824219,
          "min": 94.03387451171875,
          "max": 98.34416198730469,
          "trials": [
            96.76456451416016,
            97.5974349975586,
            98.26882934570312,
            95.40239715576172,
            94.03387451171875,
            95.68437194824219,
            98.34416198730469,
            96.8500747680664,
            95.34168243408203,
            94.34063720703125,
            94.46334838867188
          ],
          "checksum": -16766516391680
        },
        "native": {
          "unit": "ns/row",
          "median": 0.31757354736328125,
          "min": 0.29436492919921875,
          "max": 0.347137451171875,
          "trials": [
            0.31757354736328125,
            0.29436492919921875,
            0.319793701171875,
            0.3102569580078125,
            0.347137451171875,
            0.30422210693359375,
            0.29691314697265625,
            0.34395599365234375,
            0.30612945556640625,
            0.32965087890625,
            0.331878662109375
          ],
          "checksum": -16766516391680
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 4096,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "flink": "2.2.1",
      "type": "INT",
      "nullable_values": true,
      "binary_rowdata": false,
      "batch_rows": 1024,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 45.87236785888672,
          "min": 44.495582580566406,
          "max": 53.87083435058594,
          "trials": [
            46.502113342285156,
            53.87083435058594,
            44.495582580566406,
            44.504798889160156,
            45.35547637939453,
            44.651031494140625,
            45.87236785888672,
            45.015655517578125,
            45.98268127441406,
            46.66169738769531,
            46.33331298828125
          ],
          "checksum": -14292579770880
        },
        "previous": {
          "unit": "ns/row",
          "median": 91.02758026123047,
          "min": 85.33922576904297,
          "max": 94.12765502929688,
          "trials": [
            92.9117202758789,
            89.18317413330078,
            94.12765502929688,
            89.02200317382812,
            91.02758026123047,
            85.33922576904297,
            92.27498626708984,
            91.94915008544922,
            86.10057830810547,
            90.83843231201172,
            92.95146179199219
          ],
          "checksum": -14292579770880
        },
        "native": {
          "unit": "ns/row",
          "median": 0.6999969482421875,
          "min": 0.621795654296875,
          "max": 0.7413177490234375,
          "trials": [
            0.7092208862304688,
            0.728607177734375,
            0.6430892944335938,
            0.621795654296875,
            0.6974563598632812,
            0.6287841796875,
            0.6840972900390625,
            0.7413177490234375,
            0.6999969482421875,
            0.7069931030273438,
            0.7298812866210938
          ],
          "checksum": -14292579770880
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 4224,
        "new_output_buffer_bytes": 0
      }
    },
    {
      "flink": "2.2.1",
      "type": "INT",
      "nullable_values": true,
      "binary_rowdata": true,
      "batch_rows": 16,
      "results": {
        "flink": {
          "unit": "ns/row",
          "median": 55.06452178955078,
          "min": 51.26921081542969,
          "max": 60.22167205810547,
          "trials": [
            55.235862731933594,
            51.26921081542969,
            52.79254913330078,
            54.819427490234375,
            53.81648254394531,
            53.23155212402344,
            55.19739532470703,
            56.780181884765625,
            60.22167205810547,
            56.17173767089844,
            55.06452178955078
          ],
          "checksum": 973062144
        },
        "previous": {
          "unit": "ns/row",
          "median": 834.5556259155273,
          "min": 821.4743957519531,
          "max": 875.7416458129883,
          "trials": [
            837.2879028320312,
            834.5556259155273,
            833.3333358764648,
            824.3242874145508,
            869.7706832885742,
            871.8055114746094,
            832.8577728271484,
            839.6501541137695,
            875.7416458129883,
            831.8036422729492,
            821.4743957519531
          ],
          "checksum": 973062144
        },
        "native": {
          "unit": "ns/row",
          "median": 14.462471008300781,
          "min": 13.580642700195312,
          "max": 15.038169860839844,
          "trials": [
            14.561332702636719,
            15.038169860839844,
            14.443397521972656,
            13.580642700195312,
            13.773918151855469,
            13.664566040039062,
            14.72027587890625,
            14.483772277832031,
            14.462471008300781,
            13.906478881835938,
            14.496170043945312
          ],
          "checksum": 973062144
        }
      },
      "allocation_probe": {
        "calls": 13,
        "requested_bytes": 606,
        "shared_output_buffer_bytes": 66,
        "new_output_buffer_bytes": 0
      }
    }
  ],
  "pipeline": {
    "flink": {
      "unit": "seconds",
      "median": 0.188720708,
      "min": 0.185241042,
      "max": 0.200471166,
      "trials": [
        0.188720708,
        0.200471166,
        0.188610125,
        0.185241042,
        0.189742166
      ]
    },
    "previous": {
      "unit": "seconds",
      "median": 0.261994209,
      "min": 0.256899042,
      "max": 0.264275209,
      "trials": [
        0.262436833,
        0.260594791,
        0.264275209,
        0.261994209,
        0.256899042
      ]
    },
    "native": {
      "unit": "seconds",
      "median": 0.132957834,
      "min": 0.129006042,
      "max": 0.147994792,
      "trials": [
        0.147994792,
        0.130163417,
        0.133408167,
        0.129006042,
        0.132957834
      ]
    }
  }
}
