commit | 0aa59d566ff8a85ac9a4f3855371ade68bc77f45 | [log] [tgz] |
---|---|---|
author | Simon Zünd <szuend@chromium.org> | Thu Apr 04 07:11:00 2024 |
committer | Simon Zünd <szuend@chromium.org> | Thu Apr 04 07:11:00 2024 |
tree | 25fa5606bca78285432327a59c404ceca423938a | |
parent | 916f43c554c65ebf4ccd896b0f4e2ac99a67c434 [diff] |
Mark JSONEncoder::Emit as inline This speeds up serialization of messages with very large strings. E.g an inspector-protocol test case with a very large script by ~5-~10%. Before: https://pprofng.corp.google.com/?id=f8b1f0579d5f366710da1107ddd9cd05&tab=flame&source=cli After: https://pprofng.corp.google.com/?id=68628e63a993b60db52417849fdd3f10&tab=flame&source=cli Note that in the flamegraph JSONEncoder::Emit was folded together with SnapshoteByteSink::Put due to LTO. R=caseq@chromium.org Bug: 326554286 Change-Id: I1a287f32214da670eae1a2b6880dac7bbcbc38eb
This package contains code generators and templates for the Chromium inspector protocol.
The canonical location of this package is at https://chromium.googlesource.com/deps/inspector_protocol/
In the Chromium tree, it's rolled into https://cs.chromium.org/chromium/src/third_party/inspector_protocol/
In the V8 tree, it's rolled into https://cs.chromium.org/chromium/src/v8/third_party/inspector_protocol/
See also Contributing to Chrome Devtools Protocol.
To build and run the tests of the crdtp library, see CRDTP - Chrome DevTools Protocol.