summary refs log tree commit homepage
path: root/t/times.ru
blob: 8be3ed48fdb725de929b76673964cd239677d71c (plain)
1
2
3
4
5
6
use Rack::ContentLength
use Rack::ContentType, "text/plain"
run lambda { |env|
  t = Process.times
  [ 200, {}, [ "utime=#{t.utime} stime=#{t.stime}" ] ]
}