Skip to content

Instantly share code, notes, and snippets.

@amclain
Created January 22, 2015 00:38
Show Gist options
  • Save amclain/48d306dfc28c5d44a030 to your computer and use it in GitHub Desktop.
Save amclain/48d306dfc28c5d44a030 to your computer and use it in GitHub Desktop.
require 'ionian'
t1 = Time.now
puts t1
begin
s = Ionian::Socket.new host: '192.168.253.253:5000'
ensure
t2 = Time.now
puts t2
td = t2 - t1
puts td
td
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment