Skip to content

Slow loading of file into arrays. #1314

Open
@JoyYTZhou

Description

@JoyYTZhou

Hi all,

I've recently experienced an issue with uproot.open('someNANOAOD12.root:Events').arrays(lib='ak'). The file I am experimenting with only has 680 entries and a size of 4.053MB. I am timing only the operation of getting the arrays for the tree object, and it takes 20.8 seconds.

I never had such issues before with much larger files with some older version of uproot (I think it was still 5 but a particular release). I am now using version 5.4.1. I am not sure if it's an issue with uproot or awkward. I am leaning toward it being an uproot error since I've had my awkward version fixed in virtual env.

Any help would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug (unverified)The problem described would be a bug, but needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions