diff options
author | Ed Tanous <ed.tanous@intel.com> | 2018-08-04 00:33:10 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2018-08-24 22:41:47 +0300 |
commit | 9b243a4ee4e58406df4fecc4f98f7b701cc26f18 (patch) | |
tree | faecf31d87b6cb06727b760e385f6190f850676b /src/crow_getroutes_test.cpp | |
parent | b39db7142f9b576e53a81bbef8424f2478c4fff2 (diff) | |
download | bmcweb-9b243a4ee4e58406df4fecc4f98f7b701cc26f18.tar.xz |
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>
Diffstat (limited to 'src/crow_getroutes_test.cpp')
0 files changed, 0 insertions, 0 deletions