-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit tests for code under src/gc/ and ./src/pal/src/misc/ ? #13156
Comments
Additional question: there's a file |
so recently we've been working on open sourcing our perf test suite that should be used for something like this. @andy-ms is the main contact on that. it will include container testing. he's out sick today but I will check with him where he's at wrt that when he's in. |
Hey folks! It's been a few months and I want to circle back here. I am looking for any pointers/docs/examples for testing cgroupv2 support. I am happy to implement both unit and performance tests to make sure cgroupv2 is support by coreclr. @andy-ms, Are there any open source-perf tests I can base off of? Could you point me to any examples/docs for these perf tests? Also, I think we are getting late with this, because Fedora 31 is about to be released. Fedora 31 only supports cgroupv2 out of the box and makes using coreclr in a container context harder than it needs to be. |
There are GC performance tests at https://github.com/dotnet/performance/tree/master/src/benchmarks/gc . There is a tutorial in the README that can help get you started. Let me know if you need any help using this. |
this was open sourced so closing this...if you have problems running the perf suite (explained in the readme from the link @andy-ms mentioned above please feel free to open an issue at the dotnet/performance repo. |
I am looking to port the changes in dotnet/corefx#39686 to coreclr too. The coreclr code is getting a bit hairy and adding unit tests would give me confidence that everything is working as designed.
I am modifying these two files:
./src/gc/unix/cgroup.cpp
./src/pal/src/misc/cgroup.cpp
Are there existing unit tests (as in, tests that always run, irrespective of the environment) for these two files? If not, where would be the best place to add them?
The text was updated successfully, but these errors were encountered: