aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2018-01-05 16:30:03 +0100
committerDan Gudmundsson <[email protected]>2018-01-11 14:53:16 +0100
commit4cd303540533ec8b7d51b6079fbbf880c179a14f (patch)
tree6dfe4ee21097b29fa9520e6b9424adb2fc1890f3 /lib/observer/test
parent31782c3accacafb20bc7efd46004921aea8f9f22 (diff)
downloadotp-4cd303540533ec8b7d51b6079fbbf880c179a14f.tar.gz
otp-4cd303540533ec8b7d51b6079fbbf880c179a14f.tar.bz2
otp-4cd303540533ec8b7d51b6079fbbf880c179a14f.zip
observer: Optimize tv tab for many tables
Make it a virtual table, the only table which was not a virtual table. Updating 10000 rows with many columns and alternating colors takes too long time to be a viable solution.
Diffstat (limited to 'lib/observer/test')
-rw-r--r--lib/observer/test/observer_SUITE.erl7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/observer/test/observer_SUITE.erl b/lib/observer/test/observer_SUITE.erl
index 0db2c1ea77..fd4f93f662 100644
--- a/lib/observer/test/observer_SUITE.erl
+++ b/lib/observer/test/observer_SUITE.erl
@@ -113,7 +113,12 @@ appup_file(Config) when is_list(Config) ->
basic(suite) -> [];
basic(doc) -> [""];
basic(Config) when is_list(Config) ->
- timer:send_after(100, "foobar"), %% Otherwise the timer server gets added to procs
+ %% Start these before
+ wx:new(),
+ wx:destroy(),
+ timer:send_after(100, "foobar"),
+ {foo, node@machine} ! dummy_msg, %% start distribution stuff
+ %% Otherwise ever lasting servers gets added to procs
ProcsBefore = processes(),
ProcInfoBefore = [{P,process_info(P)} || P <- ProcsBefore],
NumProcsBefore = length(ProcsBefore),