ruby-prof 1.8.0-x64-mswin64-140
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.
- checksums.yaml +7 -0
- data/CHANGES +665 -0
- data/LICENSE +25 -0
- data/README.md +5 -0
- data/Rakefile +98 -0
- data/bin/ruby-prof +341 -0
- data/bin/ruby-prof-check-trace +45 -0
- data/ext/ruby_prof/extconf.rb +23 -0
- data/ext/ruby_prof/rp_allocation.c +327 -0
- data/ext/ruby_prof/rp_allocation.h +32 -0
- data/ext/ruby_prof/rp_call_tree.c +502 -0
- data/ext/ruby_prof/rp_call_tree.h +47 -0
- data/ext/ruby_prof/rp_call_trees.c +296 -0
- data/ext/ruby_prof/rp_call_trees.h +28 -0
- data/ext/ruby_prof/rp_measure_allocations.c +47 -0
- data/ext/ruby_prof/rp_measure_memory.c +46 -0
- data/ext/ruby_prof/rp_measure_process_time.c +64 -0
- data/ext/ruby_prof/rp_measure_wall_time.c +52 -0
- data/ext/ruby_prof/rp_measurement.c +359 -0
- data/ext/ruby_prof/rp_measurement.h +52 -0
- data/ext/ruby_prof/rp_method.c +551 -0
- data/ext/ruby_prof/rp_method.h +66 -0
- data/ext/ruby_prof/rp_profile.c +933 -0
- data/ext/ruby_prof/rp_profile.h +36 -0
- data/ext/ruby_prof/rp_stack.c +212 -0
- data/ext/ruby_prof/rp_stack.h +53 -0
- data/ext/ruby_prof/rp_thread.c +433 -0
- data/ext/ruby_prof/rp_thread.h +39 -0
- data/ext/ruby_prof/ruby_prof.c +50 -0
- data/ext/ruby_prof/ruby_prof.h +35 -0
- data/ext/ruby_prof/vc/ruby_prof.sln +39 -0
- data/ext/ruby_prof/vc/ruby_prof.vcxproj +158 -0
- data/lib/ruby-prof/assets/call_stack_printer.html.erb +711 -0
- data/lib/ruby-prof/assets/call_stack_printer.png +0 -0
- data/lib/ruby-prof/assets/graph_printer.html.erb +355 -0
- data/lib/ruby-prof/call_tree.rb +57 -0
- data/lib/ruby-prof/call_tree_visitor.rb +36 -0
- data/lib/ruby-prof/compatibility.rb +113 -0
- data/lib/ruby-prof/exclude_common_methods.rb +204 -0
- data/lib/ruby-prof/measurement.rb +17 -0
- data/lib/ruby-prof/method_info.rb +87 -0
- data/lib/ruby-prof/printers/abstract_printer.rb +156 -0
- data/lib/ruby-prof/printers/call_info_printer.rb +53 -0
- data/lib/ruby-prof/printers/call_stack_printer.rb +180 -0
- data/lib/ruby-prof/printers/call_tree_printer.rb +145 -0
- data/lib/ruby-prof/printers/dot_printer.rb +132 -0
- data/lib/ruby-prof/printers/flat_printer.rb +53 -0
- data/lib/ruby-prof/printers/graph_html_printer.rb +63 -0
- data/lib/ruby-prof/printers/graph_printer.rb +113 -0
- data/lib/ruby-prof/printers/multi_printer.rb +127 -0
- data/lib/ruby-prof/profile.rb +70 -0
- data/lib/ruby-prof/rack.rb +105 -0
- data/lib/ruby-prof/task.rb +147 -0
- data/lib/ruby-prof/thread.rb +20 -0
- data/lib/ruby-prof/version.rb +3 -0
- data/lib/ruby-prof.rb +52 -0
- data/lib/unprof.rb +10 -0
- data/ruby-prof.gemspec +67 -0
- data/test/abstract_printer_test.rb +27 -0
- data/test/alias_test.rb +117 -0
- data/test/call_tree_builder.rb +126 -0
- data/test/call_tree_test.rb +94 -0
- data/test/call_tree_visitor_test.rb +27 -0
- data/test/call_trees_test.rb +66 -0
- data/test/compatibility_test.rb +49 -0
- data/test/duplicate_names_test.rb +32 -0
- data/test/dynamic_method_test.rb +50 -0
- data/test/enumerable_test.rb +23 -0
- data/test/exceptions_test.rb +24 -0
- data/test/exclude_methods_test.rb +363 -0
- data/test/exclude_threads_test.rb +48 -0
- data/test/fiber_test.rb +195 -0
- data/test/gc_test.rb +104 -0
- data/test/inverse_call_tree_test.rb +174 -0
- data/test/line_number_test.rb +426 -0
- data/test/marshal_test.rb +145 -0
- data/test/measure_allocations.rb +26 -0
- data/test/measure_allocations_test.rb +1172 -0
- data/test/measure_process_time_test.rb +3330 -0
- data/test/measure_times.rb +56 -0
- data/test/measure_wall_time_test.rb +635 -0
- data/test/measurement_test.rb +82 -0
- data/test/merge_test.rb +146 -0
- data/test/method_info_test.rb +100 -0
- data/test/multi_printer_test.rb +66 -0
- data/test/no_method_class_test.rb +15 -0
- data/test/pause_resume_test.rb +171 -0
- data/test/prime.rb +54 -0
- data/test/prime_script.rb +6 -0
- data/test/printer_call_stack_test.rb +27 -0
- data/test/printer_call_tree_test.rb +30 -0
- data/test/printer_flat_test.rb +99 -0
- data/test/printer_graph_html_test.rb +59 -0
- data/test/printer_graph_test.rb +40 -0
- data/test/printers_test.rb +178 -0
- data/test/printing_recursive_graph_test.rb +81 -0
- data/test/profile_test.rb +101 -0
- data/test/rack_test.rb +93 -0
- data/test/recursive_test.rb +796 -0
- data/test/scheduler.rb +363 -0
- data/test/singleton_test.rb +38 -0
- data/test/stack_printer_test.rb +61 -0
- data/test/start_stop_test.rb +106 -0
- data/test/test_helper.rb +21 -0
- data/test/thread_test.rb +229 -0
- data/test/unique_call_path_test.rb +123 -0
- data/test/yarv_test.rb +56 -0
- metadata +228 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ItemGroup Label="ProjectConfigurations">
|
|
4
|
+
<ProjectConfiguration Include="Debug|Win32">
|
|
5
|
+
<Configuration>Debug</Configuration>
|
|
6
|
+
<Platform>Win32</Platform>
|
|
7
|
+
</ProjectConfiguration>
|
|
8
|
+
<ProjectConfiguration Include="Debug|x64">
|
|
9
|
+
<Configuration>Debug</Configuration>
|
|
10
|
+
<Platform>x64</Platform>
|
|
11
|
+
</ProjectConfiguration>
|
|
12
|
+
<ProjectConfiguration Include="Release|Win32">
|
|
13
|
+
<Configuration>Release</Configuration>
|
|
14
|
+
<Platform>Win32</Platform>
|
|
15
|
+
</ProjectConfiguration>
|
|
16
|
+
<ProjectConfiguration Include="Release|x64">
|
|
17
|
+
<Configuration>Release</Configuration>
|
|
18
|
+
<Platform>x64</Platform>
|
|
19
|
+
</ProjectConfiguration>
|
|
20
|
+
</ItemGroup>
|
|
21
|
+
<PropertyGroup Label="Globals">
|
|
22
|
+
<ProjectGuid>{6B4978F4-3B5F-4D38-81A8-069EC28CC069}</ProjectGuid>
|
|
23
|
+
<Keyword>Win32Proj</Keyword>
|
|
24
|
+
<RootNamespace>ruby_prof</RootNamespace>
|
|
25
|
+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
|
26
|
+
</PropertyGroup>
|
|
27
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
28
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
29
|
+
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
30
|
+
<UseDebugLibraries>true</UseDebugLibraries>
|
|
31
|
+
<CharacterSet>Unicode</CharacterSet>
|
|
32
|
+
<PlatformToolset>v145</PlatformToolset>
|
|
33
|
+
</PropertyGroup>
|
|
34
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
35
|
+
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
36
|
+
<UseDebugLibraries>false</UseDebugLibraries>
|
|
37
|
+
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
38
|
+
<CharacterSet>Unicode</CharacterSet>
|
|
39
|
+
<PlatformToolset>v145</PlatformToolset>
|
|
40
|
+
</PropertyGroup>
|
|
41
|
+
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
42
|
+
<PlatformToolset>v145</PlatformToolset>
|
|
43
|
+
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
44
|
+
</PropertyGroup>
|
|
45
|
+
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
46
|
+
<PlatformToolset>v145</PlatformToolset>
|
|
47
|
+
</PropertyGroup>
|
|
48
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
49
|
+
<ImportGroup Label="ExtensionSettings">
|
|
50
|
+
</ImportGroup>
|
|
51
|
+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
52
|
+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
53
|
+
</ImportGroup>
|
|
54
|
+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
55
|
+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
56
|
+
</ImportGroup>
|
|
57
|
+
<PropertyGroup Label="UserMacros" />
|
|
58
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
59
|
+
<LinkIncremental>true</LinkIncremental>
|
|
60
|
+
<OutDir>..\..\..\lib\2.0</OutDir>
|
|
61
|
+
<TargetExt>.so</TargetExt>
|
|
62
|
+
<TargetName>ruby_prof</TargetName>
|
|
63
|
+
</PropertyGroup>
|
|
64
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
65
|
+
<LinkIncremental>false</LinkIncremental>
|
|
66
|
+
</PropertyGroup>
|
|
67
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
68
|
+
<TargetExt>.so</TargetExt>
|
|
69
|
+
<OutDir>$(SolutionDir)\..\</OutDir>
|
|
70
|
+
</PropertyGroup>
|
|
71
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
72
|
+
<ClCompile>
|
|
73
|
+
<PrecompiledHeader>
|
|
74
|
+
</PrecompiledHeader>
|
|
75
|
+
<WarningLevel>Level3</WarningLevel>
|
|
76
|
+
<Optimization>Disabled</Optimization>
|
|
77
|
+
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;RUBY_PROF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
78
|
+
<AdditionalIncludeDirectories>C:\MinGW\local\ruby200vc\include\ruby-2.0.0;C:\MinGW\local\ruby200vc\include\ruby-2.0.0\i386-mswin32_100;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
79
|
+
</ClCompile>
|
|
80
|
+
<Link>
|
|
81
|
+
<SubSystem>Windows</SubSystem>
|
|
82
|
+
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
83
|
+
<AdditionalLibraryDirectories>C:\MinGW\local\ruby200vc\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
84
|
+
<AdditionalDependencies>msvcr100-ruby200.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
85
|
+
<ModuleDefinitionFile>ruby_prof.def</ModuleDefinitionFile>
|
|
86
|
+
</Link>
|
|
87
|
+
</ItemDefinitionGroup>
|
|
88
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
89
|
+
<ClCompile>
|
|
90
|
+
<WarningLevel>Level3</WarningLevel>
|
|
91
|
+
<PrecompiledHeader>
|
|
92
|
+
</PrecompiledHeader>
|
|
93
|
+
<Optimization>MaxSpeed</Optimization>
|
|
94
|
+
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
95
|
+
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
96
|
+
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;RUBY_PROF_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
97
|
+
</ClCompile>
|
|
98
|
+
<Link>
|
|
99
|
+
<SubSystem>Windows</SubSystem>
|
|
100
|
+
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
101
|
+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
102
|
+
<OptimizeReferences>true</OptimizeReferences>
|
|
103
|
+
</Link>
|
|
104
|
+
</ItemDefinitionGroup>
|
|
105
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
106
|
+
<ClCompile>
|
|
107
|
+
<AdditionalIncludeDirectories>C:\msys64\usr\local\ruby-4.0.1-mswin\include\ruby-4.0.0\x64-mswin64_140;C:\msys64\usr\local\ruby-4.0.1-mswin\include\ruby-4.0.0;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
108
|
+
<Optimization>Disabled</Optimization>
|
|
109
|
+
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
110
|
+
<WarningLevel>Level3</WarningLevel>
|
|
111
|
+
</ClCompile>
|
|
112
|
+
<Link>
|
|
113
|
+
<AdditionalLibraryDirectories>C:\msys64\usr\local\ruby-4.0.1-mswin\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
114
|
+
<AdditionalDependencies>x64-vcruntime140-ruby400.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
115
|
+
<ModuleDefinitionFile>ruby_prof.def</ModuleDefinitionFile>
|
|
116
|
+
<SubSystem>Console</SubSystem>
|
|
117
|
+
</Link>
|
|
118
|
+
<ProjectReference />
|
|
119
|
+
</ItemDefinitionGroup>
|
|
120
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
121
|
+
<ClCompile>
|
|
122
|
+
<AdditionalIncludeDirectories>C:\msys64\usr\local\ruby-2.7.1vc\include\ruby-2.7.0\x64-mswin64_140;C:\msys64\usr\local\ruby-2.7.1vc\include\ruby-2.7.0;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
123
|
+
</ClCompile>
|
|
124
|
+
<Link>
|
|
125
|
+
<AdditionalLibraryDirectories>C:\msys64\usr\local\ruby-2.7.1vc\lib</AdditionalLibraryDirectories>
|
|
126
|
+
<AdditionalDependencies>x64-vcruntime140-ruby270.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
127
|
+
<ModuleDefinitionFile>ruby_prof.def</ModuleDefinitionFile>
|
|
128
|
+
</Link>
|
|
129
|
+
</ItemDefinitionGroup>
|
|
130
|
+
<ItemGroup>
|
|
131
|
+
<ClInclude Include="..\rp_allocation.h" />
|
|
132
|
+
<ClInclude Include="..\rp_call_tree.h" />
|
|
133
|
+
<ClInclude Include="..\rp_call_trees.h" />
|
|
134
|
+
<ClInclude Include="..\rp_measurement.h" />
|
|
135
|
+
<ClInclude Include="..\rp_method.h" />
|
|
136
|
+
<ClInclude Include="..\rp_profile.h" />
|
|
137
|
+
<ClInclude Include="..\rp_stack.h" />
|
|
138
|
+
<ClInclude Include="..\rp_thread.h" />
|
|
139
|
+
<ClInclude Include="..\ruby_prof.h" />
|
|
140
|
+
</ItemGroup>
|
|
141
|
+
<ItemGroup>
|
|
142
|
+
<ClCompile Include="..\rp_allocation.c" />
|
|
143
|
+
<ClCompile Include="..\rp_call_tree.c" />
|
|
144
|
+
<ClCompile Include="..\rp_call_trees.c" />
|
|
145
|
+
<ClCompile Include="..\rp_measurement.c" />
|
|
146
|
+
<ClCompile Include="..\rp_measure_allocations.c" />
|
|
147
|
+
<ClCompile Include="..\rp_measure_process_time.c" />
|
|
148
|
+
<ClCompile Include="..\rp_measure_wall_time.c" />
|
|
149
|
+
<ClCompile Include="..\rp_method.c" />
|
|
150
|
+
<ClCompile Include="..\rp_profile.c" />
|
|
151
|
+
<ClCompile Include="..\rp_stack.c" />
|
|
152
|
+
<ClCompile Include="..\rp_thread.c" />
|
|
153
|
+
<ClCompile Include="..\ruby_prof.c" />
|
|
154
|
+
</ItemGroup>
|
|
155
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
156
|
+
<ImportGroup Label="ExtensionTargets">
|
|
157
|
+
</ImportGroup>
|
|
158
|
+
</Project>
|