railsbench 0.8.4 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: railsbench
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.8.4
7
- date: 2006-12-03 00:00:00 +01:00
6
+ version: 0.9.0
7
+ date: 2006-12-26 00:00:00 +01:00
8
8
  summary: rails benchmarking tools
9
9
  require_paths:
10
10
  - lib
@@ -33,6 +33,7 @@ files:
33
33
  - CHANGELOG
34
34
  - INSTALL
35
35
  - install.rb
36
+ - postinstall.rb
36
37
  - LICENSE
37
38
  - Manifest.txt
38
39
  - README
@@ -54,7 +55,6 @@ files:
54
55
  - script/perf_diff
55
56
  - script/perf_diff_gc
56
57
  - script/perf_html
57
- - script/perf_loop
58
58
  - script/perf_plot
59
59
  - script/perf_plot_gc
60
60
  - script/perf_prof
data/script/perf_loop DELETED
@@ -1,38 +0,0 @@
1
- #!/bin/sh
2
- # set -x
3
-
4
- BINDIR=`dirname $0`
5
- test -z $RAILS_PERF_RUNS && RAILS_PERF_RUNS=3
6
-
7
- FILE=$RAILS_BENCHMARK_FILE
8
- if [ "$OSTYPE" == "cygwin" ]; then
9
- RAILS_BENCHMARK_FILE=`cygpath -m $FILE`
10
- fi
11
-
12
- unset RUBY_GC_STATS
13
-
14
- echo "benchmarking $RAILS_PERF_RUNS runs with options $@"
15
- echo "$BINDIR/perf_bench $@" >$FILE
16
-
17
- patched_gc="no"
18
- for arg in $@; do
19
- case $arg in
20
- -gc=*) patched_gc=${arg#-gc=};;
21
- esac
22
- done
23
-
24
- if [ "${patched_gc}" = "no" ]; then
25
- unset RUBY_HEAP_MIN_SLOTS RUBY_GC_MALLOC_LIMIT RUBY_HEAP_FREE_MIN
26
- else
27
- . $RAILS_ROOT/config/${patched_gc}.gc
28
- export RUBY_HEAP_MIN_SLOTS RUBY_GC_MALLOC_LIMIT RUBY_HEAP_FREE_MIN
29
- fi
30
-
31
- i=$(( $RAILS_PERF_RUNS ))
32
- while [ $i -gt 0 ]; do
33
- i=$(( $i-1 ))
34
- ruby $BINDIR/perf_bench $@ >/dev/null || exit 1
35
- done
36
- echo >>$FILE
37
-
38
- # echo "performance data written to file $RAILS_BENCHMARK_FILE"