[GH-ISSUE #13323] feat: Improvement of "request statistics" (i) : readability #16885

Closed
opened 2026-04-19 22:43:03 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @G-Cyrille on GitHub (Apr 29, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13323

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

The request statistics, e.g.:

response_token/s: 34.94
prompt_token/s: 3237.06
total_duration: 11327916369
load_duration: 13452200
prompt_eval_count: 120
prompt_tokens: 120
prompt_eval_duration: 37070714
eval_count: 394
completion_tokens: 394
eval_duration: 11276387595
approximate_total: "0h0m11s"
total_tokens: 514
completion_tokens_details: {
  reasoning_tokens: 0
  accepted_prediction_tokens: 0
  rejected_prediction_tokens: 0
}

Especially:

total_duration: 11327916369
load_duration: 13452200
prompt_eval_duration: 37070714
eval_duration: 11276387595

Are impossible to read for a human.

Desired Solution you'd like

It would be very nice and improve their usability to have them expressed as
total_duration: 18 Minutes 52 Seconds 6369 milliseconds
or :
total_duration: 18 m 52 s 6369 ms

Alternatives Considered

No response

Additional Context

No response

Originally created by @G-Cyrille on GitHub (Apr 29, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/13323 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description The request statistics, e.g.: ``` response_token/s: 34.94 prompt_token/s: 3237.06 total_duration: 11327916369 load_duration: 13452200 prompt_eval_count: 120 prompt_tokens: 120 prompt_eval_duration: 37070714 eval_count: 394 completion_tokens: 394 eval_duration: 11276387595 approximate_total: "0h0m11s" total_tokens: 514 completion_tokens_details: { reasoning_tokens: 0 accepted_prediction_tokens: 0 rejected_prediction_tokens: 0 } ``` Especially: ``` total_duration: 11327916369 load_duration: 13452200 prompt_eval_duration: 37070714 eval_duration: 11276387595 ``` Are impossible to read for a human. ### Desired Solution you'd like It would be very nice and improve their usability to have them expressed as total_duration: 18 Minutes 52 Seconds 6369 milliseconds or : total_duration: 18 m 52 s 6369 ms ### Alternatives Considered _No response_ ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16885