Files
Zeke Foppa b9d30991f1 Fix remaining LICENSE files (#3193)
# Description of Changes

Apparently, I missed several license files in #3002. I'm not sure what
method I was using to find them, but apparently it was insufficient.

**This replaces all empty `LICENSE` files with an explicit (symlink to)
BSL license, and all apache licenses with symlinks to the root apache
license.** This PR does not intentionally change any license terms, so
if you see one that changed, **it's a mistake**.

# API and ABI breaking changes

None

# Expected complexity level and risk

1

# Testing

```bash
$ find . -name '*LICENSE*' -type f | grep -v '\.meta$'
./crates/sqltest/standards/LICENSE # this one is an external library that we are not allowed to re-license
./LICENSE.txt # this is the root license
```

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-08-22 19:36:47 +00:00
..
2023-08-01 23:16:37 +02:00
2025-02-28 14:32:59 +00:00
2023-08-01 23:16:37 +02:00
2025-08-22 19:36:47 +00:00

benchmarks Rust Modules

This provides the various modules used for benchmarking SpacetimeDB, with the crate bench.

Note: Also mirrored as a C# version at modules/benchmarks-cs, so must be kept in sync.

Benchmarks

circles.rs

Implements a smaller variation of the Blackholio game.

Circles are spawned and then queried to evaluate CROSS JOIN performance.

ia_loop.rs

Implements a simplified version of the ia loop from BitCraft.

This benchmark spawns a large number of entities in a world and queries them to measure UPDATE performance, running a single loop of the enemy AI.

synthetic.rs

Contains various synthetic benchmarks designed to test database performance. These benchmarks involve tables with different type combinations and evaluate INSERT, UPDATE, DELETE, and SELECT operations in both simple and bulk scenarios.

How to Run

For detailed instructions on running the benchmarks, refer to the benchmarks README.