Skip to content

Inconsistent documentation of units #399

@paloha

Description

@paloha

Today a typo took some of my time.

The unit specified here is "Mb":

This file contains the process memory consumption, in Mb (one value per line).""")

While the unit specified here is "MiB":

memory usage, in MiB. It's length is always < timeout / interval

These are obviously not the same units and I believe the typo is in the file mprof.py and the unit should be corrected to "MiB" in both places. It is a small typo, but a since this is a memory profiler, I think it can cause a lot of headache to somebody.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions