cuelang.org/go@v0.10.1/tools/flow/testdata/statsfail.txtar (about) 1 #IgnoreConcrete: true 2 #InferTasks: true 3 -- in.cue -- 4 package p 5 6 import "tool/cli" 7 8 root: test: cli.Print & { text: data.str } 9 10 data: { 11 str: ({in: 3, out: "0\(in)"}).out 12 } 13 -- out/run/errors -- 14 -- out/run/t0 -- 15 graph TD 16 t0("root.test [Ready]") 17 18 -- out/run/t1 -- 19 graph TD 20 t0("root.test [Terminated]") 21 22 -- out/run/t1/value -- 23 { 24 $id: "tool/cli.Print" 25 stdout: "foo" 26 text: "03" 27 } 28 -- out/run/t1/stats -- 29 Leaks: 8 30 Freed: 20 31 Reused: 16 32 Allocs: 12 33 Retain: 24 34 35 Unifications: 26 36 Conjuncts: 33 37 Disjuncts: 38 38 -- out/run/stats/totals -- 39 Leaks: 8 40 Freed: 20 41 Reused: 16 42 Allocs: 12 43 Retain: 24 44 45 Unifications: 26 46 Conjuncts: 33 47 Disjuncts: 38 48 -- out/run/t2 -- 49 graph TD 50 t0("root.prepare [Terminated]") 51 t1("root.run [Terminated]") 52 t1-->t0 53 54 -- out/run/t2/value -- 55 { 56 $id: "run" 57 stdout: "foo" 58 env: { 59 input: "foo" 60 } 61 } 62 -- out/run/t2/stats -- 63 Leaks: 0 64 Freed: 12 65 Reused: 12 66 Allocs: 0 67 Retain: 0 68 69 Unifications: 12 70 Conjuncts: 20 71 Disjuncts: 12