Rename limbo_stress to turso_stress

This commit is contained in:
Pekka Enberg 2025-07-04 12:53:58 +03:00
parent 6e79a11dc7
commit b9bba101d4
6 changed files with 27 additions and 27 deletions

View file

@ -48,6 +48,6 @@ jobs:
- name: Build
run: cargo build --verbose
- name: Run ignored long tests
run: cargo run -p limbo_stress -- -t 1 -i 10000 -s
run: cargo run -p turso_stress -- -t 1 -i 10000 -s
env:
RUST_BACKTRACE: 1

32
Cargo.lock generated
View file

@ -1991,22 +1991,6 @@ dependencies = [
"cc",
]
[[package]]
name = "limbo_stress"
version = "0.1.1"
dependencies = [
"anarchist-readable-name-generator-lib",
"antithesis_sdk",
"clap",
"hex",
"tempfile",
"tokio",
"tracing",
"tracing-appender",
"tracing-subscriber",
"turso",
]
[[package]]
name = "linked-hash-map"
version = "0.5.6"
@ -3986,6 +3970,22 @@ dependencies = [
"uncased",
]
[[package]]
name = "turso_stress"
version = "0.1.1"
dependencies = [
"anarchist-readable-name-generator-lib",
"antithesis_sdk",
"clap",
"hex",
"tempfile",
"tokio",
"tracing",
"tracing-appender",
"tracing-subscriber",
"turso",
]
[[package]]
name = "typenum"
version = "1.18.0"

View file

@ -28,7 +28,7 @@ COPY ./tests ./tests/
COPY ./stress ./stress/
COPY ./vendored ./vendored/
COPY ./testing/sqlite_test_ext ./testing/sqlite_test_ext/
RUN cargo chef prepare --bin limbo_stress --recipe-path recipe.json
RUN cargo chef prepare --bin turso_stress --recipe-path recipe.json
#
# Build the project.
@ -45,7 +45,7 @@ RUN pip install maturin
COPY stress/libvoidstar.so /opt/antithesis/libvoidstar.so
COPY --from=planner /app/recipe.json recipe.json
RUN cargo chef cook --bin limbo_stress --release --recipe-path recipe.json
RUN cargo chef cook --bin turso_stress --release --recipe-path recipe.json
COPY --from=planner /app/Cargo.toml ./Cargo.toml
COPY --from=planner /app/cli ./cli/
COPY --from=planner /app/core ./core/
@ -71,9 +71,9 @@ COPY --from=planner /app/testing/sqlite_test_ext ./testing/sqlite_test_ext/
RUN if [ "$antithesis" = "true" ]; then \
cp /opt/antithesis/libvoidstar.so /usr/lib/libvoidstar.so && \
export RUSTFLAGS="-Ccodegen-units=1 -Cpasses=sancov-module -Cllvm-args=-sanitizer-coverage-level=3 -Cllvm-args=-sanitizer-coverage-trace-pc-guard -Clink-args=-Wl,--build-id -L/usr/lib/ -lvoidstar" && \
cargo build --bin limbo_stress --features antithesis --profile antithesis; \
cargo build --bin turso_stress --features antithesis --profile antithesis; \
else \
cargo build --bin limbo_stress --release; \
cargo build --bin turso_stress --release; \
fi
WORKDIR /app/bindings/python
@ -90,8 +90,8 @@ RUN pip install antithesis
WORKDIR /app
EXPOSE 8080
COPY --from=builder /usr/lib/libvoidstar.so* /usr/lib/
COPY --from=builder /app/target/antithesis/limbo_stress /bin/limbo_stress
COPY --from=builder /app/target/antithesis/limbo_stress /symbols
COPY --from=builder /app/target/antithesis/turso_stress /bin/turso_stress
COPY --from=builder /app/target/antithesis/turso_stress /symbols
COPY stress/docker-entrypoint.sh /bin
RUN chmod +x /bin/docker-entrypoint.sh

View file

@ -1,3 +1,3 @@
#!/usr/bin/env bash
/bin/limbo_stress --silent --nr-iterations 10000
/bin/turso_stress --silent --nr-iterations 10000

View file

@ -1,7 +1,7 @@
# Copyright 2025 the Limbo authors. All rights reserved. MIT license.
[package]
name = "limbo_stress"
name = "turso_stress"
version.workspace = true
authors.workspace = true
edition.workspace = true
@ -11,7 +11,7 @@ description = "The Limbo stress tester"
publish = false
[[bin]]
name = "limbo_stress"
name = "turso_stress"
path = "main.rs"
[features]

View file

@ -1,7 +1,7 @@
use clap::{command, Parser};
#[derive(Parser)]
#[command(name = "limbo_stress")]
#[command(name = "turso_stress")]
#[command(author, version, about, long_about = None)]
pub struct Opts {
/// Verbose mode