Commit edc939e3 authored by Johannes Henkel's avatar Johannes Henkel Committed by Commit Bot

Improve comment based on discussion ...

... in https://bugs.chromium.org/p/chromium/issues/detail?id=1044989

Change-Id: I8ee0c982f0770e76dd23df3a84749af98bf8c2d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2063851Reviewed-by: default avatarPeter Marshall <petermarshall@chromium.org>
Commit-Queue: Johannes Henkel <johannes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#742769}
parent f463a13c
......@@ -107,9 +107,9 @@ class CORE_EXPORT DevToolsSession : public GarbageCollected<DevToolsSession>,
std::unique_ptr<protocol::UberDispatcher> inspector_backend_dispatcher_;
InspectorSessionState session_state_;
HeapVector<Member<InspectorAgent>> agents_;
// Notifications are lazily serialized to shift the overhead we spend away
// from Javascript code that generates many events (e.g., a loop logging to
// console on every iteration).
// Notifications are lazily serialized to shift the serialization overhead
// from performance measurements. We may want to revisit this.
// See https://bugs.chromium.org/p/chromium/issues/detail?id=1044989#c8
Vector<base::OnceCallback<std::vector<uint8_t>()>> notification_queue_;
const bool client_expects_binary_responses_;
InspectorAgentState v8_session_state_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment