Fix unit tests to give the sampling profiler something to profile.
parent
f3c8423382
commit
ee741143e0
|
@ -11,9 +11,8 @@ TUPLE: boom ;
|
||||||
{ } [ 10 [ [ 100 [ 1000 random (byte-array) drop ] times compact-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
|
{ } [ 2 [ [ 1 seconds sleep ] profile ] times ] unit-test
|
||||||
|
|
||||||
|
[ ] [ [ 1,000,000 iota [ sq ] map drop ] profile flat profile. ] unit-test
|
||||||
[ ] [ [ 10 iota [ sq ] map ] profile flat profile. ] unit-test
|
[ ] [ [ 1,000,000 iota [ sq ] map drop ] profile top-down profile. ] unit-test
|
||||||
[ ] [ [ 10 iota [ sq ] map ] profile top-down profile. ] unit-test
|
|
||||||
|
|
||||||
(clear-samples)
|
(clear-samples)
|
||||||
f raw-profile-data set-global
|
f raw-profile-data set-global
|
||||||
|
|
Loading…
Reference in New Issue