You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Improve local stats noise floor tooling
* Simplify local stats chart controls
* Add local stats screenshot
* Add local stats reading request to chart
* Move local stats request to action bar
* Compact local stats action labels
* Simplify local stats chart presentation
* Fix local stats chart axis clipping
* Fix local stats chart time label clipping
* Add copy actions to local stats fields
<h3>Example: seed local stats for noise-floor chart work</h3>
274
+
<p>Use a smaller node count and a larger local stats history when tuning the Local Stats Log UI. This keeps the simulator responsive while giving the chart enough variation to show quiet periods, busy periods, and occasional interference spikes.</p>
<p><code>--meshtastic-perf-start-local-stats</code> selects seeded node <code>0x0A000000</code> and opens its Local Stats Log directly in DEBUG simulator builds.</p>
286
+
<p>Add <code>--meshtastic-perf-local-stats-same-hour</code> when checking short-range noise-floor chart layout. It keeps local stats samples in the same hour at 5-minute intervals, which makes <code>1h</code> axis label clipping easy to reproduce.</p>
268
287
<p>On subsequent launches <strong>without</strong><code>MESHTASTIC_PERF_RESET_STORE</code>, the harness detects the existing node count and skips re-seeding, so the app starts at full speed against the already-seeded store.</p>
269
288
<h3>What to expect</h3>
270
-
<p>5 000 nodes (3 telemetry samples/type, 3 positions/node) seed in approximately <strong>12 seconds</strong> on an Apple Silicon Mac. The app navigates automatically to the Nodes tab. Typical idle CPU after seeding is under 2%.</p>
289
+
<p>5 000 nodes (3 device/environment telemetry samples, 3 local stats samples, 3 positions/node) seed in approximately <strong>12 seconds</strong> on an Apple Silicon Mac. The app navigates automatically to the Nodes tab. Typical idle CPU after seeding is under 2%.</p>
271
290
<blockquote>
272
291
<p><strong>Tip — Checking seed progress</strong>
273
292
Seed log lines are emitted at <code>Info</code> level under the <code>🗄️ Data</code> OSLog category. To stream them:</p>
Copy file name to clipboardExpand all lines: Meshtastic/Resources/docs/markdown/developer/swiftdata.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,6 +189,7 @@ Pass variables to the simulator using the `SIMCTL_CHILD_` prefix (the prefix is
189
189
|----------|---------|-------------|
190
190
|`MESHTASTIC_PERF_SEED_NODES`| — |**Required to activate.** Number of nodes to seed (e.g. `5000`). |
191
191
|`MESHTASTIC_PERF_TELEMETRY_HISTORY`|`3`| Device + environment metric samples per node. |
192
+
|`MESHTASTIC_PERF_LOCAL_STATS_HISTORY`|`MESHTASTIC_PERF_TELEMETRY_HISTORY`| Local stats samples per node, including synthetic noise floor, packet counters, utilization, and node counts. |
192
193
|`MESHTASTIC_PERF_POSITION_HISTORY`|`3`| Position history entries per node. |
193
194
|`MESHTASTIC_PERF_DIRECT_MESSAGES`|`0`| Direct messages to seed between node 0 and node 1. |
194
195
|`MESHTASTIC_PERF_CHANNEL_MESSAGES`|`0`| Channel messages to seed on channel 0. |
### Example: seed local stats for noise-floor chart work
218
+
219
+
Use a smaller node count and a larger local stats history when tuning the Local Stats Log UI. This keeps the simulator responsive while giving the chart enough variation to show quiet periods, busy periods, and occasional interference spikes.
`--meshtastic-perf-start-local-stats` selects seeded node `0x0A000000` and opens its Local Stats Log directly in DEBUG simulator builds.
234
+
235
+
Add `--meshtastic-perf-local-stats-same-hour` when checking short-range noise-floor chart layout. It keeps local stats samples in the same hour at 5-minute intervals, which makes `1h` axis label clipping easy to reproduce.
236
+
216
237
On subsequent launches **without**`MESHTASTIC_PERF_RESET_STORE`, the harness detects the existing node count and skips re-seeding, so the app starts at full speed against the already-seeded store.
217
238
218
239
### What to expect
219
240
220
-
5 000 nodes (3 telemetry samples/type, 3 positions/node) seed in approximately **12 seconds** on an Apple Silicon Mac. The app navigates automatically to the Nodes tab. Typical idle CPU after seeding is under 2%.
241
+
5 000 nodes (3 device/environment telemetry samples, 3 local stats samples, 3 positions/node) seed in approximately **12 seconds** on an Apple Silicon Mac. The app navigates automatically to the Nodes tab. Typical idle CPU after seeding is under 2%.
221
242
222
243
> **Tip — Checking seed progress**
223
244
> Seed log lines are emitted at `Info` level under the `🗄️ Data` OSLog category. To stream them:
0 commit comments