title: limit file size `node --prof` file size
body: <p>I want to do profiling in order to check what cause slowness in production environment.</p>
  
  <p>In order to do that I want to use build in profiling tool of node.js which goes with flag <code>node --prof index.js</code>. </p>
  
  <p>I'm afraid that the file size might be huge so I want to limit the file size.</p>
  
  <p>Is there any way to do that?</p>
  
  <p>I already looked into the documentation but couldn't find any reference.</p>
  
  <ul>
  <li><a href="https://nodejs.org/en/docs/guides/simple-profiling/" rel="nofollow noreferrer">https://nodejs.org/en/docs/guides/simple-profiling/</a></li>
  <li><a href="https://github.com/v8/v8/wiki/V8-Profiler" rel="nofollow noreferrer">https://github.com/v8/v8/wiki/V8-Profiler</a></li>
  <li><a href="https://nodejs.org/api/cli.html#cli_prof_process" rel="nofollow noreferrer">https://nodejs.org/api/cli.html#cli_prof_process</a></li>
  </ul>