flybrain/services/flysim/crates/flybrain-core/src
acamilo fa8c9305a7 PERF-01: spikes gathered per tick, 1 Hz session snapshots, fewer copies
- flybrain-core: LifNetwork::tick_spikes, the last CPU tick's spike list
  (None under the GPU backend); a test proves it is exactly the neurons the
  tick stamped and that window unions equal the last_spike_ms scan.
- legacy agent: Prepare runs its ticks one at a time and ORs each tick's list
  into the transition's bitset; Commit uses it instead of scanning 139,255
  last-spike times (falls back to the scan when no list is kept).
- legacy composition: a service session publishes its committed snapshot
  every 60th boundary (plus every boundary with events or boundary actions);
  nothing in the release subscribes, and each publication seals copies of
  the frame and the audio.
- coordinator: a single dispatch job is called in place; worker shell moves
  the reply result instead of cloning it; publication promotions begin when
  Advance answers whatever the cadence.
- profile: record() for a sample from another clock; finer spans (shell,
  local lane, handlers, advance parse/build, the brain's phase clock).
2026-09-30 02:15:25 +00:00
..
decoder flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
lif flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
agent.rs flysim: every harness runs the legacy frame: the trap hunt, the benches, the ROM tests' and the probe's stub drivers 2026-09-23 20:15:20 +00:00
bitset.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
dataset.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
decoder.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
envelope.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
error.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
jsmath.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
json.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
lib.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
lif.rs PERF-01: spikes gathered per tick, 1 Hz session snapshots, fewer copies 2026-09-30 02:15:25 +00:00
ordered.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
plasticity.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
pool.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
retina.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
rng.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
version.rs flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00