Chromium Code Reviews
DescriptionUse write instead of writeln for client/server communication.
We have observed that each string sent from the server to the client
using stdout.write() takes at least one cycle of the event loop to
complete. Since writeln() is implemented using two calls to write(),
this means that streaming of messages to the client was almost always
falling behind the actual rate of analysis, resulting in very annoying
delays for the user.
As a stopgap, send each message from server to client using a single
call to write(). This doesn't completely solve the problem, but it
should reduce its impact while we work on a better solution.
R=scheglov@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41959
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|
|||||||||||||||||||