home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 743445866

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/pull/4672#issuecomment-743445866 https://api.github.com/repos/pydata/xarray/issues/4672 743445866 MDEyOklzc3VlQ29tbWVudDc0MzQ0NTg2Ng== 10194086 2020-12-11T21:52:05Z 2020-12-11T21:52:05Z MEMBER

Here is what I learned: * The same tests are slow in windows and linux. Just, that those on windows take about twice as long. * The following test seem to be slow: * xarray/tests/test_distributed.py * many tests with sparse, e.g. xarray/tests/test_dataset.py::TestDataset::test_unstack_sparse * plotting tests, especially with FacetGrid

I am not sure what takes long in xarray/tests/test_distributed.py: writing the files or creating the cluster. If it is the latter, it could be possible to only open in once in the module (but I don't know if that actually works or if it has to be closed every time).

https://github.com/pydata/xarray/blob/76d5c0c075628475b555997b82c55dd18a34936e/xarray/tests/test_distributed.py#L118-L119

Windows py37

``` 9.52s call xarray/tests/test_distributed.py::test_dask_distributed_netcdf_roundtrip[netcdf4-NETCDF3_CLASSIC] 9.12s call xarray/tests/test_distributed.py::test_dask_distributed_zarr_integration_test[False-True] 8.66s call xarray/tests/test_distributed.py::test_dask_distributed_zarr_integration_test[False-False] 8.50s call xarray/tests/test_distributed.py::test_dask_distributed_netcdf_roundtrip[netcdf4-NETCDF4] 8.48s call xarray/tests/test_distributed.py::test_dask_distributed_read_netcdf_integration_test[scipy-NETCDF3_64BIT] 8.34s call xarray/tests/test_distributed.py::test_dask_distributed_netcdf_roundtrip[netcdf4-NETCDF4_CLASSIC] 8.34s call xarray/tests/test_distributed.py::test_dask_distributed_netcdf_roundtrip[h5netcdf-NETCDF4] 7.72s call xarray/tests/test_distributed.py::test_dask_distributed_read_netcdf_integration_test[netcdf4-NETCDF4] 7.72s call xarray/tests/test_distributed.py::test_dask_distributed_read_netcdf_integration_test[h5netcdf-NETCDF4] 7.72s call xarray/tests/test_distributed.py::test_dask_distributed_zarr_integration_test[True-False] 7.71s call xarray/tests/test_distributed.py::test_dask_distributed_zarr_integration_test[True-True] 7.42s call xarray/tests/test_distributed.py::test_dask_distributed_read_netcdf_integration_test[netcdf4-NETCDF4_CLASSIC] 7.35s call xarray/tests/test_distributed.py::test_dask_distributed_read_netcdf_integration_test[netcdf4-NETCDF3_CLASSIC] 6.45s call xarray/tests/test_distributed.py::test_dask_distributed_netcdf_roundtrip[scipy-NETCDF3_64BIT] 6.26s call xarray/tests/test_dataset.py::TestDataset::test_unstack_sparse 6.06s call xarray/tests/test_sparse.py::TestSparseDataArrayAndDataset::test_groupby_bins 5.46s call xarray/tests/test_plot.py::TestDatasetScatterPlots::test_facetgrid_hue_style 5.35s call xarray/tests/test_interp.py::test_interpolate_chunk_advanced[linear] 5.10s call xarray/tests/test_distributed.py::test_dask_distributed_rasterio_integration_test 5.00s call xarray/tests/test_plot.py::TestFacetedLinePlots::test_facetgrid_shape 4.40s call xarray/tests/test_interp.py::test_interpolate_chunk_advanced[nearest] ```

Linux py37

``` 5.78s call xarray/tests/test_distributed.py::test_dask_distributed_zarr_integration_test[False-True] 5.62s call xarray/tests/test_distributed.py::test_dask_distributed_zarr_integration_test[False-False] 5.55s call xarray/tests/test_distributed.py::test_dask_distributed_netcdf_roundtrip[h5netcdf-NETCDF4] 5.34s call xarray/tests/test_distributed.py::test_dask_distributed_zarr_integration_test[True-False] 5.31s call xarray/tests/test_distributed.py::test_dask_distributed_netcdf_roundtrip[netcdf4-NETCDF4] 5.30s call xarray/tests/test_distributed.py::test_dask_distributed_netcdf_roundtrip[netcdf4-NETCDF4_CLASSIC] 5.15s call xarray/tests/test_distributed.py::test_dask_distributed_netcdf_roundtrip[netcdf4-NETCDF3_CLASSIC] 5.10s call xarray/tests/test_distributed.py::test_dask_distributed_rasterio_integration_test 4.98s call xarray/tests/test_distributed.py::test_dask_distributed_zarr_integration_test[True-True] 4.91s call xarray/tests/test_distributed.py::test_dask_distributed_cfgrib_integration_test 4.87s call xarray/tests/test_distributed.py::test_dask_distributed_read_netcdf_integration_test[netcdf4-NETCDF3_CLASSIC] 4.82s call xarray/tests/test_distributed.py::test_dask_distributed_read_netcdf_integration_test[netcdf4-NETCDF4_CLASSIC] 4.77s call xarray/tests/test_distributed.py::test_dask_distributed_read_netcdf_integration_test[scipy-NETCDF3_64BIT] 4.75s call xarray/tests/test_distributed.py::test_dask_distributed_read_netcdf_integration_test[h5netcdf-NETCDF4] 4.67s call xarray/tests/test_distributed.py::test_dask_distributed_read_netcdf_integration_test[netcdf4-NETCDF4] 4.32s call xarray/tests/test_distributed.py::test_dask_distributed_netcdf_roundtrip[scipy-NETCDF3_64BIT] 3.55s call xarray/tests/test_dataset.py::TestDataset::test_unstack_sparse 3.45s call properties/test_pandas_roundtrip.py::test_roundtrip_dataset 3.07s call xarray/tests/test_plot.py::TestFacetedLinePlots::test_facetgrid_shape 2.70s call xarray/tests/test_plot.py::TestDatasetScatterPlots::test_facetgrid_hue_style 2.67s call xarray/tests/test_sparse.py::TestSparseDataArrayAndDataset::test_groupby_bins ```
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  761270240
Powered by Datasette · Queries took 0.549ms · About: xarray-datasette