Skip to content

slow import #1260

Closed
Closed

Description

@brianpm

I've noticed that recent versions of uxarray seem to take a while to import. On casper I am usually seeing more than 10seconds (and less than a minute, with quite a bit of variation). Using version '2025.5.1' with python 3.12.3.

Activity

  1. self-assigned this
    on May 15, 2025
  2. rajeeja commented on May 15, 2025

    @rajeeja
    Contributor

    I noticed this also, indeed this is an issue, I wrote a script to test this out on my local osx machine, v2024.07.1 is an outlier at 11.26 s, recent one's are around 5.5, v2024.08.2 and v2024.04.0 are in 4 s range.

    Will run the profiler to check what's taking long..

    v2025.05.1: 5.3290 s
    
    v2025.05.0: 5.4735 s
    
    v2025.04.0: 5.5810 s
    
    v2025.03.0: 5.5754 s
    
    v2025.02.1: 5.4720 s
    
    v2025.02.0: 5.4160 s
    
    v2025.01.0: 5.5482 s
    
    v2024.12.0: 5.3332 s
    
    v2024.11.1: 5.5428 s
    
    v2024.11.0: 6.3427 s
    
    v2024.10.1: 6.2609 s
    
    v2024.10.0: 5.3786 s
    
    v2024.08.2: 4.2361 s
    
    v2024.08.1: 4.2115 s
    
    v2024.08.0: 4.3526 s
    
    v2024.07.1: 11.2629 s
    
    v2024.07.0: 4.2546 s
    
    v2024.06.0: 4.1834 s
    
    v2024.05.0: 4.5880 s
    
    v2024.04.0: 4.2596 s
    
  3. rajeeja commented on May 16, 2025

    @rajeeja
    Contributor

    There are several, but this on:

    from holoviews.operation.datashader import rasterize as hds_rasterize
    

    takes forever.. from file: uxarray/plot/dataarray_plot.py

  4. philipc2 commented on May 18, 2025

    @philipc2
    Member
  5. moved this from 📚 Backlog to ✅ Done in UXarray Developmenton May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions