damog-feedbag 0.5.10 → 0.5.11
Sign up to get free protection for your applications and to get access to all the features.
- data/benchmark/rfeedfinder_benchmark.rb +30 -0
- metadata +2 -1
@@ -0,0 +1,30 @@
|
|
1
|
+
require "benchmark"
|
2
|
+
require "rubygems"
|
3
|
+
|
4
|
+
sites = [
|
5
|
+
"log.damog.net",
|
6
|
+
"http://cnn.com",
|
7
|
+
"scripting.com",
|
8
|
+
"mx.planetalinux.org",
|
9
|
+
"http://feedproxy.google.com/UniversoPlanetaLinux",
|
10
|
+
]
|
11
|
+
|
12
|
+
Benchmark.bm do |x|
|
13
|
+
sites.each do |site|
|
14
|
+
puts "#{site}:"
|
15
|
+
|
16
|
+
puts " feedbag"
|
17
|
+
x.report {
|
18
|
+
require 'feedbag'
|
19
|
+
Feedbag.find(site)
|
20
|
+
}
|
21
|
+
|
22
|
+
puts " rfeedfinder"
|
23
|
+
x.report {
|
24
|
+
require 'rfeedfinder'
|
25
|
+
Rfeedfinder.feed(site)
|
26
|
+
}
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: damog-feedbag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Axiombox
|
@@ -34,6 +34,7 @@ extra_rdoc_files:
|
|
34
34
|
- COPYING
|
35
35
|
files:
|
36
36
|
- lib/feedbag.rb
|
37
|
+
- benchmark/rfeedfinder_benchmark.rb
|
37
38
|
- README.markdown
|
38
39
|
- COPYING
|
39
40
|
has_rdoc: true
|