summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2005-12-10 05:00:20 +0000
committermurphy <murphy@rubychan.de>2005-12-10 05:00:20 +0000
commit1eb7a5bb7deac7863f672e1aa1b52412d767a2e4 (patch)
treeba2ea9f1685d2a060f4646d7544951a65b2b4f47 /bench
parentc1b6c6339f602b8ecf69c8cb330319d99e039063 (diff)
downloadcoderay-1eb7a5bb7deac7863f672e1aa1b52412d767a2e4.tar.gz
bench.rb fixed, example output added.
Diffstat (limited to 'bench')
-rw-r--r--bench/bench.rb1
-rw-r--r--bench/output9
2 files changed, 9 insertions, 1 deletions
diff --git a/bench/bench.rb b/bench/bench.rb
index f7c7388..5acaf46 100644
--- a/bench/bench.rb
+++ b/bench/bench.rb
@@ -134,7 +134,6 @@ Benchmark.bm(20) do |bm|
begin
v = $VERBOSE
$VERBOSE = nil
- raise
output = c.convert(data)
$VERBOSE = v
rescue => boom
diff --git a/bench/output b/bench/output
new file mode 100644
index 0000000..9774b4a
--- /dev/null
+++ b/bench/output
@@ -0,0 +1,9 @@
+L:\root\trunk>ruby -rubygems -Ilib bench\bench.rb ruby comp
+ user system total real
+CodeRay 1.042000 0.010000 1.052000 ( 1.092000)
+ 91.58 KB/sec (100.0 KB) 21.38 KTok/sec
+Syntax 9.854000 0.110000 9.964000 ( 9.984000)
+ 10.02 KB/sec
+SilverCity 0.000000 0.000000 0.000000 ( 6.209000)
+ 16.11 KB/sec
+Files created: test.html, test.syntax.html, test.silvercity.html