X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mono%2Ftests%2Fsuspend-stress-test.cs;h=3289a3ec4a8316ef98d06804ad5612a138e50907;hb=d67c6000ce1d36f882eea059b8f874456055a6b9;hp=5892314a451d1972f98aa8cc24eb598530f3e3c9;hpb=85c134c42779c8c2df4ee401c2d19c827a17ac07;p=mono.git diff --git a/mono/tests/suspend-stress-test.cs b/mono/tests/suspend-stress-test.cs index 5892314a451..3289a3ec4a8 100644 --- a/mono/tests/suspend-stress-test.cs +++ b/mono/tests/suspend-stress-test.cs @@ -4,6 +4,26 @@ using System.Threading; using System.Diagnostics; using System.IO; +/* +TODO + Some tests are much more expensive than others (on cycles and synchronization), add a calibration step to figure out duration. + Some tests are more disrruptive than others, add weights to tests so some are picked more frequently. + The workload is too static, add some background generation noise tests. + The workload is too stable, add perturbance on the number of available tasks. + Fuse threadpool with non threadpool workloads by firing some tasks as separate threads. + Add an external watchdog so we can run the stress test in a loop for very long times and get results out of it. + We don't have enough tests, add one per locking operation we got in the runtime. + +Missing tests: + Ephemerons + Dynamic methods + Regular SRE + Remoting / Transparent Proxies + Context locals + Thread locals + Finalizers + Async socket IO +*/ class Driver { static bool stop_please;