Skip to content

Comprehensive benchmarking suite #4648

Open

Description

@dcherian

I think a good "infrastructure" target for the NASA OSS call would be to expand our benchmarking suite (https://pandas.pydata.org/speed/xarray/#/)

AFAIK running these in a useful manner on CI is still unsolved (please correct me if I'm wrong). But we can always run it on an NCAR machine using a cron job.

Thoughts?

cc @scottyhq

A quick survey of work needed (please append):

Related: #3514

Activity

  1. scottyhq commented on Dec 3, 2020

    @scottyhq
    Contributor

    thanks for the ping @dcherian, i really like the idea! One other thing that often gets neglected in test suites is operating on remote data. I understand the need to avoid long-running tests and tests prone to network failures for PRs, but running these sorts of examples as a cron job could be very helpful for benchmarking and detecting issues.

    In intake-xarray we recently added tests against a local HTTP server and "S3" server:
    https://github.com/intake/intake-xarray/blob/master/intake_xarray/tests/test_remote.py

    Also added several simple tests requiring a network connection to public data (no auth required) that we run locally but not in CI currently:
    https://github.com/intake/intake-xarray/blob/master/intake_xarray/tests/test_network.py

  2. dcherian commented on Dec 4, 2020

    @dcherian
    ContributorAuthor

    Thanks @scottyhq

    One other thing that often gets neglected in test suites is operating on remote data.

    This is lining up with the "pangeo integration tests" that came up in a Pangeo meeting (cc @rabernat).

    Regardless whether it fits, I think adding benchmarks+tests for the xarray+zarr+fsspec (or xarray+mfdataset+netCDF) is an important and unmet need of the Pangeo community in general that we could address.

  3. max-sixty commented on Dec 30, 2020

    @max-sixty
    Collaborator

    This would be great.

    Down a couple of levels — I think potentially we could run this as a cron job on GitHub Actions. NCAR would also be a good plan. I'm also happy to supply a VM if that's helpful.

  4. dcherian commented on Aug 18, 2021

    @dcherian
    ContributorAuthor

    Looks like Quansight thinks that GH actions is a good place to benchmark scikit-learn: https://labs.quansight.org/blog/2021/08/github-actions-benchmarks/ so may be we can set that up for our existing benchmarks.

    Here's the workflow: https://github.com/jaimergp/scikit-image/blob/main/.github/workflows/benchmarks-cron.yml

  5. dcherian commented on Nov 8, 2021

    @dcherian
    ContributorAuthor

    @TomAugspurger are you still in charge of the pydata benchmarking machine? If so, could you add xarray to the list please (https://pandas.pydata.org/speed/)? @Illviljan has made major improvements so it should be a lot faster now

  6. TomAugspurger commented on Nov 9, 2021

    @TomAugspurger
    Contributor

    "In charge of" is overstating it a bit. It's been segfaulting when building pandas and I haven't had a chance to debug it.

    If / when I get around to fixing it I'll try adding xarray, but it might be a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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