llvm / llvm/llvm-project

[libc++] Investigate performance regression in "[libc++] Refactor memory allocation in basic_string"

Open
#178,687 0 comments 0 reactions 0 assignees View on GitHub
libc++ performance regression
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

We've introduced a performance regression in https://github.com/llvm/llvm-project/pull/128423. https://github.com/llvm/llvm-project/pull/164718 fixed at least some of it. We should check whether there are any other functions where we regressed.

Contributor guide

Open the contributing guide

Research direction

Start with PR #128423 and the partial fix in PR #164718, then inspect the libc++ basic_string memory-allocation changes and compare the affected functions for remaining regressions. Done means determining whether other functions also regressed and recording the investigation results.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.