aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2022-01-29 16:13:12 -0500
committerRuss Cox <rsc@golang.org>2022-03-18 16:56:29 +0000
commit7747c33a41491be74da65b116718f4df7a2f8337 (patch)
tree5dc2a332865fe954703f5e05dc62e670a7732d4c /src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
parent8ff42d1bb1919b38e0d852618168f18d33db866b (diff)
downloadgo-7747c33a41491be74da65b116718f4df7a2f8337.tar.xz
internal/diff: add, replacing cmd/internal/diff
This is an in-process (non-exec'ing) replacement for cmd/internal/diff. It uses an O(n log n) algorithm instead of the O(n²) algorithm in standard diff binaries. It does not produce the absolute shortest diffs, but the results are often more meaningful than the standard diff, because it doesn't try to align random blank lines or other noise. Adding so that tests inside std (especially go/printer) can print diffs. Replacing cmd/internal/diff because we don't need two. Change-Id: I9155dd925e4a813f5bfa84a8ad3dec8ffdbf8550 Reviewed-on: https://go-review.googlesource.com/c/go/+/384255 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Peter Weinberger <pjw@google.com> Trust: Peter Weinberger <pjw@google.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go')
0 files changed, 0 insertions, 0 deletions