Created
September 4, 2009 22:08
-
-
Save methodmissing/181181 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| methodmissing:rb_aio_native lourens$ rake bench | |
| (in /Users/lourens/projects/rb_aio_native) | |
| /opt/local/bin/ruby bench/read.rb | |
| * Bench reads ... | |
| Rehearsal ------------------------------------------------------------- | |
| AIO.lio_listio(AIO::WAIT) 0.000000 0.000000 0.000000 ( 0.000100) | |
| IO.read 0.000000 0.000000 0.000000 ( 0.000257) | |
| ---------------------------------------------------- total: 0.000000sec | |
| user system total real | |
| AIO.lio_listio(AIO::WAIT) 0.000000 0.000000 0.000000 ( 0.000016) | |
| IO.read 0.000000 0.000000 0.000000 ( 0.000241) | |
| Rehearsal --------------------------------------------------------------- | |
| AIO.lio_listio(AIO::NOWAIT) 0.000000 0.000000 0.000000 ( 0.000031) | |
| IO.read 0.000000 0.000000 0.000000 ( 0.000249) | |
| ------------------------------------------------------ total: 0.000000sec | |
| user system total real | |
| AIO.lio_listio(AIO::NOWAIT) 0.000000 0.000000 0.000000 ( 0.000016) | |
| IO.read 0.000000 0.000000 0.000000 ( 0.000240) | |
| /opt/local/bin/ruby bench/write.rb | |
| * Bench writes ... | |
| Rehearsal ------------------------------------------------------------- | |
| AIO.lio_listio(AIO::WAIT) 0.000000 0.000000 0.000000 ( 0.000430) | |
| IO.write 0.000000 0.000000 0.000000 ( 0.000281) | |
| ---------------------------------------------------- total: 0.000000sec | |
| user system total real | |
| AIO.lio_listio(AIO::WAIT) 0.000000 0.000000 0.000000 ( 0.000019) | |
| IO.write 0.000000 0.000000 0.000000 ( 0.000517) | |
| Rehearsal --------------------------------------------------------------- | |
| AIO.lio_listio(AIO::NOWAIT) 0.000000 0.000000 0.000000 ( 0.000110) | |
| IO.write 0.000000 0.000000 0.000000 ( 0.000210) | |
| ------------------------------------------------------ total: 0.000000sec | |
| user system total real | |
| AIO.lio_listio(AIO::NOWAIT) 0.000000 0.000000 0.000000 ( 0.000017) | |
| IO.write 0.000000 0.000000 0.000000 ( 0.000171) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment