Skip to content

-stats flag timer broken #494

Closed

Description

@Fir3God

Summary

The time running function within -stats is broken.

httpx version:

Current Version: v1.1.5

Current Behavior:

When the flag -stats is used, the time spent running incorrectly stays at [0:00:05]

[0:00:05] | RPS: 153 | Requests: 43009 | Hosts: 33039/41228 (80%)
[0:00:05] | RPS: 149 | Requests: 43757 | Hosts: 33779/41228 (81%)
[0:00:05] | RPS: 152 | Requests: 44517 | Hosts: 34534/41228 (83%)
[0:00:05] | RPS: 149 | Requests: 45267 | Hosts: 35283/41228 (85%)
[0:00:05] | RPS: 149 | Requests: 46014 | Hosts: 36030/41228 (87%)
[0:00:05] | RPS: 151 | Requests: 46770 | Hosts: 36785/41228 (89%)

Expected Behavior:

When -flag is used, time spent running should display correctly.

Activity

  1. added
    Type: Bug
    on Jan 13, 2022
  2. added
    Priority: Medium
    on Jan 17, 2022
  3. linked a pull request that will close this issuestat flag timer #504on Jan 20, 2022
  4. added
    Status: Review Needed
    on Jan 20, 2022
  5. added
    Status: Completed
    and removed
    Status: Review Needed
    on Jan 20, 2022
  6. added this to the v1.2.0 milestone on Mar 1, 2022
  7. linked a pull request that will close this issuev1.2.0 Release #532on Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Priority: MediumStatus: CompletedType: Bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions