Skip to content

Idea: add a 'performance' section to the docs for each sub-package #5753

Closed

Description

@astrofrog

For each sub-package, there are various tips and tricks to improve performance. It would be nice if in the docs for each sub-package, we had a performance section that discusses any performance considerations for that specific sub-package. For instance, for astropy.coordinates, we would mention things like using SkyCoord arrays instead of SkyCoord. For astropy.units, we could point out how to make a quantity without copying the data, and so on.

Activity

  1. eteq commented on Sep 18, 2017

    @eteq
    Member

    Decision from the 2017 coordination meeting:

    • We should do this for 3.0
    • If there are any tips of relevance, a subpackage should create a performance.rst file in their documentation section
    • @astrofrog volunteered to create a TOC page that references all of these subpackage section
    • subpackage maintainers will decide whether it's a good idea for a particular subpackage
  2. added this to the v3.0.0 milestone on Sep 18, 2017
  3. modified the milestones: v3.0.0, v3.1 on Dec 8, 2017
  4. eteq commented on Jun 22, 2018

    @eteq
    Member

    From discussion in the June 22,2018 Astropy telecon: it should be possible to use .. include:: to have the performance section appear inline for short performance sections. This doesn't block making all the performance.rst sections, though.

  5. self-assigned this
    on Jun 22, 2018
  6. pllim commented on Aug 21, 2018

    @pllim
    Member

    For units, based on performance survey, should also include discussion on how to get better performance via vectorization and strategically placed parenthesis.

  7. bsipocz commented on Nov 7, 2018

    @bsipocz
    Member

    @astropy/astropy-core-maintainers - please don't forget to fill out the performace section of the narrative documentation for your subpackages, those documents have to be part of the 3.1 release.

  8. bsipocz commented on Nov 13, 2018

    @bsipocz
    Member

    This was addressed in #8096, we don't need this issue being open to add more such tips to the docs.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions