diff options
author | Havoc Pennington <hp@redhat.com> | 2004-11-26 02:29:00 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2004-11-26 02:29:00 +0000 |
commit | c670c23823a2f62a3bbb5867451f357d2b96c43d (patch) | |
tree | ca79f94e99f0eac476b651f0f8a0e6d3f0c28733 /ChangeLog | |
parent | dbdea921b5967ed25b24a9e5af5d6a3db54c5ec7 (diff) |
2004-11-25 Havoc Pennington <hp@redhat.com>
* dbus/dbus-transport-unix.c (unix_do_iteration): if we're going
to write, without reading or blocking, try it before the poll()
and skip the poll() if nothing remains to write. This is about a
3% speedup in the echo client/server
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2004-11-25 Havoc Pennington <hp@redhat.com> + * dbus/dbus-transport-unix.c (unix_do_iteration): if we're going + to write, without reading or blocking, try it before the poll() + and skip the poll() if nothing remains to write. This is about a + 3% speedup in the echo client/server + +2004-11-25 Havoc Pennington <hp@redhat.com> + The primary change here is to always write() once before adding the write watch, which gives us about a 10% performance increase. |