mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 04:24:21 +01:00
This is a new deterministic simulator for Turso that focuses on finding
concurrency bugs.
You can run whopper with:
```console
penberg@vonneumann turso % SEED=1234 ./whopper/bin/run
Compiling turso_whopper v0.1.5-pre.3 (/Users/penberg/src/tursodatabase/turso/whopper)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.22s
seed = 1234
. I/U/D/C
. 44/19/11/2
. 68/33/21/2
| 104/51/29/3
| 121/69/41/3
╱|╲ 150/84/51/3
╱╲|╱╲ 184/97/59/3
╱╲╱|╲╱╲ 199/105/64/4
╱╲╱╲|╱╲╱╲ 206/115/69/5
╱╲╱╲╱|╲╱╲╱╲ 234/138/82/6
╱╲╱╲╱╲|╱╲╱╲╱╲ 269/164/91/7
```
11 lines
204 B
Bash
Executable File
11 lines
204 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cargo build -p turso_whopper
|
|
|
|
echo "Running Whopper in an infinite loop in 'chaos' mode..."
|
|
while true; do
|
|
time RUST_BACKTRACE=full ./target/debug/turso_whopper --mode chaos
|
|
done
|