Install the following opam packages:
opam install caml-mode merlin ocp-indent
Tweak your .emacs
file with some or all of the following:
; shift tab to complete
(global-set-key (kbd "S-<tab>") 'company-complete)
Install the following opam packages:
opam install caml-mode merlin ocp-indent
Tweak your .emacs
file with some or all of the following:
; shift tab to complete
(global-set-key (kbd "S-<tab>") 'company-complete)
go test -run=. -bench=. -benchtime=5s -count 5 -benchmem -cpuprofile=cpu.out -memprofile=mem.out -trace=trace.out ./package | tee bench.txt | |
go tool pprof -http :8080 cpu.out | |
go tool pprof -http :8081 mem.out | |
go tool trace trace.out | |
go tool pprof $FILENAME.test cpu.out | |
# (pprof) list <func name> | |
# go get -u golang.org/x/perf/cmd/benchstat | |
benchstat bench.txt |
As configured in my dotfiles.
start new:
tmux
start new with session name: