Skip to content

Instantly share code, notes, and snippets.

@matpow2
Created September 13, 2021 16:24
Embed
What would you like to do?
V8 vs. V8 without JIT on Web Tooling Benchmark

Benchmark configuration

Node config

> node -p process.versions.v8
8.4.371.19-node.18
> node --version
v14.16.0

Web Tooling Benchmark

  • GitHub
  • Revision: 4a12828c6a1eed02a70c011bd080445dd319a05f

System

  • OS: Windows 10.
  • CPU: AMD Ryzen Threadripper 3990X CPU @ 2.9 GHz.
  • Memory: 128 GB.

V8 with JIT

> node dist/cli.js
Running Web Tooling Benchmark v0.5.3…
-------------------------------------
         acorn: 14.65 runs/s
         babel: 11.61 runs/s
  babel-minify: 15.38 runs/s
       babylon: 13.97 runs/s
         buble:  6.83 runs/s
          chai: 16.12 runs/s
  coffeescript:  9.40 runs/s
        espree:  3.98 runs/s
       esprima: 10.86 runs/s
        jshint: 13.42 runs/s
         lebab: 13.80 runs/s
       postcss:  8.47 runs/s
       prepack: 10.27 runs/s
      prettier:  9.47 runs/s
    source-map: 12.96 runs/s
        terser: 25.01 runs/s
    typescript: 12.44 runs/s
     uglify-js:  7.43 runs/s
-------------------------------------
Geometric mean: 11.18 runs/s

V8 without JIT

> node --jitless dist/cli.js
Running Web Tooling Benchmark v0.5.3…
-------------------------------------
         acorn:  1.06 runs/s
         babel:  2.03 runs/s
  babel-minify:  3.17 runs/s
       babylon:  1.41 runs/s
         buble:  2.35 runs/s
          chai:  4.07 runs/s
  coffeescript:  2.82 runs/s
        espree:  0.91 runs/s
       esprima:  1.02 runs/s
        jshint:  3.47 runs/s
         lebab:  2.81 runs/s
       postcss:  2.16 runs/s
       prepack:  2.48 runs/s
      prettier:  2.47 runs/s
    source-map:  2.28 runs/s
        terser:  7.14 runs/s
    typescript:  2.66 runs/s
     uglify-js:  2.34 runs/s
-------------------------------------
Geometric mean:  2.30 runs/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment