We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b19b10b commit 897f3cbCopy full SHA for 897f3cb
perf/benchmark.jl
@@ -14,20 +14,15 @@ function benchmark_driver!(f, x...; f_displayname=string(f))
14
@btime $f($(x)...)
15
GC.gc()
16
17
- print(" Run TapedFunction:")
18
- @btime $tf($(x)...)
19
- GC.gc()
20
-
21
- ctf = Libtask.compile(tf)
22
- print(" Run TapedFunction (compiled):")
23
- @btime $ctf($(x)...)
24
+ # print(" Run TapedFunction:")
+ # @btime $tf($(x)...)
+ # GC.gc()
25
26
print(" Run TapedTask: ")
27
x = (x[1:(end - 1)]..., produce)
28
# show the number of produce calls inside `f`
29
function f_task(f, x; verbose=false)
30
- tt = TapedTask(f, x...)
+ tt = TapedTask(nothing, f, x...)
31
c = 0
32
while consume(tt) !== nothing
33
c += 1
0 commit comments