aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-03-19 13:18:06 +0100
committerBjörn Gustavsson <[email protected]>2015-04-10 12:33:24 +0200
commit0aaf8f67be3526656551d0011e8d8d6cf84e35fe (patch)
tree152b05405983eb16cbcfe887a5b98b4bae57823b /lib
parentcb80bb4b49816699178bcbb5986c75515330a0a9 (diff)
downloadotp-0aaf8f67be3526656551d0011e8d8d6cf84e35fe.tar.gz
otp-0aaf8f67be3526656551d0011e8d8d6cf84e35fe.tar.bz2
otp-0aaf8f67be3526656551d0011e8d8d6cf84e35fe.zip
Speed up timer_simple_SUITE:timer_perf/1
In big_test/1, there is 9 seconds sleep before spawning any timers. Why? Before the sleep nrev processes are started, but they are likely to finish running before the 9 seconds have elapsed. Since I see no reason at all for the sleep, I will remove it.
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/test/timer_simple_SUITE.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/stdlib/test/timer_simple_SUITE.erl b/lib/stdlib/test/timer_simple_SUITE.erl
index dc751aad16..917624b56b 100644
--- a/lib/stdlib/test/timer_simple_SUITE.erl
+++ b/lib/stdlib/test/timer_simple_SUITE.erl
@@ -374,7 +374,6 @@ performance(Mod) ->
big_test(M) ->
Load_Pids = start_nrev(20, M), % Increase if more load wanted :)
- apply(M, sleep, [9000]),
LPids = spawn_timers(5, M, 10000, 5),
apply(M, sleep, [4000]),