From fd96103d50271266f053adacf43ff4004ed7f4c4 Mon Sep 17 00:00:00 2001 From: Joe Groff <arcata@gmail.com> Date: Tue, 1 Nov 2011 19:39:00 -0700 Subject: [PATCH] tools.profiler.sampling: smoke test compact-gc --- basis/tools/profiler/sampling/sampling-tests.factor | 1 + 1 file changed, 1 insertion(+) diff --git a/basis/tools/profiler/sampling/sampling-tests.factor b/basis/tools/profiler/sampling/sampling-tests.factor index fabd7725ca..615cf97018 100644 --- a/basis/tools/profiler/sampling/sampling-tests.factor +++ b/basis/tools/profiler/sampling/sampling-tests.factor @@ -8,6 +8,7 @@ TUPLE: boom ; { } [ 10 [ [ ] profile ] times ] unit-test [ 10 [ [ boom new throw ] profile ] times ] [ boom? ] must-fail-with { } [ 10 [ [ 100 [ 1000 random (byte-array) drop ] times gc ] profile ] times ] unit-test +{ } [ 10 [ [ 100 [ 1000 random (byte-array) drop ] times compact-gc ] profile ] times ] unit-test { } [ 2 [ [ 1 seconds sleep ] profile ] times ] unit-test (clear-samples)