Skip to content

Remove unnecessary time conversion in histograms #98

Description

@alexhroom

Currently, the time conversion in make_histogram is applied to convert each time from nanoseconds to microseconds. We could instead convert max_time and min_time to nanoseconds and only do the multiplication twice instead of n_events times, which should provide a small performance boost.

Activity

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

Metadata

Metadata

Assignees

Labels

choreA simple, rote task which just needs to be done and requires little problem-solvinghistogramsConcerns the production of output histogramsperformanceImproving the time or memory usage of the code

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions