rubyrun 0.9.0 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/README +50 -50
  2. data/bin/Rakefile +11 -0
  3. data/docs/{rubyrun-0.9.0.htm → rubyrun-0.9.5.htm} +2262 -2669
  4. data/docs/{rubyrun-0.9.0.pdf → rubyrun-0.9.5.pdf} +0 -0
  5. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/colorschememapping.xml +0 -0
  6. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/filelist.xml +1 -1
  7. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/header.htm +10 -13
  8. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image001.jpg +0 -0
  9. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image002.jpg +0 -0
  10. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image003.jpg +0 -0
  11. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image004.jpg +0 -0
  12. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image005.jpg +0 -0
  13. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image006.jpg +0 -0
  14. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image007.jpg +0 -0
  15. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image008.jpg +0 -0
  16. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image009.jpg +0 -0
  17. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image010.jpg +0 -0
  18. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image011.jpg +0 -0
  19. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image012.jpg +0 -0
  20. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image013.jpg +0 -0
  21. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image014.jpg +0 -0
  22. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image015.jpg +0 -0
  23. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image016.jpg +0 -0
  24. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image017.png +0 -0
  25. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image018.jpg +0 -0
  26. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image019.jpg +0 -0
  27. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image020.jpg +0 -0
  28. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image021.jpg +0 -0
  29. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/image022.png +0 -0
  30. data/docs/{rubyrun-0.9.0_files → rubyrun-0.9.5_files}/themedata.thmx +0 -0
  31. data/ext/extconf.rb +2 -1
  32. data/ext/{rubyrunnative__.bundle → rubyrunnative__ppc-darwin.bundle} +0 -0
  33. data/ext/{rubyrunnative__i386.bundle → rubyrunnative__x86-darwin.bundle} +0 -0
  34. data/ext/{rubyrunnative__linux.so → rubyrunnative__x86-linux.so} +0 -0
  35. data/ext/{rubyrunnative__.so → rubyrunnative__x86-mswin32.so} +0 -0
  36. data/lib/rubyrun/rubyrun.rb +2 -78
  37. data/lib/rubyrun/rubyrun_boot__.rb +79 -0
  38. data/lib/rubyrun/rubyrun_commander__.rb +6 -6
  39. data/lib/rubyrun/rubyrun_globals.rb +2 -1
  40. data/lib/rubyrun/rubyrun_initializer__.rb +34 -7
  41. data/lib/rubyrun/rubyrun_instrumentor__.rb +3 -3
  42. data/lib/rubyrun/rubyrun_monitor__.rb +2 -1
  43. data/lib/rubyrun/rubyrun_utils__.rb +7 -4
  44. metadata +48 -45
  45. data/Rakefile +0 -274
  46. data/bin/confgure +0 -2
  47. 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: 5/17/08 #
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
- RubyRun_CE v0.9 is a Ruby performance diagnostic tool.
30
- RubyRun_CE features the following to help tune your Ruby and Rails applications
31
- for better performance
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 following documentation for full description of features and usage/configuration of the product
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
- You can obtain more recent versions of the RubyRun_CE software by directly downloading from our website
41
-
42
- www.rubysophic.com
43
-
44
- RubyRun_CE is also available for download as gem from Rubyforge
45
-
46
- Installation
47
- ============
48
-
49
- gem install --remote rubyrun
50
-
51
- or if you already downloaded the gem from RubySophic and placed it
52
- in the directory <RubyRunHome>
53
-
54
- gem install <RubyRunHome>/rubyrun-0.9.0.gem
55
- or
56
- gem install <RubyRunHome>/rubyrun-0.9.0-<platform>.gem
57
-
58
- Configuration
59
- ==============
60
-
61
- After the installation, you are required to configure RubyRun to monitor your
62
- application.
63
-
64
- - Please see the configuration section of the document
65
-
66
- docs/rubyrun-0.9.0.htm
67
-
68
- for configuration instructions.
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