Sha256: 8be1b2511d8a075ab2922302a50859a537af3b59b657518c7023f83f6d7c1e3e
Contents?: true
Size: 395 Bytes
Versions: 10
Compression:
Stored size: 395 Bytes
Contents
require 'rubygems' require File.expand_path(File.join(File.dirname(__FILE__), %w[.. .. lib Active])) include Active::Services Benchmark.bm(700) do |x| x.report("string:") { Search.new({:keywords => "running,swimming,yoga"}) } x.report("array:") { Search.new({:keywords => %w(running swimming yoga)}) } x.report("Array:") { Search.new({:keywords => ["running","swimming","yoga"]}) } end
Version data entries
10 entries across 10 versions & 1 rubygems