-
Russ Cox authored
Thanks to Dave Cheney for the magic words "comm page". benchmark old ns/op new ns/op delta BenchmarkNow 197 33 -83.05% This should make profiling a little better on OS X. The raw time saved is unlikely to matter: what likely matters more is that it seems like OS X sends profiling signals on the way out of system calls more often than it should; avoiding the system call should increase the accuracy of cpu profiles. The 386 version would be similar but needs to do different math for CPU speeds less than 1 GHz. (Apparently Apple has never shipped a 64-bit CPU with such a slow clock.) R=golang-dev, bradfitz, dave, minux.ma, r CC=golang-dev https://golang.org/cl/6275056
3a66bc41
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
archive | ||
bufio | ||
builtin | ||
bytes | ||
compress | ||
container | ||
crypto | ||
database/sql | ||
debug | ||
encoding | ||
errors | ||
exp | ||
expvar | ||
flag | ||
fmt | ||
go | ||
hash | ||
html | ||
image | ||
index/suffixarray | ||
io | ||
log | ||
math | ||
mime | ||
net | ||
old/netchan | ||
os | ||
path | ||
reflect | ||
regexp | ||
runtime | ||
sort | ||
strconv | ||
strings | ||
sync | ||
syscall | ||
testing | ||
text | ||
time | ||
unicode | ||
unsafe |