cuelang.org/go@v0.10.1/cue/testdata/benchmarks/deduparc.txtar (about) 1 -- stats.txt -- 2 Leaks: 0 3 Freed: 11 4 Reused: 6 5 Allocs: 5 6 Retain: 0 7 8 Unifications: 7 9 Conjuncts: 29 10 Disjuncts: 11 11 12 -- in.cue -- 13 package bench1 14 15 #Value: {type: "float"} | {type: "string"} 16 17 foo: {type: "string"} 18 foo: #Value 19 foo: #Value 20 foo: #Value 21 foo: #Value 22 foo: #Value 23 foo: #Value 24 foo: #Value 25 foo: #Value 26 foo: #Value 27 foo: #Value 28 foo: #Value 29 foo: #Value 30 foo: #Value 31 foo: #Value 32 foo: #Value 33 -- out/eval/stats -- 34 Leaks: 0 35 Freed: 11 36 Reused: 6 37 Allocs: 5 38 Retain: 0 39 40 Unifications: 7 41 Conjuncts: 29 42 Disjuncts: 11 43 -- out/eval -- 44 (struct){ 45 #Value: (#struct){ |((#struct){ 46 type: (string){ "float" } 47 }, (#struct){ 48 type: (string){ "string" } 49 }) } 50 foo: (#struct){ 51 type: (string){ "string" } 52 } 53 } 54 -- out/compile -- 55 --- in.cue 56 { 57 #Value: ({ 58 type: "float" 59 }|{ 60 type: "string" 61 }) 62 foo: { 63 type: "string" 64 } 65 foo: 〈0;#Value〉 66 foo: 〈0;#Value〉 67 foo: 〈0;#Value〉 68 foo: 〈0;#Value〉 69 foo: 〈0;#Value〉 70 foo: 〈0;#Value〉 71 foo: 〈0;#Value〉 72 foo: 〈0;#Value〉 73 foo: 〈0;#Value〉 74 foo: 〈0;#Value〉 75 foo: 〈0;#Value〉 76 foo: 〈0;#Value〉 77 foo: 〈0;#Value〉 78 foo: 〈0;#Value〉 79 foo: 〈0;#Value〉 80 }