rubyrun 0.9.0 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README +50 -50
- data/bin/Rakefile +11 -0
- data/docs/{rubyrun-0.9.0.htm → rubyrun-0.9.5.htm} +2262 -2669
- data/docs/{rubyrun-0.9.0.pdf → rubyrun-0.9.5.pdf} +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/colorschememapping.xml +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/filelist.xml +1 -1
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/header.htm +10 -13
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image001.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image002.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image003.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image004.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image005.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image006.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image007.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image008.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image009.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image010.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image011.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image012.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image013.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image014.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image015.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image016.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image017.png +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image018.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image019.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image020.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image021.jpg +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image022.png +0 -0
- data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/themedata.thmx +0 -0
- data/ext/extconf.rb +2 -1
- data/ext/{rubyrunnative__.bundle → rubyrunnative__ppc-darwin.bundle} +0 -0
- data/ext/{rubyrunnative__i386.bundle → rubyrunnative__x86-darwin.bundle} +0 -0
- data/ext/{rubyrunnative__linux.so → rubyrunnative__x86-linux.so} +0 -0
- data/ext/{rubyrunnative__.so → rubyrunnative__x86-mswin32.so} +0 -0
- data/lib/rubyrun/rubyrun.rb +2 -78
- data/lib/rubyrun/rubyrun_boot__.rb +79 -0
- data/lib/rubyrun/rubyrun_commander__.rb +6 -6
- data/lib/rubyrun/rubyrun_globals.rb +2 -1
- data/lib/rubyrun/rubyrun_initializer__.rb +34 -7
- data/lib/rubyrun/rubyrun_instrumentor__.rb +3 -3
- data/lib/rubyrun/rubyrun_monitor__.rb +2 -1
- data/lib/rubyrun/rubyrun_utils__.rb +7 -4
- metadata +48 -45
- data/Rakefile +0 -274
- data/bin/confgure +0 -2
- data/lib/rubyrunm.rb +0 -10
data/README
CHANGED
@@ -6,12 +6,11 @@
|
|
6
6
|
# Use, duplication or disclosure of the code is not permitted #
|
7
7
|
# unless licensed. #
|
8
8
|
# #
|
9
|
-
# Last Updated:
|
9
|
+
# Last Updated: 7/31/08 #
|
10
10
|
#---------------------------------------------------------------#
|
11
11
|
|
12
12
|
WARRANTY
|
13
|
-
|
14
|
-
|
13
|
+
--------
|
15
14
|
THIS SOFTWARE IS PROVIDED BY RUBYSOPHIC INC "AS IS" WITHOUT ANY EXPRESS OR
|
16
15
|
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
17
16
|
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE IS DISCLAIMED. THE SOFTWARE
|
@@ -21,57 +20,58 @@ LOSS OF PROFITS, USE OR DATA; INTERRUPTION TO THE BUSINESS) HOWEVER CAUSED AND
|
|
21
20
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT OR STRICT LIABILITY ARISING
|
22
21
|
OUT OF USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF THE DAMAGE
|
23
22
|
|
24
|
-
|
25
|
-
|
26
23
|
Product Description
|
27
|
-
|
24
|
+
-------------------
|
25
|
+
RubyRun Community Edition is an application performance diagnostic solution
|
26
|
+
for Ruby developers. It is meant to help them gain visibility into the behavior
|
27
|
+
of their code in different operating environments, and understand the response
|
28
|
+
time hotspots of typical Rails requests.
|
28
29
|
|
29
|
-
|
30
|
-
|
31
|
-
|
30
|
+
Developers can also use RubyRun to diagnose typical application performance
|
31
|
+
problems such as hung and slow transactions in development, QA, stress test,
|
32
|
+
and production environments.
|
32
33
|
|
33
|
-
Please refer to the
|
34
|
-
|
35
|
-
docs/rubyrun-0.9.0.htm
|
34
|
+
Please refer to the documentation in docs/rubyrun-0.9.5.htm for full description
|
35
|
+
of features and usage of the product.
|
36
36
|
|
37
37
|
Obtaining the software
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
gem
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
38
|
+
----------------------
|
39
|
+
Latest version of RubyRun_CE is available at http://www.rubysophic.com
|
40
|
+
RubyRun_CE is also available for download as gem at http://www.rubyforge.org
|
41
|
+
|
42
|
+
Installing the software
|
43
|
+
-----------------------
|
44
|
+
1. Use 'gem' command to install RubyRun_CE, i.e.
|
45
|
+
|
46
|
+
gem install --remote rubyrun
|
47
|
+
|
48
|
+
2. Alternatively, you can download the gem file from http://www.rubysophic.com
|
49
|
+
Save the file in the directory <RubyRunHome> and use the 'gem' command to
|
50
|
+
install RubyRun_CE, e.g.
|
51
|
+
|
52
|
+
gem install <RubyRunHome>/rubyrun-0.9.5.gem
|
53
|
+
gem install <RubyRunHome>/rubyrun-0.9.5-x86-mswin32.gem
|
54
|
+
|
55
|
+
Running the software
|
56
|
+
--------------------
|
57
|
+
To start RubyRun_CE, simply add the '-rrubyrun' option when starting the Ruby
|
58
|
+
process, e.g.
|
59
|
+
|
60
|
+
ruby -rrubyrun script/server -e production
|
61
|
+
|
62
|
+
Viewing the reports
|
63
|
+
-------------------
|
64
|
+
1. Transaction log report is generated in <ApplicationDir>/rubyrun/report.
|
65
|
+
<ApplicationDir> is the current directory where you start the Ruby process.
|
66
|
+
|
67
|
+
2. Performance report is available thru RSS at http://<host>:<port>/rubyrun_rss/perf_summary.xml
|
68
|
+
where <host> and <port> are the hostname and port number of the Rails
|
69
|
+
application respectively.
|
70
|
+
|
71
|
+
RubyRun_CE also provides other reports, e.g. method trace and thread status,
|
72
|
+
please refer to the documentation in docs/rubyrun-0.9.5.htm for full
|
73
|
+
description of features and usage of the product.
|
69
74
|
|
70
75
|
Support
|
71
|
-
|
72
|
-
|
73
|
-
To report defects or for any questions, please email
|
74
|
-
support@rubysophic.com
|
75
|
-
|
76
|
-
|
77
|
-
|
76
|
+
-------
|
77
|
+
To report defects or for any questions, please email support@rubysophic.com
|
data/bin/Rakefile
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'ftools'
|
2
|
+
task :default do
|
3
|
+
$:.each {|path|
|
4
|
+
(File.copy('../lib/rubyrun/rubyrun.rb',path); break) if path.include?('site_ruby')
|
5
|
+
}
|
6
|
+
if RUBY_PLATFORM.include?('mswin') && File.exists?('../ext/rubyrunnative__.so')
|
7
|
+
system('mt.exe -manifest ../ext/rubyrunnative__.so.manifest -outputresource:../ext/rubyrunnative__.so;2')
|
8
|
+
File.copy('../ext/rubyrunnative__.so','../')
|
9
|
+
end
|
10
|
+
FileUtils.mv(Dir.glob('../rubyrunnative__.*'),'../lib/rubyrun/')
|
11
|
+
end
|