Skip to content

Commit 23fbd38

Browse files
update benchmark
1 parent de0d3f1 commit 23fbd38

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/perf/test_perf_cdm.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ ds = NCDataset(fname)
1111

1212
data_f64 = Float64.(ds[:data][:,:,:])
1313

14-
println("runtime")
14+
println("runtime of mean")
1515
gm = @btime begin
1616
write("/proc/sys/vm/drop_caches","3")
1717
mean(@groupby(ds[:data],Dates.Month(time)))[:,:,:];
1818
end
1919

20+
println("runtime of std")
21+
2022
# Welford
2123
gs = @btime begin
2224
write("/proc/sys/vm/drop_caches","3")

0 commit comments

Comments
 (0)