This file is indexed.

/usr/share/doc/ruby1.9.1-examples/examples/drb/speedc.rb is in ruby1.9.1-examples 1.9.3.484-2ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/ruby1.9.1

uri = ARGV.shift || raise("usage: #{$0} URI")
N = (ARGV.shift || 100).to_i

case uri
when /^tcpromp:/, /^unixromp:/
  require 'romp'

  client = ROMP::Client.new(uri, false)
  foo = client.resolve("foo")
when /^druby:/
  require 'drb/drb'

  DRb.start_service
  foo = DRbObject.new(nil, uri)
end

N.times do |n|
  foo.foo(n)
end