-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
62640: colexecutils: optimize the deselector a bit for zero batch r=yuzefovich a=yuzefovich Zero length batch is special in the vectorized engine. Once we receive it from the input, in the vast majority of cases we don't need to do any processing in the operator. Previously, the deselector would still do some stuff even for zero batch, and now it'll short-circuit as most operators do. Release note: None 62796: roachprod: add pprof command r=erikgrinaker a=stevendanna The new pprof command allows to user to collect CPU and heap profiles from nodes in a roachprod cluster using pprof's HTTP endpoints. Profiles are collected in parallel and stored in the current working directory of the machine running pprof. The command can also optionally open the profiles using `go tool pprof`. Some usage examples: # Capture CPU profile for all nodes in the cluster roachprod pprof CLUSTERNAME # Capture CPU profile for the first node in the cluster for 60 seconds roachprod pprof CLUSTERNAME:1 --duration 60s # Capture a Heap profile for the first node in the cluster roachprod pprof CLUSTERNAME:1 --heap # Same as above roachprod pprof-heap CLUSTERNAME:1 Fixes #62309 Note that I've skipped the `pprofurl` command in the original issue. I noticed that the `adminurl` command has an option to append any string you'd like to the URL, which is probably most of what one needs from that command in most cases. But, I can add it if others feel differently. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]> Co-authored-by: Steven Danna <[email protected]>
- Loading branch information
Showing
4 changed files
with
210 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters