Implement ProfileBufferChunkManagerWithLocalLimit
Categories
(Core :: Gecko Profiler, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: mozbugz, Assigned: mozbugz)
References
Details
Attachments
(1 file)
ProfileBufferChunkManagerWithLocalLimit
is a chunk manager that enforces a memory limit in each process.
It is meant to mimic the main way BlocksRingBuffer
works, so that we can more easily switch to the new buffer storage without introducing the extra complexity of inter-process memory coordination yet.
ProfileBufferChunkManagerWithLocalLimit
will still offer a benefit over BlocksRingBuffer
, in that it won't allocate the maximum buffer size immediately -- speeding the initialization, and hopefully even reducing the total Firefox memory consumption in short-lived processes.
Assignee | ||
Comment 1•5 years ago
|
||
ProfileBufferChunkManagerWithLocalLimit
is a chunk manager that enforces a
memory limit in each process.
It is meant to mimic the main way BlocksRingBuffer
works, so that we can more
easily switch to the new buffer storage without introducing the extra complexity
of inter-process memory coordination yet.
ProfileBufferChunkManagerWithLocalLimit
will still offer a benefit over
BlocksRingBuffer
, in that it won't allocate the maximum buffer size
immediately -- speeding the initialization, and hopefully even reducing the
total Firefox memory consumption in short-lived processes.
Comment 3•5 years ago
|
||
bugherder |
Comment 4•5 years ago
|
||
== Change summary for alert #25532 (as of Thu, 02 Apr 2020 11:52:51 GMT) ==
Improvements:
50% build times windows2012-aarch64 opt aarch64 taskcluster-m5.4xlarge 1,866.48 -> 926.67
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=25532
Description
•