llparse icon indicating copy to clipboard operation
llparse copied to clipboard

Save spans on pause

Open indutny opened this issue 7 years ago • 1 comments

There's no need to save/restore spans on every .start()/.end(). The set of active spans is known for each node ahead of time, so we can just store them at .pause().

indutny avatar Mar 01 '18 05:03 indutny

This will require passing all span starts around. Probably not feasible for multiple-spans, but is worth exploring for a single span case (http-parser).

indutny avatar Mar 01 '18 05:03 indutny