diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-27 07:23:02 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-27 07:23:02 +0000 |
commit | 0b5ef5f37d9a1258f9a039864f442a4d30e6e1df (patch) | |
tree | 49334554915e589e13839d94b877507f15e32fbd /thread.c | |
parent | ba4d0899cf134abf0927d1ebe11d9ac033baf9d4 (diff) | |
download | ruby-0b5ef5f37d9a1258f9a039864f442a4d30e6e1df.tar.gz |
test for IO.copy_stream CPU usage (r58534)
I'm likely to make similar mistakes in the future when working
on Fiber auto-scheduling. Start adding assertions for existing
code, first.
* test/ruby/test_io.rb (test_copy_stream_no_busy_wait): added
* test/lib/test/unit/assertions.rb (assert_cpu_usage_low): added
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
0 files changed, 0 insertions, 0 deletions