Skip to content

Display is not stable-sorted #10

@fgm

Description

@fgm

When using the -cumulative flag to measure total traffic from just one specific page, the order of the lines in the output moves on each refresh even in the absence of traffic, with results not changing.

It appears that all lines with the same result for max(size) and sum(size) move their relative locations, suggesting the sort method should include the key as the last element of the ordering rule, to get a stable display on a stable system.

Example from such a capture:

logement-cache_bootstrap-logement-cache-_multi0-variables            1048205          1048205
logement-cache_views-logement-cache-_multi0-views_data%253Afr        1048205          1048205
logement-cache-logement-cache-_multi0-schema                         1048205          1048205
logement-cache_views-logement-cache-_multi1-views_data%253Afr        1048205          1048205
logement-cache_views-logement-cache-_multi2-views_data%253Afr        1048205          1048205

In this example, these five lines near the top of the report are constantly switching their relative positions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions