{
  "status": "requested_regressions_fixed",
  "generated_at_utc": "2026-11-14T14:30:28.338357+00:00",
  "candidate_version": "0.2.3",
  "baseline_version": "0.2.2",
  "full_execution_median_and_p95_improved_in_both_pairs": true,
  "safe_to_publish_blanket_all_workloads_faster_claim": false,
  "website_modified": false,
  "published_reference_url": "https://algoquantstudio.com/benchmarks/2026-11-02-optimized/report.json",
  "baseline_source_exactly_matches_published_report": true,
  "baseline_source_sha256": "87d276a79eb331783e4e3926c77c6cb2d6ed4da0ffa353ffeab242f1b692995d",
  "candidate_source_sha256": "c1b6bc206e62f9bc9b2afb2ea9506b8c155329eddda3a782f6f0f820ab44a345",
  "correctness": {
    "command": "cargo test -p aq-engine --features node,runtime,tui --lib --locked --offline -- --test-threads=1 --skip test_yahoo_connection --skip test_yahoo_ticker_info --skip test_yahoo_history",
    "passed": 1190,
    "failed": 0,
    "ignored": 34,
    "filtered": 3,
    "rust_min_stack": 33554432,
    "log": "[local path omitted]",
    "log_sha256": "0b6629c5b0ec38b13e0dfd8ea92d1cfd38a3cbf1608608e52db479cc135336df",
    "source_sha256": "c1b6bc206e62f9bc9b2afb2ea9506b8c155329eddda3a782f6f0f820ab44a345"
  },
  "lifecycle_economic_and_journal_outcomes_equal": true,
  "valid_measured_processes": 18,
  "compiler_interference_in_accepted_runs": false,
  "methodology": {
    "micro": "Five alternating version pairs; 3 warmups and 15 measured samples per run.",
    "companions": "Two alternating version pairs each; execution uses 3 warmups/15 samples, lifecycle uses 1 warmup/7 samples.",
    "aggregation": "For each workload, select the slowest run median and retain that same run’s p95, throughput, raw samples, bar counts and latency summaries. Peak RSS is the maximum across all runs for that variant.",
    "p95": "Observed sample quantile at sorted index ceil((n-1)*0.95), not a population confidence bound.",
    "same_workload_sources": true,
    "same_release_profile_features_toolchain_host_and_thread_settings": true,
    "dependency_lockfiles_equal": false,
    "dependency_note": "Complete releases include dependency changes; this comparison does not isolate a single edit.",
    "baseline_binary_note": "Exact published source reconstructed and rebuilt; the original published executable was unavailable. Embedded source export paths affect binary hashes.",
    "cpu_and_memory_scope": "Whole benchmark process, including warmups, controls and teardown; not isolated per-order resource usage.",
    "offline_live_scope": "Offline deterministic live-style fixture with an unchanged 5 s sweep interval that creates an approximate scheduling floor; not network or venue latency. Actual processed bar counts can differ because the fixture stops after completion; raw reports retain those counts.",
    "pooled_latency_evidence": "Pooled counts and percentile ordering verified. The unchanged fixture emits percentile summaries, not raw per-order latency samples; these percentiles cannot be independently recalculated here."
  },
  "new_changes": [
    "Render entry price once and reuse the numeric text in both required history and pipe-confirmation messages; preserve public setters, current DataFrame reads, validation and timestamps.",
    "Reuse compiled programs for four fixed command SQL statements after the original deferred-transaction cleanup hook, preserving SQL, bindings, FULL durability and recovery."
  ],
  "retained_changes": [
    "Direct TTL history formatting without temporary Strings.",
    "Validated read-first replay of already-durable commands without duplicate AUTOINCREMENT writes.",
    "Per-ID capacity rechecks within bounded backtest continuation pages.",
    "Cached compilation for nine fixed checkpoint SQL statements, with unchanged transactions and FULL durability.",
    "Adaptive PaperBroker FIFO and indexed multi-symbol routing.",
    "Bounded Polars history compaction with DataFrames, custom schema/nulls and copy-on-write snapshots retained.",
    "Bounded continuation discovery/pages and worker-lane readiness."
  ],
  "results": [
    {
      "suite": "execution",
      "id": "execution_backtest",
      "operations_per_sample": 5000,
      "throughput_unit": "orders/s",
      "baseline_selected_run": 2,
      "candidate_selected_run": 2,
      "baseline_median_ms": 4199.417792,
      "candidate_median_ms": 3097.7460410000003,
      "baseline_p95_ms": 4297.744541,
      "candidate_p95_ms": 3199.922625,
      "baseline_throughput": 1190.6412382985875,
      "candidate_throughput": 1614.0767944895583,
      "elapsed_change_percent": -26.23391635618426,
      "p95_change_percent": -25.544140781912517,
      "throughput_change_percent": 35.563656168675564,
      "paired_changes": [
        {
          "pair": 1,
          "elapsed_change_percent": -26.845546187814627,
          "p95_change_percent": -25.375578541181387,
          "throughput_change_percent": 36.69707692266711
        },
        {
          "pair": 2,
          "elapsed_change_percent": -26.23391635618426,
          "p95_change_percent": -25.544140781912517,
          "throughput_change_percent": 35.563656168675564
        }
      ]
    },
    {
      "suite": "lifecycle",
      "id": "backtest_close",
      "operations_per_sample": 1000,
      "throughput_unit": "complete trades/s",
      "baseline_selected_run": 2,
      "candidate_selected_run": 2,
      "baseline_median_ms": 1323.1701659999999,
      "candidate_median_ms": 911.314167,
      "baseline_p95_ms": 1336.820667,
      "candidate_p95_ms": 996.370042,
      "baseline_throughput": 755.7606917808938,
      "candidate_throughput": 1097.3164208474332,
      "elapsed_change_percent": -31.1264574718351,
      "p95_change_percent": -25.467187439884185,
      "throughput_change_percent": 45.19363507272238,
      "pooled_latencies_from_selected_runs": {
        "baseline": {
          "entry_to_broker_fill": {
            "count": 7000,
            "p50_ms": 560.134833,
            "p95_ms": 576.247666,
            "p99_ms": 576.694292
          },
          "explicit_close_to_broker_exit": {
            "count": 7000,
            "p50_ms": 479.569916,
            "p95_ms": 499.75849999999997,
            "p99_ms": 499.81425
          }
        },
        "candidate": {
          "entry_to_broker_fill": {
            "count": 7000,
            "p50_ms": 427.543667,
            "p95_ms": 456.091209,
            "p99_ms": 456.545166
          },
          "explicit_close_to_broker_exit": {
            "count": 7000,
            "p50_ms": 300.819458,
            "p95_ms": 367.722875,
            "p99_ms": 367.95966699999997
          }
        }
      },
      "processed_bars_from_selected_runs": {
        "baseline": [
          8,
          8,
          8,
          8,
          8,
          8,
          8
        ],
        "candidate": [
          8,
          8,
          8,
          8,
          8,
          8,
          8
        ]
      },
      "paired_changes": [
        {
          "pair": 1,
          "elapsed_change_percent": -32.893192906591004,
          "p95_change_percent": -30.384242207346702,
          "throughput_change_percent": 49.01617932858211,
          "pooled_latencies": {
            "baseline": {
              "entry_to_broker_fill": {
                "count": 7000,
                "p50_ms": 550.879083,
                "p95_ms": 591.520833,
                "p99_ms": 591.948791
              },
              "explicit_close_to_broker_exit": {
                "count": 7000,
                "p50_ms": 475.0325,
                "p95_ms": 513.8050830000001,
                "p99_ms": 513.8605
              }
            },
            "candidate": {
              "entry_to_broker_fill": {
                "count": 7000,
                "p50_ms": 415.971833,
                "p95_ms": 449.09920800000003,
                "p99_ms": 449.511584
              },
              "explicit_close_to_broker_exit": {
                "count": 7000,
                "p50_ms": 288.025083,
                "p95_ms": 308.2065,
                "p99_ms": 308.500375
              }
            }
          },
          "processed_bars": {
            "baseline": [
              8,
              8,
              8,
              8,
              8,
              8,
              8
            ],
            "candidate": [
              8,
              8,
              8,
              8,
              8,
              8,
              8
            ]
          }
        },
        {
          "pair": 2,
          "elapsed_change_percent": -31.1264574718351,
          "p95_change_percent": -25.467187439884185,
          "throughput_change_percent": 45.19363507272238,
          "pooled_latencies": {
            "baseline": {
              "entry_to_broker_fill": {
                "count": 7000,
                "p50_ms": 560.134833,
                "p95_ms": 576.247666,
                "p99_ms": 576.694292
              },
              "explicit_close_to_broker_exit": {
                "count": 7000,
                "p50_ms": 479.569916,
                "p95_ms": 499.75849999999997,
                "p99_ms": 499.81425
              }
            },
            "candidate": {
              "entry_to_broker_fill": {
                "count": 7000,
                "p50_ms": 427.543667,
                "p95_ms": 456.091209,
                "p99_ms": 456.545166
              },
              "explicit_close_to_broker_exit": {
                "count": 7000,
                "p50_ms": 300.819458,
                "p95_ms": 367.722875,
                "p99_ms": 367.95966699999997
              }
            }
          },
          "processed_bars": {
            "baseline": [
              8,
              8,
              8,
              8,
              8,
              8,
              8
            ],
            "candidate": [
              8,
              8,
              8,
              8,
              8,
              8,
              8
            ]
          }
        }
      ]
    },
    {
      "suite": "lifecycle",
      "id": "live_close",
      "operations_per_sample": 1000,
      "throughput_unit": "complete trades/s",
      "baseline_selected_run": 2,
      "candidate_selected_run": 1,
      "baseline_median_ms": 5452.261458,
      "candidate_median_ms": 5344.190624999999,
      "baseline_p95_ms": 5516.808209,
      "candidate_p95_ms": 5408.477333000001,
      "baseline_throughput": 183.41013315359612,
      "candidate_throughput": 187.11907380736443,
      "elapsed_change_percent": -1.982128587055021,
      "p95_change_percent": -1.963651297923874,
      "throughput_change_percent": 2.0222114176550177,
      "pooled_latencies_from_selected_runs": {
        "baseline": {
          "entry_to_broker_fill": {
            "count": 7000,
            "p50_ms": 448.62075,
            "p95_ms": 755.469667,
            "p99_ms": 792.253416
          },
          "explicit_close_to_broker_exit": {
            "count": 7000,
            "p50_ms": 143.12254099999998,
            "p95_ms": 298.40225,
            "p99_ms": 315.87125
          }
        },
        "candidate": {
          "entry_to_broker_fill": {
            "count": 7000,
            "p50_ms": 266.32058400000005,
            "p95_ms": 474.671667,
            "p99_ms": 492.83337500000005
          },
          "explicit_close_to_broker_exit": {
            "count": 7000,
            "p50_ms": 137.642875,
            "p95_ms": 244.79695800000002,
            "p99_ms": 253.57295800000003
          }
        }
      },
      "processed_bars_from_selected_runs": {
        "baseline": [
          2037,
          2039,
          2044,
          2041,
          2039,
          2045,
          2043
        ],
        "candidate": [
          2082,
          2082,
          2082,
          2088,
          2086,
          2088,
          2083
        ]
      },
      "paired_changes": [
        {
          "pair": 1,
          "elapsed_change_percent": -1.9699907992377863,
          "p95_change_percent": -1.7283025469097102,
          "throughput_change_percent": 2.0095793270847206,
          "pooled_latencies": {
            "baseline": {
              "entry_to_broker_fill": {
                "count": 7000,
                "p50_ms": 445.4285,
                "p95_ms": 750.851542,
                "p99_ms": 798.130416
              },
              "explicit_close_to_broker_exit": {
                "count": 7000,
                "p50_ms": 138.61100000000002,
                "p95_ms": 295.416,
                "p99_ms": 310.952292
              }
            },
            "candidate": {
              "entry_to_broker_fill": {
                "count": 7000,
                "p50_ms": 266.32058400000005,
                "p95_ms": 474.671667,
                "p99_ms": 492.83337500000005
              },
              "explicit_close_to_broker_exit": {
                "count": 7000,
                "p50_ms": 137.642875,
                "p95_ms": 244.79695800000002,
                "p99_ms": 253.57295800000003
              }
            }
          },
          "processed_bars": {
            "baseline": [
              2032,
              2041,
              2037,
              2029,
              2037,
              2030,
              2030
            ],
            "candidate": [
              2082,
              2082,
              2082,
              2088,
              2086,
              2088,
              2083
            ]
          }
        },
        {
          "pair": 2,
          "elapsed_change_percent": -2.005356710096362,
          "p95_change_percent": -3.078552444925131,
          "throughput_change_percent": 2.046394213777347,
          "pooled_latencies": {
            "baseline": {
              "entry_to_broker_fill": {
                "count": 7000,
                "p50_ms": 448.62075,
                "p95_ms": 755.469667,
                "p99_ms": 792.253416
              },
              "explicit_close_to_broker_exit": {
                "count": 7000,
                "p50_ms": 143.12254099999998,
                "p95_ms": 298.40225,
                "p99_ms": 315.87125
              }
            },
            "candidate": {
              "entry_to_broker_fill": {
                "count": 7000,
                "p50_ms": 267.891667,
                "p95_ms": 477.694875,
                "p99_ms": 497.107084
              },
              "explicit_close_to_broker_exit": {
                "count": 7000,
                "p50_ms": 138.018,
                "p95_ms": 243.26287499999998,
                "p99_ms": 254.15020900000002
              }
            }
          },
          "processed_bars": {
            "baseline": [
              2037,
              2039,
              2044,
              2041,
              2039,
              2045,
              2043
            ],
            "candidate": [
              2085,
              2086,
              2090,
              2086,
              2095,
              2086,
              2089
            ]
          }
        }
      ]
    },
    {
      "suite": "lifecycle",
      "id": "backtest_bars",
      "operations_per_sample": 10000,
      "throughput_unit": "bars/s",
      "baseline_selected_run": 2,
      "candidate_selected_run": 1,
      "baseline_median_ms": 1100.371083,
      "candidate_median_ms": 227.413083,
      "baseline_p95_ms": 1117.12875,
      "candidate_p95_ms": 231.012792,
      "baseline_throughput": 9087.843323487265,
      "candidate_throughput": 43972.84390186118,
      "elapsed_change_percent": -79.33305531984796,
      "p95_change_percent": -79.32084444160981,
      "throughput_change_percent": 383.86445866880933,
      "pooled_latencies_from_selected_runs": {
        "baseline": {
          "entry_to_broker_fill": {
            "count": 0,
            "p50_ms": null,
            "p95_ms": null,
            "p99_ms": null
          },
          "explicit_close_to_broker_exit": {
            "count": 0,
            "p50_ms": null,
            "p95_ms": null,
            "p99_ms": null
          }
        },
        "candidate": {
          "entry_to_broker_fill": {
            "count": 0,
            "p50_ms": null,
            "p95_ms": null,
            "p99_ms": null
          },
          "explicit_close_to_broker_exit": {
            "count": 0,
            "p50_ms": null,
            "p95_ms": null,
            "p99_ms": null
          }
        }
      },
      "processed_bars_from_selected_runs": {
        "baseline": [
          10000,
          10000,
          10000,
          10000,
          10000,
          10000,
          10000
        ],
        "candidate": [
          10000,
          10000,
          10000,
          10000,
          10000,
          10000,
          10000
        ]
      },
      "paired_changes": [
        {
          "pair": 1,
          "elapsed_change_percent": -79.1769707491123,
          "p95_change_percent": -79.01326388844116,
          "throughput_change_percent": 380.237523537729,
          "pooled_latencies": {
            "baseline": {
              "entry_to_broker_fill": {
                "count": 0,
                "p50_ms": null,
                "p95_ms": null,
                "p99_ms": null
              },
              "explicit_close_to_broker_exit": {
                "count": 0,
                "p50_ms": null,
                "p95_ms": null,
                "p99_ms": null
              }
            },
            "candidate": {
              "entry_to_broker_fill": {
                "count": 0,
                "p50_ms": null,
                "p95_ms": null,
                "p99_ms": null
              },
              "explicit_close_to_broker_exit": {
                "count": 0,
                "p50_ms": null,
                "p95_ms": null,
                "p99_ms": null
              }
            }
          },
          "processed_bars": {
            "baseline": [
              10000,
              10000,
              10000,
              10000,
              10000,
              10000,
              10000
            ],
            "candidate": [
              10000,
              10000,
              10000,
              10000,
              10000,
              10000,
              10000
            ]
          }
        },
        {
          "pair": 2,
          "elapsed_change_percent": -79.36569585407763,
          "p95_change_percent": -79.59921432511696,
          "throughput_change_percent": 384.6298634197527,
          "pooled_latencies": {
            "baseline": {
              "entry_to_broker_fill": {
                "count": 0,
                "p50_ms": null,
                "p95_ms": null,
                "p99_ms": null
              },
              "explicit_close_to_broker_exit": {
                "count": 0,
                "p50_ms": null,
                "p95_ms": null,
                "p99_ms": null
              }
            },
            "candidate": {
              "entry_to_broker_fill": {
                "count": 0,
                "p50_ms": null,
                "p95_ms": null,
                "p99_ms": null
              },
              "explicit_close_to_broker_exit": {
                "count": 0,
                "p50_ms": null,
                "p95_ms": null,
                "p99_ms": null
              }
            }
          },
          "processed_bars": {
            "baseline": [
              10000,
              10000,
              10000,
              10000,
              10000,
              10000,
              10000
            ],
            "candidate": [
              10000,
              10000,
              10000,
              10000,
              10000,
              10000,
              10000
            ]
          }
        }
      ]
    },
    {
      "suite": "micro",
      "id": "indicator_batch",
      "baseline_median_ms": 8.829625,
      "candidate_median_ms": 8.839208,
      "baseline_p95_ms": 9.013416,
      "candidate_p95_ms": 9.280583,
      "baseline_throughput": 28313773.234990157,
      "candidate_throughput": 28283076.94535529,
      "throughput_change_percent": -0.10841469054690966,
      "elapsed_change_percent": 0.10853235556436136,
      "p95_change_percent": 2.964103731592993,
      "paired_median_change_percent": [
        0.4346117774905789,
        0.20695867134556956,
        -0.7145324039131706,
        -0.4563274204737011,
        -0.2097102980276544
      ]
    },
    {
      "suite": "micro",
      "id": "insight_pipeline",
      "baseline_median_ms": 6.171708,
      "candidate_median_ms": 5.754917,
      "baseline_p95_ms": 6.32725,
      "candidate_p95_ms": 5.931334,
      "baseline_throughput": 9721782.041535342,
      "candidate_throughput": 10425867.132401736,
      "throughput_change_percent": 7.24234597996809,
      "elapsed_change_percent": -6.753252098122598,
      "p95_change_percent": -6.257315579438149,
      "paired_median_change_percent": [
        -5.501793341055361,
        -7.813450692844349,
        -4.073381337894766,
        -8.510593825890655,
        -8.275984107463074
      ]
    },
    {
      "suite": "micro",
      "id": "paper_broker",
      "baseline_median_ms": 7.328792,
      "candidate_median_ms": 7.089792,
      "baseline_p95_ms": 7.583167,
      "candidate_p95_ms": 7.793083,
      "baseline_throughput": 682240.6748615598,
      "candidate_throughput": 705239.3074437162,
      "throughput_change_percent": 3.3710438895809602,
      "elapsed_change_percent": -3.261110425838254,
      "p95_change_percent": 2.768183794448942,
      "paired_median_change_percent": [
        -6.09899741813037,
        0.3089152482230295,
        -6.283317848864522,
        -7.147044151341708,
        -5.241457008570638
      ]
    }
  ],
  "resources": {
    "execution": {
      "baseline": {
        "peak_rss_bytes": 317030400,
        "total_process_user_seconds": 209.71,
        "total_process_system_seconds": 22.32,
        "total_process_real_seconds": 152.26999999999998
      },
      "candidate": {
        "peak_rss_bytes": 289308672,
        "total_process_user_seconds": 132.5,
        "total_process_system_seconds": 22.04,
        "total_process_real_seconds": 112.05
      },
      "peak_rss_change_percent": -8.744186046511626,
      "total_cpu_seconds_change_percent": -33.39654355040297
    },
    "lifecycle": {
      "baseline": {
        "peak_rss_bytes": 204095488,
        "total_process_user_seconds": 57.2,
        "total_process_system_seconds": 12.42,
        "total_process_real_seconds": 125.89
      },
      "candidate": {
        "peak_rss_bytes": 195117056,
        "total_process_user_seconds": 26.83,
        "total_process_system_seconds": 9.98,
        "total_process_real_seconds": 104.28
      },
      "peak_rss_change_percent": -4.399133017580481,
      "total_cpu_seconds_change_percent": -47.12726228095375
    },
    "micro": {
      "baseline": {
        "peak_rss_bytes": 128532480,
        "total_process_user_seconds": 2.86,
        "total_process_system_seconds": 0.1,
        "total_process_real_seconds": 3.02
      },
      "candidate": {
        "peak_rss_bytes": 123551744,
        "total_process_user_seconds": 2.79,
        "total_process_system_seconds": 0.1,
        "total_process_real_seconds": 3.3
      },
      "peak_rss_change_percent": -3.875079668578718,
      "total_cpu_seconds_change_percent": -2.3648648648648574
    }
  },
  "insight_pipeline_median_improved_in_all_pairs": true,
  "live_close_p50_and_p95_improved_in_both_pairs": true,
  "live_close_percentile_paired_changes": [
    {
      "pair": 1,
      "p50_ms_change_percent": -0.6984474536653074,
      "p95_ms_change_percent": -17.134834267609055,
      "p99_ms_change_percent": -18.45277731543461
    },
    {
      "pair": 2,
      "p50_ms_change_percent": -3.56655280456486,
      "p95_ms_change_percent": -18.478203498800696,
      "p99_ms_change_percent": -19.53993628733225
    }
  ],
  "requested_regressions_fixed": true,
  "prior_candidate_source_sha256": "0ec6d371b3c8c9746c938c64f1b6cf89d909ee95fbe875fa2ff610a17be31aea",
  "all_companion_fixture_directories_cleaned": true,
  "remaining_limitations": [
    "Live close median gains are modest: report paired changes rather than implying a large typical-close improvement.",
    "Indicators remain approximately unchanged; isolated PaperBroker results remain mixed, so do not claim every workload or percentile is faster."
  ],
  "validation_note": "The final candidate passed the complete 1,190-test offline library suite plus focused regression checks; 34 ignored and 3 network tests excluded."
}
