issue_comments
2 rows where issue = 485508509 and user = 5635139 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Resample excecution time is significantly longer in version 0.12 than 0.11 · 2 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 526010224 | https://github.com/pydata/xarray/issues/3267#issuecomment-526010224 | https://api.github.com/repos/pydata/xarray/issues/3267 | MDEyOklzc3VlQ29tbWVudDUyNjAxMDIyNA== | max-sixty 5635139 | 2019-08-29T03:53:55Z | 2019-08-29T03:53:55Z | MEMBER | I do get a difference between master and xarray 0.11.3, although closer to 15%: ```python In [1]: import numpy as np ...: import xarray as xr ...: import pandas as pd ...: import time ...: ...: size = 1000000 ...: data = np.random.random(size) ...: times = pd.date_range('2019-01-01', periods=size, freq='ms') ...: da = xr.DataArray(data, dims=['time'], coords={'time': times}) ...: ...: start = time.time() ...: ...: da.resample(time='s').mean() ...: ...: print('Elapsed time: ' + str(time.time() - start)) ...: print('xarray version: ' + str(xr.version)) /usr/local/lib/python3.7/site-packages/xarray/core/merge.py:10: FutureWarning: The Panel class is removed from pandas. Accessing it from the top-level namespace will also be removed in the next version PANDAS_TYPES = (pd.Series, pd.DataFrame, pd.Panel) Elapsed time: 0.1272139549255371 xarray version: 0.11.3 ``` ```python In [1]: import numpy as np ...: import xarray as xr ...: import pandas as pd ...: import time ...: ...: size = 1000000 ...: data = np.random.random(size) ...: times = pd.date_range('2019-01-01', periods=size, freq='ms') ...: da = xr.DataArray(data, dims=['time'], coords={'time': times}) ...: ...: start = time.time() ...: ...: da.resample(time='s').mean() ...: ...: print('Elapsed time: ' + str(time.time() - start)) ...: print('xarray version: ' + str(xr.version)) Elapsed time: 0.14267230033874512 xarray version: 0.12.3+74.ge3b3bed2 ``` ...so I'm guessing it's another dependency. It looks like you have bottleneck installed. Anyone have other ideas for what might be causing this @pydata/xarray ? |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Resample excecution time is significantly longer in version 0.12 than 0.11 485508509 | |
| 525086439 | https://github.com/pydata/xarray/issues/3267#issuecomment-525086439 | https://api.github.com/repos/pydata/xarray/issues/3267 | MDEyOklzc3VlQ29tbWVudDUyNTA4NjQzOQ== | max-sixty 5635139 | 2019-08-27T00:36:29Z | 2019-08-27T00:36:29Z | MEMBER | Thanks for the clear issue @aspitarl I tried on master - it looks like it's back to the old timings. Do you want to confirm? ```python In [1]: ...: ...: import numpy as np ...: import xarray as xr ...: import pandas as pd ...: import time ...: ...: size = 1000000 ...: data = np.random.random(size) ...: times = pd.date_range('2019-01-01', periods=size, freq='ms') ...: da = xr.DataArray(data, dims=['time'], coords={'time': times}) ...: ...: start = time.time() ...: ...: da.resample(time='s').mean() ...: ...: print('Elapsed time: ' + str(time.time() - start)) ...: print('xarray version: ' + str(xr.version)) Elapsed time: 0.19948101043701172 xarray version: 0.12.3+74.ge3b3bed2 ``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Resample excecution time is significantly longer in version 0.12 than 0.11 485508509 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] (
[html_url] TEXT,
[issue_url] TEXT,
[id] INTEGER PRIMARY KEY,
[node_id] TEXT,
[user] INTEGER REFERENCES [users]([id]),
[created_at] TEXT,
[updated_at] TEXT,
[author_association] TEXT,
[body] TEXT,
[reactions] TEXT,
[performed_via_github_app] TEXT,
[issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
ON [issue_comments] ([user]);
user 1