frameworks/Rust/hotaru/README_SUBMISSION.md
This directory contains the TechEmpower Framework Benchmarks submission for Hotaru.
benchmark_config.json - Main benchmark configuration (updated to R23 schema)hotaru.dockerfile - Multi-stage Docker build for the benchmarkCargo.toml - Rust dependencies and project configsrc/ - Source code with all benchmark endpointstemplates/ - Templates for the fortunes testsetup.py - Minimal helper (not used by current toolset)/json - JSON serialization test/plaintext - Plaintext response test/db - Single database query/queries?queries=N - Multiple database queries (1-500)/updates?queries=N - Multiple database updates (1-500)/cached-worlds?count=N - Cached query test (1-500)/fortunes - Fortune cookie test with HTML rendering/app/serverdockerfile and docker_cmd are supported by the toolset (see toolset/utils/docker_helper.py).cached_query_url is the correct key for cached queries (see toolset/test_types/cached-query/cached-query.py).?queries= (standard TFB convention)?count= (matches implementation in src/main.rs)frameworks/Rust/hotaru/benchmark.cfg in TFB root:
client_host=localhost
client_identity_file=/Users/yourusername/.ssh/id_rsa
client_user=yourusername
database_host=localhost
database_identity_file=/Users/yourusername/.ssh/id_rsa
database_user=yourusername
server_host=localhost
./toolset/run-tests.py --mode verify --test hotaru
The Dockerfile sets:
DATABASE_URL=postgres://benchmarkdbuser:benchmarkdbpass@tfb-database/hello_worldDB_POOL_SIZE=56These match TFB's standard database configuration.