diff --git a/go/perf/codec-perf-rig/codec-perf-rig b/go/perf/codec-perf-rig/codec-perf-rig new file mode 100755 index 0000000000..fbb49b5972 Binary files /dev/null and b/go/perf/codec-perf-rig/codec-perf-rig differ diff --git a/go/types/value_store.go b/go/types/value_store.go index c43abb72be..6f2a25b93c 100644 --- a/go/types/value_store.go +++ b/go/types/value_store.go @@ -186,7 +186,9 @@ func (lvs *ValueStore) checkChunksInCache(v Value, readValues bool) Hints { reachableV = lvs.ReadValue(targetHash) entry = lvs.check(targetHash) } - d.PanicIfTrue(reachableV == nil, "Attempted to write Value containing Ref to non-existent object.", "%s\n, contains ref %s, which points to a non-existent Value.", EncodedValueWithTags(v), reachable.TargetHash()) + if reachableV == nil { + d.Chk.Fail("Attempted to write Value containing Ref to non-existent object.", "%s\n, contains ref %s, which points to a non-existent Value.", v.Hash(), reachable.TargetHash()) + } } if hint := entry.Hint(); !hint.IsEmpty() { hints[hint] = struct{}{}