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

timeMethod gives platform-dependent results

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: utils
    • Labels:
    • Story Points:
      3
    • Team:
      Architecture

      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

          Issue Links

            Activity

            krzys Krzysztof Findeisen created issue -
            krzys Krzysztof Findeisen made changes -
            Field Original Value New Value
            Link This issue relates to DM-20702 [ DM-20702 ]
            swinbank John Swinbank made changes -
            Epic Link DM-20336 [ 337097 ]
            swinbank John Swinbank made changes -
            Team Alert Production [ 10300 ]
            swinbank John Swinbank made changes -
            Epic Link DM-20336 [ 337097 ] DM-21442 [ 423049 ]
            swinbank John Swinbank made changes -
            Epic Link DM-21442 [ 423049 ] DM-22633 [ 427742 ]
            swinbank John Swinbank made changes -
            Epic Link DM-22633 [ 427742 ] DM-24341 [ 433028 ]
            swinbank John Swinbank made changes -
            Epic Link DM-24341 [ 433028 ] DM-25145 [ 435263 ]
            swinbank John Swinbank made changes -
            Epic Link DM-25145 [ 435263 ] DM-26803 [ 439755 ]
            sullivan Ian Sullivan made changes -
            Epic Link DM-26803 [ 439755 ] DM-27911 [ 442604 ]
            sullivan Ian Sullivan made changes -
            Epic Link DM-27911 [ 442604 ] DM-29209 [ 459201 ]
            sullivan Ian Sullivan made changes -
            Epic Link DM-29209 [ 459201 ] DM-30431 [ 504819 ]
            sullivan Ian Sullivan made changes -
            Epic Link DM-30431 [ 504819 ] DM-30514 [ 510188 ]
            tjenness Tim Jenness made changes -
            Component/s utils [ 10723 ]
            Component/s pipe_base [ 10727 ]
            tjenness Tim Jenness made changes -
            Labels gen3-middleware
            sullivan Ian Sullivan made changes -
            Epic Link DM-30514 [ 510188 ] DM-30515 [ 510190 ]
            tjenness Tim Jenness made changes -
            Link This issue is duplicated by DM-33803 [ DM-33803 ]
            tjenness Tim Jenness made changes -
            Assignee Tim Jenness [ tjenness ]
            tjenness Tim Jenness made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            tjenness Tim Jenness made changes -
            Reviewers Kian-Tat Lim [ ktl ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            tjenness Tim Jenness made changes -
            Epic Link DM-30515 [ 510190 ]
            tjenness Tim Jenness made changes -
            Team Alert Production [ 10300 ] Architecture [ 10304 ]
            ktl Kian-Tat Lim made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            tjenness Tim Jenness made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            krzys Krzysztof Findeisen made changes -
            Link This issue relates to DM-33837 [ DM-33837 ]

              People

              Assignee:
              tjenness Tim Jenness
              Reporter:
              krzys Krzysztof Findeisen
              Reviewers:
              Kian-Tat Lim
              Watchers:
              Kian-Tat Lim, Krzysztof Findeisen, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins Builds

                  No builds found.