File tree 5 files changed +5
-6
lines changed
5 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ added: REPLACEME
292
292
> Stability: 1 - Experimental
293
293
294
294
Specify the average sampling interval in bytes for the heap profiles generated
295
- by ` --heap-prof ` . The default is 32 * 1024 bytes.
295
+ by ` --heap-prof ` . The default is 512 * 1024 bytes.
296
296
297
297
### ` --heap-prof-name `
298
298
<!-- YAML
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ will be placed.
158
158
The average sampling interval in bytes for the heap profiles generated by
159
159
.Fl -heap-prof .
160
160
The default is
161
- .Sy 32 * 1024 .
161
+ .Sy 512 * 1024 .
162
162
.
163
163
.It Fl -heap-prof-name
164
164
File name of the V8 heap profile generated with
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ class V8HeapProfilerConnection : public V8ProfilerConnection {
115
115
void Start () override ;
116
116
void End () override ;
117
117
118
- const char * type () const override { return type_. c_str () ; }
118
+ const char * type () const override { return " heap " ; }
119
119
bool ending () const override { return ending_; }
120
120
121
121
std::string GetDirectory () const override ;
@@ -125,7 +125,6 @@ class V8HeapProfilerConnection : public V8ProfilerConnection {
125
125
private:
126
126
std::unique_ptr<inspector::InspectorSession> session_;
127
127
bool ending_ = false ;
128
- std::string type_ = " heap" ;
129
128
};
130
129
131
130
} // namespace profiler
Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
407
407
&EnvironmentOptions::heap_prof_dir);
408
408
AddOption (" --heap-prof-interval" ,
409
409
" specified sampling interval in bytes for the V8 heap "
410
- " profile generated with --heap-prof. (default: 32 * 1024)" ,
410
+ " profile generated with --heap-prof. (default: 512 * 1024)" ,
411
411
&EnvironmentOptions::heap_prof_interval);
412
412
#endif // HAVE_INSPECTOR
413
413
AddOption (" --redirect-warnings" ,
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ class EnvironmentOptions : public Options {
118
118
bool cpu_prof = false ;
119
119
std::string heap_prof_dir;
120
120
std::string heap_prof_name;
121
- static const uint64_t kDefaultHeapProfInterval = 32 * 1024 ;
121
+ static const uint64_t kDefaultHeapProfInterval = 512 * 1024 ;
122
122
uint64_t heap_prof_interval = kDefaultHeapProfInterval ;
123
123
bool heap_prof = false ;
124
124
#endif // HAVE_INSPECTOR
You can’t perform that action at this time.
0 commit comments