gecko-dev/tools/profiler
Gerald Squelart 1628f9ba8d Bug 1660177 - Replace SpliceableJSONWriter::Splice(const char*) with better calls where possible - r=canaltinova
In most calls to `SpliceableJSONWriter::Splice(const char*)`:
- The data comes from a `ChunkedJSONWriteFunc` and is copied to a new buffer, which is then copied again through `Write()`. Instead we can copy the data directly from the `ChunkedJSONWriteFunc`; and this is a nice complement to `TakeAndSplice()` below.
- Or the length is already known, so we can pass it to a new `Splice(const char*, size_t)`, which forwards it to `Write(const char*, size_t)`, saving one `strlen` call.

Differential Revision: https://phabricator.services.mozilla.com/D87703
2020-08-26 08:03:20 +00:00
..
core Bug 1660177 - Replace SpliceableJSONWriter::Splice(const char*) with better calls where possible - r=canaltinova 2020-08-26 08:03:20 +00:00
gecko Bug 1660177 - Replace SpliceableJSONWriter::Splice(const char*) with better calls where possible - r=canaltinova 2020-08-26 08:03:20 +00:00
lul Bug 1648972 - Fix profiler non-unified build - r=canaltinova 2020-06-30 05:07:21 +00:00
public Bug 1659674 - Change BulkWrite to return mozilla::Result. r=froydnj 2020-08-21 09:54:48 +00:00
rust-helper Bug 1617369 - Reformat tools/profiler/rust-helper/ using rustfmt r=mstange 2020-03-02 17:53:48 +00:00
tasktracer
tests Bug 1660177 - Clarify accesses to SpliceableChunkedJSONWriter's WriteFunc - r=canaltinova 2020-08-26 08:03:17 +00:00
moz.build Bug 1658230 - Deduplicate ProfileJSONWriter classes - r=gregtatum 2020-08-11 03:50:54 +00:00