mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
Rename Limbo to Turso Database
This commit is contained in:
parent
d5b06b96ef
commit
018b17b6f2
8 changed files with 29 additions and 29 deletions
|
@ -13,9 +13,9 @@ if ! command -v sqlite3 >/dev/null 2>&1; then
|
|||
fi
|
||||
|
||||
# Build Limbo in release mode if it's not already built
|
||||
if [ ! -f "$RELEASE_BUILD_DIR/limbo" ]; then
|
||||
if [ ! -f "$RELEASE_BUILD_DIR/tursodb" ]; then
|
||||
echo "Building Limbo..."
|
||||
cargo build --bin limbo --release
|
||||
cargo build --bin tursodb --release
|
||||
fi
|
||||
|
||||
# Clean up any existing DB
|
||||
|
@ -23,7 +23,7 @@ rm "$CLICKBENCH_DIR/mydb"* || true
|
|||
|
||||
# Create DB using Limbo
|
||||
echo "Creating DB..."
|
||||
"$RELEASE_BUILD_DIR/limbo" --quiet "$CLICKBENCH_DIR/mydb" < "$CLICKBENCH_DIR/create.sql"
|
||||
"$RELEASE_BUILD_DIR/tursodb" --quiet "$CLICKBENCH_DIR/mydb" < "$CLICKBENCH_DIR/create.sql"
|
||||
|
||||
# Download a subset of the clickbench dataset if it doesn't exist
|
||||
NUM_ROWS=1000000
|
||||
|
|
|
@ -13,9 +13,9 @@ if ! command -v sqlite3 >/dev/null 2>&1; then
|
|||
fi
|
||||
|
||||
# Build Limbo in release mode if it's not already built
|
||||
if [ ! -f "$RELEASE_BUILD_DIR/limbo" ]; then
|
||||
if [ ! -f "$RELEASE_BUILD_DIR/tursodb" ]; then
|
||||
echo "Building Limbo..."
|
||||
cargo build --bin limbo --release
|
||||
cargo build --bin tursodb --release
|
||||
fi
|
||||
|
||||
# Download the TPC-H database if it doesn't exist
|
||||
|
@ -36,4 +36,4 @@ fi
|
|||
|
||||
# Run the benchmark
|
||||
echo "Running TPC-H benchmark..."
|
||||
"$TPCH_DIR/run.sh"
|
||||
"$TPCH_DIR/run.sh"
|
||||
|
|
|
@ -6,7 +6,7 @@ RELEASE_BUILD_DIR="$REPO_ROOT/target/release"
|
|||
TPCH_DIR="$REPO_ROOT/perf/tpc-h"
|
||||
DB_FILE="$TPCH_DIR/TPC-H.db"
|
||||
QUERIES_DIR="$TPCH_DIR/queries"
|
||||
LIMBO_BIN="$RELEASE_BUILD_DIR/limbo"
|
||||
LIMBO_BIN="$RELEASE_BUILD_DIR/tursodb"
|
||||
SQLITE_BIN="sqlite3" # Assuming sqlite3 is in PATH
|
||||
|
||||
# Function to clear system caches based on OS
|
||||
|
@ -27,7 +27,7 @@ clear_caches() {
|
|||
# Ensure the Limbo binary exists
|
||||
if [ ! -f "$LIMBO_BIN" ]; then
|
||||
echo "Error: Limbo binary not found at $LIMBO_BIN"
|
||||
echo "Please build Limbo first (e.g., by running benchmark.sh or 'cargo build --bin limbo --release')"
|
||||
echo "Please build Limbo first (e.g., by running benchmark.sh or 'cargo build --bin tursodb --release')"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue