diff --git a/.github/workflows/Testing.yaml b/.github/workflows/Testing.yaml index 224c879..48d03b6 100644 --- a/.github/workflows/Testing.yaml +++ b/.github/workflows/Testing.yaml @@ -13,7 +13,6 @@ jobs: version: - '1.7' - '1' - - '1.11.1' - 'nightly' os: - ubuntu-latest diff --git a/perf/benchmark.jl b/perf/benchmark.jl index 2b2312c..dcfb363 100644 --- a/perf/benchmark.jl +++ b/perf/benchmark.jl @@ -114,7 +114,8 @@ println("======= breakdown benchmark =======") x = rand(100000) tf = Libtask.TapedFunction(ackley, x, nothing) tf(x, nothing); -ins = tf.tape[45] +idx = findlast((x)->isa(x, Libtask.Instruction), tf.tape) +ins = tf.tape[idx] b = ins.input[1] @show ins.input |> length