Skip to content

Commit

Permalink
Mention workstation specs
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Jul 15, 2019
1 parent 1337641 commit 173e1f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ npm run bench

This repository tests each approach in 100 different contexts in the dumbest possible way, i.e. by simply invoking `d8` a 100 times per script. That is, we perform 100 cold loads, and measure everything (parsing, compilation, and execution) until the program halts.

On my workstation (HP Z840 with 2 × 14-core Intel Xeon E5-2690 v4 processors @ 2.6GHz, 35MB Cache + 128GB DDR4 2400MHz RAM), I got the following results:

| | JS literal | `JSON.parse` | Speed-up |
| ---------------------- | ---------: | -----------: | -------: |
| V8 v7.5 | 23.765 s | 15.766 s | 1.5× |
Expand Down

0 comments on commit 173e1f0

Please sign in to comment.