mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## Why Bazel-backed macrobenchmarks need stable local entrypoints that can grow without changing every caller. ## What - add a top-level `e2e-benchmarks` Bazel suite, initially containing the `codex --help` benchmark - add cross-platform `just bench-e2e` for direct optimized Bazel measurements - add cross-platform `just bench-e2e-smoke` for one direct fastbuild iteration through release-only Rust cfg paths ## Validation - `just --dry-run bench-e2e` - `just --dry-run bench-e2e-smoke` - `just bench-e2e-smoke` ## Stack 1. [#31295 bench: add codex help e2e macrobenchmark](https://github.com/openai/codex/pull/31295) 2. [#31428 bench: add e2e benchmark entrypoints](https://github.com/openai/codex/pull/31428) 3. [#31429 ci: smoke Bazel e2e benchmarks](https://github.com/openai/codex/pull/31429)
27 lines
442 B
Python
27 lines
442 B
Python
exports_files([
|
|
"clippy.toml",
|
|
])
|
|
|
|
filegroup(
|
|
name = "workspace-files",
|
|
srcs = glob(
|
|
[
|
|
"*",
|
|
".cargo/**",
|
|
],
|
|
exclude = [
|
|
"BUILD.bazel",
|
|
],
|
|
),
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
test_suite(
|
|
name = "e2e-benchmarks",
|
|
tags = ["manual"],
|
|
tests = [
|
|
"//codex-rs/cli:codex-help-bench",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|