9b243a4e | 03-Aug-2018 |
Ed Tanous <ed.tanous@intel.com> |
Make dbus monitor compatible with phosphor-rest
This patchset makes the dbus monitor compatible with the upstream dbus monitor, which should help adoption.
Performance seems greatly improved compar
Make dbus monitor compatible with phosphor-rest
This patchset makes the dbus monitor compatible with the upstream dbus monitor, which should help adoption.
Performance seems greatly improved compared to the python implementation. The example given in the documentation of watching for sensors and state changes is checked in as a test script websocket_test.py, and seems to consume less of the CPU than the actual sensors that get produced (about 4% CPU on my ast2500) when producing 30 sensor updates per second. This can likely be improved in the future by batching change events, but it seems to be performant enough for the moment.
Tested: Used test script checked in, and verified webui can register state change events properly.
Change-Id: I7d4c61d0259b7773eb46df0f59f8fea1c7796450 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
show more ...
|