Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are some usages of CPU and memory allocations that could be optimized. Some of them may be intentional trade-offs and some are unintentional.
In the context of pipelined DML, the majority of latency comes from TiDB, making the execution speed in TiDB more critical to overall performance.
tracker.Consume
RuneCountInString
GenKeyExistsErr
insert on duplicate update key
growSlice
genIndexValueVersion0
strings.Join
RequestSource.GetRequestSource
index.WithCtx
getRow
onMemChange
UpdateDeltaForTableFromColSlice
SetMemoryFootprintChangeHook
Txn
Codec.decodeColumn
Error.Equal
IsErrNotFound
The text was updated successfully, but these errors were encountered:
*: optimize error generation, debug log and AllocHandle in the hot wr…
cb237b6
…ite path (#54308) ref #54444
Enhancement
There are some usages of CPU and memory allocations that could be optimized. Some of them may be intentional trade-offs and some are unintentional.
In the context of pipelined DML, the majority of latency comes from TiDB, making the execution speed in TiDB more critical to overall performance.
Sub-tasks
tracker.Consume
#53973RuneCountInString
#53942GenKeyExistsErr
, ininsert on duplicate update key
growSlice
ingenIndexValueVersion0
, ininsert on duplicate update key
strings.Join
inRequestSource.GetRequestSource
, ininsert on duplicate update key
index.WithCtx
getRow
onMemChange
UpdateDeltaForTableFromColSlice
SetMemoryFootprintChangeHook
inTxn
growSlice
inCodec.decodeColumn
, in deleteError.Equal
andIsErrNotFound
The text was updated successfully, but these errors were encountered: