Files
Noa e3582131fe Migrate to Rust 2024 (#3802)
# Description of Changes

It'd be best to review this commit-by-commit, and using
[difftastic](https://difftastic.wilfred.me.uk) to easily tell when
changes are minor in terms of syntax but a line based diff doesn't show
that.

# Expected complexity level and risk

3 - edition2024 does bring changes to drop order, which could cause
issues with locks, but I looked through [all of the warnings that
weren't fixed
automatically](https://gistcdn.githack.com/coolreader18/80485ae5c5f82de1784229cce2febb26/raw/ba80f3fecda66ceb34f4f7ad73b98ea02d4893a2/warnings.html)
and couldn't find any issues.

# Testing

n/a; internal code change
2026-03-03 11:06:52 +00:00
..
2026-03-03 11:06:52 +00:00
2025-02-11 22:05:32 +00:00
2025-02-28 14:32:59 +00:00
2025-08-22 19:36:47 +00:00

keynote-benchmarks Rust Benchmarks

Implementations of various benchmarks used for the Keynote presentation.

How to Run

  1. Create a new database, for example using run_standalone_temp.sh.
  2. Publish this module:
    # This will `DESTROY` the existing `keynote` database, so be careful! 
    spacetimedb-cli publish keynote -c -p crates/keynote-benchmarks
    
  3. Run the benchmarks:
    spacetimedb-cli call keynote update_positions_by_collect
    spacetimedb-cli call keynote roundtrip
    
  4. See the result:
    # After running the `publish` to see the results of `init` 
    # and any of the above commands:
    spacetimedb-cli logs keynote