Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-20970

timeMethod gives platform-dependent results

    Details

    • Type: Bug
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: pipe_base
    • Labels:
      None

      Description

      The @timeMethod decorator is currently implemented in terms of Python's resource package, whose behavior depends on the operating system it is run on (for example, the resident set size may be given in bytes, kibibytes, or pages). This is particularly confusing in a distributed system, where the platform on which the decorator runs may not be obvious (see discussion on verify#47).

      Find a way to make this decorator more platform-agnostic; Tim Jenness has suggested using psutil instead of resource.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  krzys Krzysztof Findeisen
                  Watchers:
                  Krzysztof Findeisen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Summary Panel