Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce runtimes of some more tests #4991

Merged
merged 1 commit into from Feb 15, 2021
Merged

Reduce runtimes of some more tests #4991

merged 1 commit into from Feb 15, 2021

Conversation

dstansby
Copy link
Member

  • The bulk of the time in the timeseries test is spent sorting the index, so just reduce the data size
  • Reduce the number of examples run in the Fido tests from 100 to 10.

Together I think this shaves ~15s off the core tests.

@dstansby dstansby requested review from a team as code owners February 14, 2021 18:22
@Cadair Cadair merged commit 917e3dc into sunpy:master Feb 15, 2021
@dstansby dstansby deleted the test-opt branch February 15, 2021 10:53
samaloney pushed a commit to samaloney/sunpy that referenced this pull request Feb 17, 2021
…/samaloney/sunpy into bugfix-srsclient-missing-tarball

* 'bugfix-srsclient-missing-tarball' of https://github.com/samaloney/sunpy: (62 commits)
  changed test and updated changelog
  More scraper range fixes
  Review updates and more test fixes
  Fix scraper to pass tests
  Add changelog
  Update scraper to use relativedelta not units
  Fix sunpy#4886 look for a tarball first fallback to individual files
  Docs for writing new Fido clients (sunpy#4387)
  Changed the X-axis labels for the histograms
  Update sunpy/map/mapbase.py
  Added an alternate histogram and colormap shading to quicklook
  Assorted Doc Build Fixes (sunpy#4993)
  Reduce number of rotatedsun test examples (sunpy#4990)
  Reduce runtimes of some more tests (sunpy#4991)
  Update changelog/4881.bugfix.rst
  Update sunpy/map/mapbase.py
  Handle time scale FITS metadata in map.date
  Bump minimum required Matplotlib version
  Convert stale bot to a GitHub action (sunpy#4980)
  added repr line limit to fido
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No Changelog Entry Needed Tests Affects tests in some measure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants