Browse files

Upgrade jest to 23.4.1

This includes facebook/jest@8b8f5bc, which improves the watchman query to calculate the initial haste map to be much faster under Eden.

**Time to initialize Metro after resetting jest-haste-map cache (Eden checkout)**

* Before this diff: 3m14 (sometimes taking up to 15min!! after rebasing)
* With this diff: 12s (quite constant after rebasing)

(16X improvement)

**Time to initialize Metro with a warm jest-haste-map cache (Eden checkout)**

* Before this diff: 1.1s
* With this diff: 1.1s

(I haven't seen meaningful perf changes in non-eden checkouts)

Reviewed By: mjesun

Differential Revision: D8857820

fbshipit-source-id: 5ce9da04a69bd02d121a8efe65bf369c7fa1e834
  • Loading branch information...
rafeca authored and facebook-github-bot committed Jul 17, 2018
1 parent 6c8b681 commit 51cf9eb3e823a13304570b352b81734f069c18c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 package.json
@@ -213,7 +213,7 @@
"eslint-plugin-react": "7.8.2",
"eslint-plugin-react-native": "^3.2.1",
"flow-bin": "^0.76.0",
"jest": "23.4.0",
"jest": "23.4.1",
"jest-junit": "5.1.0",
"prettier": "1.13.6",
"react": "16.4.1",

0 comments on commit 51cf9eb

Please sign in to comment.