rubyrun 0.9.5-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/LICENSE +13 -0
  2. data/README +77 -0
  3. data/bin/Rakefile +11 -0
  4. data/docs/rubyrun-0.9.5.htm +5937 -0
  5. data/docs/rubyrun-0.9.5.pdf +0 -0
  6. data/docs/rubyrun-0.9.5_files/colorschememapping.xml +2 -0
  7. data/docs/rubyrun-0.9.5_files/filelist.xml +29 -0
  8. data/docs/rubyrun-0.9.5_files/header.htm +138 -0
  9. data/docs/rubyrun-0.9.5_files/image001.jpg +0 -0
  10. data/docs/rubyrun-0.9.5_files/image002.jpg +0 -0
  11. data/docs/rubyrun-0.9.5_files/image003.jpg +0 -0
  12. data/docs/rubyrun-0.9.5_files/image004.jpg +0 -0
  13. data/docs/rubyrun-0.9.5_files/image005.jpg +0 -0
  14. data/docs/rubyrun-0.9.5_files/image006.jpg +0 -0
  15. data/docs/rubyrun-0.9.5_files/image007.jpg +0 -0
  16. data/docs/rubyrun-0.9.5_files/image008.jpg +0 -0
  17. data/docs/rubyrun-0.9.5_files/image009.jpg +0 -0
  18. data/docs/rubyrun-0.9.5_files/image010.jpg +0 -0
  19. data/docs/rubyrun-0.9.5_files/image011.jpg +0 -0
  20. data/docs/rubyrun-0.9.5_files/image012.jpg +0 -0
  21. data/docs/rubyrun-0.9.5_files/image013.jpg +0 -0
  22. data/docs/rubyrun-0.9.5_files/image014.jpg +0 -0
  23. data/docs/rubyrun-0.9.5_files/image015.jpg +0 -0
  24. data/docs/rubyrun-0.9.5_files/image016.jpg +0 -0
  25. data/docs/rubyrun-0.9.5_files/image017.png +0 -0
  26. data/docs/rubyrun-0.9.5_files/image018.jpg +0 -0
  27. data/docs/rubyrun-0.9.5_files/image019.jpg +0 -0
  28. data/docs/rubyrun-0.9.5_files/image020.jpg +0 -0
  29. data/docs/rubyrun-0.9.5_files/image021.jpg +0 -0
  30. data/docs/rubyrun-0.9.5_files/image022.png +0 -0
  31. data/docs/rubyrun-0.9.5_files/themedata.thmx +0 -0
  32. data/etc/rubyrun_opts.yml +132 -0
  33. data/ext/extconf.rb +5 -0
  34. data/ext/rubyrunnative__.c +154 -0
  35. data/ext/rubyrunnative__.def +2 -0
  36. data/ext/rubyrunnative__.h +36 -0
  37. data/ext/rubyrunnative__ppc-darwin.bundle +0 -0
  38. data/ext/rubyrunnative__x86-darwin.bundle +0 -0
  39. data/ext/rubyrunnative__x86-linux.so +0 -0
  40. data/ext/rubyrunnative__x86-mswin32.so +0 -0
  41. data/lib/rubyrun/rubyrun.rb +2 -0
  42. data/lib/rubyrun/rubyrun_boot__.rb +79 -0
  43. data/lib/rubyrun/rubyrun_buffer_mgr__.rb +49 -0
  44. data/lib/rubyrun/rubyrun_commander__.rb +196 -0
  45. data/lib/rubyrun/rubyrun_dad__.rb +35 -0
  46. data/lib/rubyrun/rubyrun_globals.rb +52 -0
  47. data/lib/rubyrun/rubyrun_html__.rb +136 -0
  48. data/lib/rubyrun/rubyrun_html_writer__.rb +64 -0
  49. data/lib/rubyrun/rubyrun_initializer__.rb +313 -0
  50. data/lib/rubyrun/rubyrun_instrumentor__.rb +226 -0
  51. data/lib/rubyrun/rubyrun_monitor__.rb +238 -0
  52. data/lib/rubyrun/rubyrun_report__.rb +109 -0
  53. data/lib/rubyrun/rubyrun_rss__.rb +97 -0
  54. data/lib/rubyrun/rubyrun_tracer__.rb +79 -0
  55. data/lib/rubyrun/rubyrun_utils__.rb +101 -0
  56. data/lib/rubyrun/rubyrunnative__.so +0 -0
  57. metadata +115 -0
data/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+
2
+ WARRANTY
3
+ =========
4
+
5
+ THIS SOFTWARE IS PROVIDED BY RUBYSOPHIC INC "AS IS" WITHOUT ANY EXPRESS OR
6
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
7
+ MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE IS DISCLAIMED. THE SOFTWARE
8
+ PROVIDERS IN NO EVENT ARE LIABLE FOR ANY DIRECT, INDIRECT OR ANY OTHER TYPE OF
9
+ DAMAGES (INCLUDING BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
10
+ LOSS OF PROFITS, USE OR DATA; INTERRUPTION TO THE BUSINESS) HOWEVER CAUSED AND
11
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT OR STRICT LIABILITY ARISING
12
+ OUT OF USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF THE DAMAGE
13
+
data/README ADDED
@@ -0,0 +1,77 @@
1
+ #---------------------------------------------------------------#
2
+ # #
3
+ # (C) Copyright Rubysophic Inc. 2007-2008 #
4
+ # All rights reserved. #
5
+ # #
6
+ # Use, duplication or disclosure of the code is not permitted #
7
+ # unless licensed. #
8
+ # #
9
+ # Last Updated: 7/31/08 #
10
+ #---------------------------------------------------------------#
11
+
12
+ WARRANTY
13
+ --------
14
+ THIS SOFTWARE IS PROVIDED BY RUBYSOPHIC INC "AS IS" WITHOUT ANY EXPRESS OR
15
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
16
+ MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE IS DISCLAIMED. THE SOFTWARE
17
+ PROVIDERS IN NO EVENT ARE LIABLE FOR ANY DIRECT, INDIRECT OR ANY OTHER TYPE OF
18
+ DAMAGES (INCLUDING BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19
+ LOSS OF PROFITS, USE OR DATA; INTERRUPTION TO THE BUSINESS) HOWEVER CAUSED AND
20
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT OR STRICT LIABILITY ARISING
21
+ OUT OF USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF THE DAMAGE
22
+
23
+ Product Description
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.
29
+
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.
33
+
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
+
37
+ Obtaining the software
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.
74
+
75
+ Support
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