title: Node JS slow script execution on Ubuntu 20.04
body: <p>Here is an issue:</p>
  <p>I have a script file <strong>javascript.js</strong></p>
  <pre><code>console.time(&quot;js&quot;);
  console.log(1+1);
  console.timeEnd(&quot;js&quot;);
  </code></pre>
  <p>Execution with command: <code>time node javascript.js</code>
  will print this output:</p>
  <pre><code>2
  js: 7.355ms
  
  real    0m1,147s
  user    0m1,102s
  sys 0m0,045s
  </code></pre>
  <p>Js code execution takes 7ms, but results in the terminal will be after 1 second.</p>
  <p>Same is for this commad: <code>time prettier -v</code></p>
  <pre><code>time prettier -v
  2.2.1
  
  real    0m1,763s
  user    0m1,666s
  sys 0m0,040s
  </code></pre>
  <p>How to fix this 1 second issue? I'm using Ubuntu 20.04.</p>
  <p>PS: For an example if i will run php script in terminal there is no 1 second delay</p>
  <pre><code>time php php.php
  2
  
  real    0m0,029s
  user    0m0,016s
  sys 0m0,009s
  </code></pre>
  <p>Thank you.</p>