mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
## Summary - Add a new `app-server-start-bench` crate to measure app-server startup performance - Wire the benchmark into the workspace and Bazel build so it can be run consistently - Update lockfiles and repo automation to account for the new package
21 lines
636 B
Python
21 lines
636 B
Python
load("//:defs.bzl", "codex_rust_crate", "workspace_root_test")
|
|
|
|
codex_rust_crate(
|
|
name = "app-server-start-bench",
|
|
crate_name = "codex_app_server_start_bench",
|
|
)
|
|
|
|
workspace_root_test(
|
|
name = "startup-bench",
|
|
# Include the Bazel-built CLI in this target's runfiles and expose its
|
|
# resolved executable path through the environment consumed by the runner.
|
|
runfile_env = {
|
|
"//codex-rs/cli:codex": "CODEX_BIN",
|
|
},
|
|
size = "large",
|
|
tags = ["manual"],
|
|
test_bin = ":codex-app-server-start-bench",
|
|
timeout = "long",
|
|
workspace_root_marker = "//codex-rs/utils/cargo-bin:repo_root.marker",
|
|
)
|