Skip to content

[nit] The memory usage comparisons in the README are inaccurate #104

Closed
@jussi-kalliokoski

Description

@jussi-kalliokoski

There are some highly confusing memory consumption comparisons in the README. For example https://github.com/golangci/golangci-lint/blame/master/README.md#L136 states the following:

consumes 1.35x less memory

Assuming that x is the memory consumption, and golangci-lint consumes 1.35x less memory, it would mean x - 1.35x = -0.35x, so golangci-lint consumes negative memory? I'm exaggerating of course, but I really am not sure what 1.35x less memory means. My best guess is that the intended meaning is that for every 1.35GB that metalinter consumes, golangci-lint consumes 1GB? If that's the case, I suggest using 1 - 1.00GB / 1.35GB ~= 0.259 so golangci-lint uses 26% less memory, using multipliers when talking about decreased values is bound to lead to confusion.

Yes, I'm fun at parties.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions