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

Initial cut at benchmarking #198

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Aug 28, 2023

  1. Initial cut at benchmarking

    Add some benchmark tests to compare PintArray performance against NumPy arrays of quantities.  Over time we should be able to show specific patterns where PintArrays confer substantial performance advantages over naive use of Quantities with Pandas.
    
    Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com>
    MichaelTiemannOSC committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    d15b25e View commit details
    Browse the repository at this point in the history
  2. Update conftest.py

    Duplicate code from pint/pint/testsuite/conftest.py.  Ruff and Black conspired to delete simple imports of relevant fixture definitions.
    
    Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com>
    MichaelTiemannOSC committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    0a1aad6 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. Update test_30_numpy.py

    Properly tease apart species of tests so we can compare Pint vs Numpy vs Pandas each in their own lanes.
    
    I still don't know how to get pytest-benchmark to properly install within the CI/CD system.
    
    Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com>
    MichaelTiemannOSC committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    2500c4e View commit details
    Browse the repository at this point in the history
  2. Cleanup lint in test_30_numpy.py

    Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com>
    MichaelTiemannOSC committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    fa46bda View commit details
    Browse the repository at this point in the history
  3. Make ruff happy with test_30_numpy.py

    Signed-off-by: Michael Tiemann <72577720+MichaelTiemannOSC@users.noreply.github.com>
    MichaelTiemannOSC committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    eed69b7 View commit details
    Browse the repository at this point in the history