react-native/packager/react-packager/src
David Aurelio e7499e39a4 limit number of workers
Summary:This limits the number of spawned transformation workers depending on the number of available cores (`n`):

```
n < 3   → n
n < 8   → floor(3/4 * n)
n < 24  → floor(3/8 * n + 3) // factor going from 3/4 to 1/2
n >= 24 → floor(n / 2)
```

Reviewed By: bestander

Differential Revision: D2999894

fb-gh-sync-id: 0163240b5f066432f9ba07161c0dfa2ec767ba58
shipit-source-id: 0163240b5f066432f9ba07161c0dfa2ec767ba58
2016-03-02 07:31:42 -08:00
..
Activity
AssetServer Upgrade node-haste to v2.3.0 2016-02-23 06:10:33 -08:00
Bundler Allow parents to accept children modules 2016-02-26 15:17:43 -08:00
Cache/__mocks__ Move Cache into DependencyGraph 2015-12-18 16:17:42 -08:00
JSTransformer limit number of workers 2016-03-02 07:31:42 -08:00
Resolver Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Server Don't hardcode 'localhost:8081' as the _hmrURL in the Bundler 2016-02-26 09:15:56 -08:00
SocketInterface Upgrade node-haste to v2.3.0 2016-02-23 06:10:33 -08:00
__mocks__ Install node-haste2 and remove DependencyResolver 2016-02-18 18:03:34 -08:00
lib Move Cache into DependencyGraph 2015-12-18 16:17:42 -08:00
transforms/whole-program-optimisations / [node-haste] Remove support for asynchronous dependencies (`System.import`) 2016-02-09 17:17:57 -08:00