User Details
User Details
- User Since
- May 20 2021, 12:13 AM (51 w, 4 d)
May 20 2021
May 20 2021
kuperxu added a comment to D102833: [debugserver]Add platform cache support to improve performance.Under BigSur 11.3 this function causes a performance loss of 0.68s per execution..
I don't have permission to commit, please land this code.
Thank you @JDevlieghere
May 20 2021, 5:33 PM · Restricted Project
kuperxu added a comment to D102833: [debugserver]Add platform cache support to improve performance.Under BigSur 11.3 this function causes a performance loss of 0.68s per execution..
Currently the main time consuming performance is when loading the executable. In the MachProcess::GetMachOInformationFromMemory function if the executable has 100 load_command, then the function _dyld_process_info_create will be executed 100 times
May 20 2021, 2:53 AM · Restricted Project
kuperxu added a reviewer for D102833: [debugserver]Add platform cache support to improve performance.Under BigSur 11.3 this function causes a performance loss of 0.68s per execution.: aprantl.
The main reason for the problem is that dyld has modified the _dyld_process_info_create function implementation, which has increased the function's time consumption significantly and caused a huge delay in attaching the program.
May 20 2021, 2:40 AM · Restricted Project
kuperxu updated the diff for D102833: [debugserver]Add platform cache support to improve performance.Under BigSur 11.3 this function causes a performance loss of 0.68s per execution..
[debugserver]Recalculate the platform cache each time the port is cleared.
May 20 2021, 2:36 AM · Restricted Project