gecko-dev/tools/profiler/gecko
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
..
ChildProfilerController.cpp
PProfiler.ipdl Bug 1648507 - Distinguish pausing sampling only from pausing the whole profiler - r=canaltinova,perftest-reviewers,geckoview-reviewers,agi 2020-07-02 01:36:27 +00:00
ProfilerChild.cpp Bug 1651102 - Safely delay handling of child profile buffer updates - r=canaltinova 2020-07-17 11:21:38 +00:00
ProfilerIOInterposeObserver.cpp Bug 1640325 - FileIO markers show the type of file if known - r=canaltinova 2020-07-06 23:42:55 +00:00
ProfilerIOInterposeObserver.h
ProfilerParent.cpp Bug 1651102 - Safely delay handling of parent profile buffer updates - r=canaltinova 2020-07-17 11:21:15 +00:00
ProfilerTypes.ipdlh
components.conf Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi 2020-07-09 21:42:25 +00:00
nsIProfiler.idl Bug 1659771 - Remove obsolete nsIProfiler.AddMarker API, r=gerald. 2020-08-18 22:52:55 +00:00
nsProfiler.cpp Bug 1660177 - Replace SpliceableJSONWriter::Splice(const char*) with better calls where possible - r=canaltinova 2020-08-26 08:03:20 +00:00
nsProfiler.h Bug 1658230 - Deduplicate ProfileJSONWriter classes - r=gregtatum 2020-08-11 03:50:54 +00:00
nsProfilerCIID.h
nsProfilerStartParams.cpp
nsProfilerStartParams.h