diff --git a/bench/layers.mjs b/bench/layers.mjs index 1394e34..85a0ffd 100644 --- a/bench/layers.mjs +++ b/bench/layers.mjs @@ -176,6 +176,11 @@ function runCellx(layers, done) { const solution = [end.a.get(), end.b.get(), end.c.get(), end.d.get()] const endTime = performance.now() - startTime + start.a.dispose(); + start.b.dispose(); + start.c.dispose(); + start.d.dispose(); + done(isSolution(layers, solution) ? endTime : 'wrong') }