Skip to content

Commit 5768cc6

Browse files
authored
Merge pull request #513 from light-curve/bench-obs-count
Benchmark ObservationCount feature
2 parents 3b9c973 + bf2e58c commit 5768cc6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

light-curve/tests/test_w_bench.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,13 @@ class TestMedianBufferRangePercentage(_Test):
547547
kwargs = dict(quantile=quantile)
548548

549549

550+
class TestObservationCount(_Test):
551+
name = "ObservationCount"
552+
553+
def naive(self, t, m, sigma):
554+
return len(t)
555+
556+
550557
class TestPercentAmplitude(_Test):
551558
name = "PercentAmplitude"
552559

0 commit comments

Comments
 (0)