Open
Bug 1596046
Opened 5 years ago
Updated 2 years ago
A lot of vector allocations during frame building
Categories
(Core :: Graphics: WebRender, defect, P3)
Core
Graphics: WebRender
Tracking
()
NEW
People
(Reporter: nical, Unassigned)
References
(Blocks 1 open bug)
Details
When profiling frame building, vector allocations/reallocations/deallocations are often taking a non-trivial slice of the render backend time.
Time for another pass at better recycling and preallocating vectors.
Reporter | ||
Comment 1•5 years ago
|
||
Here are a few of the top functions when focusing on replace_realloc
(Mostly vector reallocations) in the profiler on this test case: https://bugzilla.mozilla.org/attachment.cgi?id=9025942
- render task creation
- writing gpu blocks
- AlphaBatchList::set_params_and_get_batch
- AlphaBatchBuilder::push_single_instance
- PicturePrimitive::take_context
- PictureState::update
- PrimitiveHeaders::push
- ClipChainStack::push_clip
- gpu_cache::Texture::push_data
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•