Commit Graph

5 Commits

Author SHA1 Message Date
VMSolidus
b4524b79da Device Link Sink Optimization (#2465)
This system is only actually touched by the game a tiny handful of times
during a round, yet it was the 4th top frametime consumer, because it
was querrying every potentially networkable entity in existence on the
maybe off-chance it was interacted with by a remote signaller. On a
typical station, this is tens of thousands of entities, with strong
linear scaling as the round time increases due to creation of new
entities.

I have tested this PR to verify that device links and signals still
work, except now with 99.99% less frametime cost.

<details><summary><h1>Media</h1></summary>
<p>

![image](https://github.com/user-attachments/assets/1434fdcb-034a-4d44-8f83-ebe2bf6cecaa)

</p>
</details>

🆑
- tweak: Made significant performance improvements to device network
systems.

Co-authored-by: Eris <eris@erisws.com>
2025-07-12 12:42:02 +10:00
Leon Friedrich
0a67af6b39 Rejig device link sink & source startup & shutdown (#29035)
* Fix DeviceLinkSinkComponent not updating sources on shutdown

* Log error

* Misc link changes & fixes

* Fix core

(cherry picked from commit 20544b0c7656dd1deec583e9d8ad867c26c0dd4c)
2025-07-12 02:50:32 +10:00
DrSmugleaf
a88e747a0b Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
Julian Giebel
49cb9d0e1e Prevent infinite loops in device linking (#16856) 2023-05-29 02:14:06 +10:00
Julian Giebel
6ebd784cb6 Device Linking and better linking ui (#13645)
Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
Co-authored-by: Visne <39844191+Visne@users.noreply.github.com>
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-05-07 16:07:24 +10:00