skaes-ruby-prof 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +202 -0
- data/LICENSE +23 -0
- data/README +436 -0
- data/Rakefile +129 -0
- data/bin/ruby-prof +207 -0
- data/examples/flat.txt +55 -0
- data/examples/graph.html +823 -0
- data/examples/graph.txt +170 -0
- data/ext/extconf.rb +34 -0
- data/ext/measure_allocations.h +58 -0
- data/ext/measure_cpu_time.h +152 -0
- data/ext/measure_gc_runs.h +76 -0
- data/ext/measure_gc_time.h +57 -0
- data/ext/measure_memory.h +101 -0
- data/ext/measure_process_time.h +52 -0
- data/ext/measure_wall_time.h +53 -0
- data/ext/mingw/Rakefile +23 -0
- data/ext/mingw/build.rake +38 -0
- data/ext/ruby_prof.c +1747 -0
- data/ext/ruby_prof.h +185 -0
- data/ext/vc/ruby_prof.sln +20 -0
- data/ext/vc/ruby_prof.vcproj +241 -0
- data/ext/version.h +4 -0
- data/lib/ruby-prof.rb +51 -0
- data/lib/ruby-prof/abstract_printer.rb +41 -0
- data/lib/ruby-prof/aggregate_call_info.rb +68 -0
- data/lib/ruby-prof/call_info.rb +112 -0
- data/lib/ruby-prof/call_stack_printer.rb +746 -0
- data/lib/ruby-prof/call_tree_printer.rb +84 -0
- data/lib/ruby-prof/empty.png +0 -0
- data/lib/ruby-prof/flat_printer.rb +79 -0
- data/lib/ruby-prof/graph_html_printer.rb +272 -0
- data/lib/ruby-prof/graph_printer.rb +164 -0
- data/lib/ruby-prof/method_info.rb +131 -0
- data/lib/ruby-prof/minus.png +0 -0
- data/lib/ruby-prof/multi_printer.rb +55 -0
- data/lib/ruby-prof/plus.png +0 -0
- data/lib/ruby-prof/result.rb +70 -0
- data/lib/ruby-prof/task.rb +146 -0
- data/lib/ruby-prof/test.rb +148 -0
- data/lib/unprof.rb +8 -0
- data/rails/environment/profile.rb +24 -0
- data/rails/example/example_test.rb +9 -0
- data/rails/profile_test_helper.rb +21 -0
- data/test/aggregate_test.rb +136 -0
- data/test/basic_test.rb +283 -0
- data/test/duplicate_names_test.rb +32 -0
- data/test/exceptions_test.rb +15 -0
- data/test/exclude_threads_test.rb +54 -0
- data/test/line_number_test.rb +73 -0
- data/test/measurement_test.rb +121 -0
- data/test/method_elimination_test.rb +74 -0
- data/test/module_test.rb +54 -0
- data/test/multi_printer_test.rb +81 -0
- data/test/no_method_class_test.rb +13 -0
- data/test/prime.rb +58 -0
- data/test/prime_test.rb +13 -0
- data/test/printers_test.rb +73 -0
- data/test/recursive_test.rb +215 -0
- data/test/singleton_test.rb +38 -0
- data/test/stack_printer_test.rb +74 -0
- data/test/stack_test.rb +138 -0
- data/test/start_stop_test.rb +95 -0
- data/test/test_suite.rb +26 -0
- data/test/thread_test.rb +159 -0
- data/test/unique_call_path_test.rb +206 -0
- metadata +128 -0
metadata
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: skaes-ruby-prof
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.7.3
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Shugo Maeda and Charlie Savage
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
|
|
12
|
+
date: 2009-03-16 08:14:53 -07:00
|
|
13
|
+
default_executable:
|
|
14
|
+
dependencies: []
|
|
15
|
+
|
|
16
|
+
description: ruby-prof is a fast code profiler for Ruby. It is a C extension and therefore is many times faster than the standard Ruby profiler. It supports both flat and graph profiles. For each method, graph profiles show how long the method ran, which methods called it and which methods it called. RubyProf generate both text and html and can output it to standard out or to a file.
|
|
17
|
+
email: shugo@ruby-lang.org and cfis@savagexi.com
|
|
18
|
+
executables:
|
|
19
|
+
- ruby-prof
|
|
20
|
+
extensions:
|
|
21
|
+
- ext/extconf.rb
|
|
22
|
+
extra_rdoc_files: []
|
|
23
|
+
|
|
24
|
+
files:
|
|
25
|
+
- Rakefile
|
|
26
|
+
- README
|
|
27
|
+
- LICENSE
|
|
28
|
+
- CHANGES
|
|
29
|
+
- bin/ruby-prof
|
|
30
|
+
- examples/flat.txt
|
|
31
|
+
- examples/graph.html
|
|
32
|
+
- examples/graph.txt
|
|
33
|
+
- ext/conftest.dSYM
|
|
34
|
+
- ext/extconf.rb
|
|
35
|
+
- ext/Makefile
|
|
36
|
+
- ext/measure_allocations.h
|
|
37
|
+
- ext/measure_cpu_time.h
|
|
38
|
+
- ext/measure_gc_runs.h
|
|
39
|
+
- ext/measure_gc_time.h
|
|
40
|
+
- ext/measure_memory.h
|
|
41
|
+
- ext/measure_process_time.h
|
|
42
|
+
- ext/measure_wall_time.h
|
|
43
|
+
- ext/mingw
|
|
44
|
+
- ext/mkmf.log
|
|
45
|
+
- ext/ruby_prof.bundle
|
|
46
|
+
- ext/ruby_prof.c
|
|
47
|
+
- ext/ruby_prof.h
|
|
48
|
+
- ext/ruby_prof.o
|
|
49
|
+
- ext/vc
|
|
50
|
+
- ext/version.h
|
|
51
|
+
- ext/mingw/Rakefile
|
|
52
|
+
- ext/mingw/build.rake
|
|
53
|
+
- ext/vc/ruby_prof.sln
|
|
54
|
+
- ext/vc/ruby_prof.vcproj
|
|
55
|
+
- lib/ruby-prof
|
|
56
|
+
- lib/ruby-prof/abstract_printer.rb
|
|
57
|
+
- lib/ruby-prof/aggregate_call_info.rb
|
|
58
|
+
- lib/ruby-prof/call_info.rb
|
|
59
|
+
- lib/ruby-prof/call_stack_printer.rb
|
|
60
|
+
- lib/ruby-prof/call_tree_printer.rb
|
|
61
|
+
- lib/ruby-prof/empty.png
|
|
62
|
+
- lib/ruby-prof/flat_printer.rb
|
|
63
|
+
- lib/ruby-prof/graph_html_printer.rb
|
|
64
|
+
- lib/ruby-prof/graph_printer.rb
|
|
65
|
+
- lib/ruby-prof/method_info.rb
|
|
66
|
+
- lib/ruby-prof/minus.png
|
|
67
|
+
- lib/ruby-prof/multi_printer.rb
|
|
68
|
+
- lib/ruby-prof/plus.png
|
|
69
|
+
- lib/ruby-prof/result.rb
|
|
70
|
+
- lib/ruby-prof/task.rb
|
|
71
|
+
- lib/ruby-prof/test.rb
|
|
72
|
+
- lib/ruby-prof.rb
|
|
73
|
+
- lib/unprof.rb
|
|
74
|
+
- rails/environment
|
|
75
|
+
- rails/environment/profile.rb
|
|
76
|
+
- rails/example
|
|
77
|
+
- rails/example/example_test.rb
|
|
78
|
+
- rails/profile_test_helper.rb
|
|
79
|
+
- test/aggregate_test.rb
|
|
80
|
+
- test/basic_test.rb
|
|
81
|
+
- test/duplicate_names_test.rb
|
|
82
|
+
- test/exceptions_test.rb
|
|
83
|
+
- test/exclude_threads_test.rb
|
|
84
|
+
- test/line_number_test.rb
|
|
85
|
+
- test/measurement_test.rb
|
|
86
|
+
- test/method_elimination_test.rb
|
|
87
|
+
- test/module_test.rb
|
|
88
|
+
- test/multi_printer_test.rb
|
|
89
|
+
- test/no_method_class_test.rb
|
|
90
|
+
- test/prime.rb
|
|
91
|
+
- test/prime_test.rb
|
|
92
|
+
- test/printers_test.rb
|
|
93
|
+
- test/recursive_test.rb
|
|
94
|
+
- test/singleton_test.rb
|
|
95
|
+
- test/stack_printer_test.rb
|
|
96
|
+
- test/stack_test.rb
|
|
97
|
+
- test/start_stop_test.rb
|
|
98
|
+
- test/test_suite.rb
|
|
99
|
+
- test/thread_test.rb
|
|
100
|
+
- test/unique_call_path_test.rb
|
|
101
|
+
has_rdoc: true
|
|
102
|
+
homepage: http://rubyforge.org/projects/ruby-prof/
|
|
103
|
+
post_install_message:
|
|
104
|
+
rdoc_options: []
|
|
105
|
+
|
|
106
|
+
require_paths:
|
|
107
|
+
- lib
|
|
108
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
|
+
requirements:
|
|
110
|
+
- - ">="
|
|
111
|
+
- !ruby/object:Gem::Version
|
|
112
|
+
version: 1.8.4
|
|
113
|
+
version:
|
|
114
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
|
+
requirements:
|
|
116
|
+
- - ">="
|
|
117
|
+
- !ruby/object:Gem::Version
|
|
118
|
+
version: "0"
|
|
119
|
+
version:
|
|
120
|
+
requirements: []
|
|
121
|
+
|
|
122
|
+
rubyforge_project: ruby-prof
|
|
123
|
+
rubygems_version: 1.2.0
|
|
124
|
+
signing_key:
|
|
125
|
+
specification_version: 2
|
|
126
|
+
summary: Fast Ruby profiler
|
|
127
|
+
test_files:
|
|
128
|
+
- test/test_suite.rb
|