Skip to content

webui: display prompt processing stats#18146

Merged
allozaur merged 5 commits intoggml-org:masterfrom
ServeurpersoCom:webui/prompt-stats
Dec 18, 2025
Merged

webui: display prompt processing stats#18146
allozaur merged 5 commits intoggml-org:masterfrom
ServeurpersoCom:webui/prompt-stats

Conversation

@ServeurpersoCom
Copy link
Collaborator

@ServeurpersoCom ServeurpersoCom commented Dec 17, 2025

Make sure to read the contributing guidelines before submitting a PR

This PR adds the prompt processing stats (token count, duration, tokens/second) when Settings/Show message generation statistics is enabled

  • Updated UI for viewing both Reading/Generation statistics
  • Minor change, data already exposed
demo.mp4

Close #16902

Copy link
Collaborator

@allozaur allozaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few things i need to update

@allozaur allozaur requested a review from ggerganov December 18, 2025 14:26
@ServeurpersoCom
Copy link
Collaborator Author

ServeurpersoCom commented Dec 18, 2025

Thanks Alek, the switch is a very good idea! Tested on mobile/PC, OK for me

@allozaur allozaur merged commit f9ec885 into ggml-org:master Dec 18, 2025
10 checks passed
Anico2 added a commit to Anico2/llama.cpp that referenced this pull request Jan 15, 2026
* webui: display prompt processing stats

* feat: Improve UI of Chat Message Statistics

* chore: update webui build output

* refactor: Post-review improvements

* chore: update webui build output

---------

Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
blime4 referenced this pull request in blime4/llama.cpp Feb 5, 2026
* webui: display prompt processing stats

* feat: Improve UI of Chat Message Statistics

* chore: update webui build output

* refactor: Post-review improvements

* chore: update webui build output

---------

Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webui : display prompt timing stats

2 participants