Function: go-test-current-benchmark
go-test-current-benchmark is an interactive and natively compiled
function defined in gotest.el.
Signature
(go-test-current-benchmark)
Documentation
Launch go benchmark on current benchmark.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/y8iliarhkh17m4iiwcy1hbi78r7b5489-emacs-packages-deps/share/emacs/site-lisp/elpa/gotest-20230221.945/gotest.el
;; Benchmarks
;; ----------------------
;;;###autoload
(defun go-test-current-benchmark ()
"Launch go benchmark on current benchmark."
(interactive)
(let ((benchmark-name (go-test--get-current-benchmark)))
(when benchmark-name
(go-test--go-test (s-concat "-run ^NOTHING -bench " benchmark-name "\\$")))))