delve/pkg
Alessandro Arzilli e9b2da17cb
proc/native/linuc: Better native.Process.stop performance (#1874)
* proc/native/linux: only set breakpoints on threads that receive SIGTRAP

* proc/native/linux: do not call (*Thread).Stopped inside (*Process).stop

(*Thread).Stopped is slow because it needs to open, read and parse a
file in /proc, we don't actually need to do that, we can just rely on
the value of Thread.os.running.

Benchmark before:

BenchmarkConditionalBreakpoints-4              1        12476166303 ns/op

Benchmark after:

BenchmarkConditionalBreakpoints-4   	       1	10403533675 ns/op

Conditional breakpoint evaluation: 1.24ms -> 1ms

Updates #1549
2020-03-09 10:15:45 -07:00
..
config pkg/config: add max-variable-recurse parameter (#1626) 2019-07-23 14:40:35 -07:00
dwarf dwarf/line: fix TestDebugLinePrologueParser test for Go 1.14 (#1891) 2020-02-26 20:38:31 -08:00
gobuild service/dap: Add support for debug and test modes (#1901) 2020-03-04 09:22:51 -08:00
goversion *: Go 1.14 support branch (#1727) 2020-02-10 17:31:54 -08:00
logflags logflags: Add pid to server-listening-at message (#1885) 2020-03-09 10:14:34 -07:00
proc proc/native/linuc: Better native.Process.stop performance (#1874) 2020-03-09 10:15:45 -07:00
terminal terminal: divide commands into categories 2020-03-09 10:11:21 -07:00
version all: bump version number and release notes 2020-02-11 11:38:41 +01:00