-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
chatgpt-shell took too long to run so i did (elp-instrument-package "chatgpt-shell") and saw this in (elp-results):
chatgpt-shell 1 7.587093 7.587093
chatgpt-shell-start 1 7.587086 7.587086
chatgpt-shell--resolved-model 15 7.586741 0.5057827333
chatgpt-shell-model-version 330 7.5860030000 0.0229878878
chatgpt-shell-ollama--validate-command 1320 7.5674309999 0.0057329022
chatgpt-shell-ollama--fetch-model-versions 1320 7.5549990000 0.0057234840
chatgpt-shell--prompt-pair 4 6.073431 1.51835775
chatgpt-shell--shell-info 5 5.062926 1.0125852
chatgpt-shell--model-short-version 5 5.062874 1.0125747999
chatgpt-shell--update-prompt 1 4.578275 4.578275
chatgpt-shell--model-label 5 2.523899 0.5047798
chatgpt-shell--make-buffer-name 1 1.513425 1.513425
chatgpt-shell-google--validate-command 2640 0.0003690000 1.397...e-07
chatgpt-shell-anthropic--validate-command 1980 0.0002900000 1.464...e-07
chatgpt-shell-openai--validate-command 330 0.0001559999 4.727...e-07
chatgpt-shell-kagi--validate-command 330 0.0001279999 3.878...e-07
chatgpt-shell-deepseek--validate-command 660 0.0001209999 1.833...e-07
chatgpt-shell--add-menus 1 5e-05 5e-05
chatgpt-shell--shrink-system-prompt 10 4.7e-05 4.7e-06
chatgpt-shell--system-prompt-name 5 3.500...e-05 7.000...e-06
chatgpt-shell--primary-buffer 3 2.100...e-05 7.000...e-06
chatgpt-shell--shell-buffers 3 1.499...e-05 4.999...e-06
chatgpt-shell-duplicate-map-keys 1 4e-06 4e-06
chatgpt-shell--prompt-regexp 4 0.0 0.0
ollama stuff takes lots of time and I don't even have it.
The mitigation is to restrict available models:
(setq chatgpt-shell-models (chatgpt-shell-openai-models))
Metadata
Metadata
Assignees
Labels
No labels