dart-sdk/runtime/tests/concurrency
Brian Quinlan 2ead86ab9d Implement anonymous pipes and the ability to transmit them between processes using Unix Domain Sockets.
Change-Id: I9c9f4ec0e99075a29c6f4d97c503e759134eb094
TESTED=Unit tests
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/257804
Commit-Queue: Brian Quinlan <bquinlan@google.com>
Reviewed-by: Lasse Nielsen <lrn@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2022-09-13 21:16:28 +00:00
..
generate_stress_test.dart Change references to "dartfmt" in runtime and tools to "dart format". 2021-10-01 18:16:27 +00:00
generate_stress_test_list.dart [vm/concurrency] Add isolate stress test generation code 2021-05-11 09:35:23 +00:00
README.md [vm/concurrency] Add isolate stress test generation code 2021-05-11 09:35:23 +00:00
run_stress_test_shards.dart [vm/concurrency] Remove --(no-)enable-isolate-groups flag usage in tests 2021-11-04 18:57:21 +00:00
stress_test_list.json Implement anonymous pipes and the ability to transmit them between processes using Unix Domain Sockets. 2022-09-13 21:16:28 +00:00

This directory contains code to produce a large isolate stress test. It has the following helper files:

generate_stress_test_list.dart: Will recursively walk test suite directories, tries to run tests and see whether they could be included as part of the stress test.

Only tests that are passing, run reasonably quick and don't use features that prevent running them inside isolates will be considered.

=> The filtered tests that are considered will be written into stress_test_list.json.

The resulting stress_test_list.json file was hand-edited afterwards to remove certain tests that have passed the simple automated filter but cannot be used as part of the stress test.

generate_stress_test.dart: Can be used to consume stress_test_list.json and build the stress test files.

stress_test_list.json: Contains two lists of tests (one for NNBD and one for non-NNBD) that can be used to generate a stress test.

To ensure the list doesn't get out-of-date we have two tests on regular bots that will try to compile the stress test to kernel, thereby ensuring that the files at least exist and compile, see runtime/tests/vm/{dart,dart_2}/isolates/concurrency_stress_sanity_test.dart.