Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created September 1, 2009 22:00
Show Gist options
  • Select an option

  • Save methodmissing/179423 to your computer and use it in GitHub Desktop.

Select an option

Save methodmissing/179423 to your computer and use it in GitHub Desktop.
methodmissing:rb_aio_native lourens$ rake bench
(in /Users/lourens/projects/rb_aio_native)
/opt/local/ruby19/bin/ruby bench/read.rb
dir /Users/lourens in PATH, mode 040753
Rehearsal -------------------------------------------------------------
AIO.lio_listio(AIO::WAIT) 0.000000 0.000000 0.000000 ( 0.000154)
IO.read 0.000000 0.000000 0.000000 ( 0.000346)
---------------------------------------------------- total: 0.000000sec
user system total real
AIO.lio_listio(AIO::WAIT) 0.000000 0.000000 0.000000 ( 0.000040)
IO.read 0.000000 0.000000 0.000000 ( 0.000349)
Rehearsal ---------------------------------------------------------------
AIO.lio_listio(AIO::NOWAIT) 0.000000 0.000000 0.000000 ( 0.000040)
IO.read 0.000000 0.000000 0.000000 ( 0.000352)
------------------------------------------------------ total: 0.000000sec
user system total real
AIO.lio_listio(AIO::NOWAIT) 0.000000 0.000000 0.000000 ( 0.000033)
IO.read 0.000000 0.000000 0.000000 ( 0.000412)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment