Skip to content

Commit

Permalink
Introduce performance regression
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Jul 11, 2024
1 parent 3a98148 commit a932d84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fast_histogram/histogram.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import numbers

import time
import numpy as np

from ._histogram_core import (
Expand Down Expand Up @@ -37,6 +38,8 @@ def histogram1d(x, bins, range, weights=None):
The 1D histogram array
"""

time.sleep(0.1)

nx = bins

if not np.isscalar(bins):
Expand Down

0 comments on commit a932d84

Please sign in to comment.