Uploaded image for project: 'Apache Open Climate Workbench (Retired)'
  1. Apache Open Climate Workbench (Retired)
  2. CLIMATE-88

Performance improvements for metrics.py

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 0.1-incubating
    • 0.1-incubating
    • metrics
    • None

    Description

      The performance for many of the functions in metrics.py can be improved by removing some unnecessary loops and utilizing shape manipulation.

      I have attached some example code that benchmarks the differences between the original and proposed methodology if you did not see it in the mailing list.

      Attachments

        1. benchmark_metrics.py
          26 kB
          Alex Goodman
        2. benchmark_metrics_with_resize_method.py
          3 kB
          Huikyo Lee

        Activity

          People

            agoodman Alex Goodman
            agoodman Alex Goodman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: