Florentin Simion
01/12/2022, 2:15 PMSuspendFunctionGun
in respect to the naive implementation of DebugPipelineExecutor
? @e5l maybe you can help me understand, as you are one of the main committers, Thank you!e5l
01/12/2022, 2:17 PMSuspendFunctionGun
is reduce amount of allocations during Pipeline execution.e5l
01/12/2022, 2:20 PMDebugPipelineExecutor
preserves stacks of all interceptors so it's possible to observe full coroutine stack frames with all plugins during the debug processFlorentin Simion
01/12/2022, 2:25 PMSuspendFunctionGun
only keeps the stack trace of the current running interceptor?Florentin Simion
01/12/2022, 2:30 PMe5l
01/12/2022, 2:31 PMFlorentin Simion
01/12/2022, 2:53 PMContinuation
implementation in SuspendFunctionGun, which has override fun getStackTraceElement(): StackTraceElement? = null
and this is how you keep the stack trace only for the current interceptor? And the coroutine start in the old implementation had nothing to do with it, it was just an implementation detail.Florentin Simion
01/12/2022, 2:54 PMe5l
01/12/2022, 2:54 PM