return { name = "go: mem profile", desc = "Generate heap profile (mem.out)", builder = function() return { cmd = { "go", "test" }, args = { "-run=^$", "-bench=.", "-memprofile=mem.out", "./...", }, components = { "default", "on_output_quickfix", { "on_complete_notify", statuses = { "SUCCESS" } }, }, } end, }