McRogueFace/tests
John McCardle fcc0376f31 feat: Add entity scale benchmark for #115 and #117
Benchmark suite measuring entity performance at scale:
- B1: Entity creation (measures allocation overhead)
- B2: Full iteration (measures cache locality)
- B3: Single range query (measures O(n) scan cost)
- B4: N×N visibility (the "what can everyone see" problem)
- B5: Movement churn (baseline for spatial index overhead)

Key findings at 2,000 entities on 100×100 grid:
- Creation: 75k entities/sec
- Range query: 0.05ms (O(n) - checks all entities)
- N×N visibility: 128ms total (O(n²))
- EntityCollection iteration 60× slower than direct iteration

Addresses #115, addresses #117

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-27 23:24:31 -05:00
..
benchmarks feat: Add entity scale benchmark for #115 and #117 2025-12-27 23:24:31 -05:00
demo docs: Update grid demo and regenerate API docs 2025-12-02 09:21:43 -05:00
geometry_demo fix: Refine geometry demos for 1024x768 and fix animations 2025-11-26 04:54:13 -05:00
integration Squashed commit of the following: [alpha_presentable] 2025-07-15 21:30:49 -04:00
notes feat: Exit on first Python callback exception (closes #133) 2025-11-26 10:26:30 -05:00
regression feat: Migrate Grid to user-driven layer rendering (closes #150) 2025-11-28 23:04:09 -05:00
unit feat: Add consistent Scene API with module-level properties (closes #151) 2025-12-22 22:15:03 -05:00
vllm_demo feat: Add TurnOrchestrator for multi-turn LLM simulation (addresses #156) 2025-12-14 12:53:48 -05:00
run_tests.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00