Skip to content

Instantly share code, notes, and snippets.

@holmesal
Last active December 10, 2016 01:35
Show Gist options
  • Save holmesal/bb3e93e8a66a78a4e349940ac1a66aa0 to your computer and use it in GitHub Desktop.
Save holmesal/bb3e93e8a66a78a4e349940ac1a66aa0 to your computer and use it in GitHub Desktop.

With sourcemaps: 1m7.692s

time react-native bundle --entry-file index.ios.js --bundle-output=ios/main.jsbundle --sourcemap-output=ios/main.jsbundle.map --reset-cache

time react-native bundle --entry-file index.ios.js --bundle-output=ios/main.jsbundle --sourcemap-output=ios/main.jsbundle.map --reset-cache
(node:45341) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.
[12/9/2016, 5:27:15 PM] <START> Initializing Packager
[12/9/2016, 5:27:15 PM] <START> Building in-memory fs for JavaScript
[12/9/2016, 5:27:15 PM] <END>   Building in-memory fs for JavaScript (181ms)
[12/9/2016, 5:27:15 PM] <START> Building Haste Map
[12/9/2016, 5:27:16 PM] <END>   Building Haste Map (463ms)
[12/9/2016, 5:27:16 PM] <END>   Initializing Packager (710ms)
[12/9/2016, 5:27:16 PM] <START> Transforming files
[12/9/2016, 5:27:54 PM] <END>   Transforming files (38146ms)
bundle: start
bundle: finish
bundle: Writing bundle output to: ios/main.jsbundle
bundle: Writing sourcemap output to: ios/main.jsbundle.map
bundle: Done writing bundle output
bundle: Done writing sourcemap output
Assets destination folder is not set, skipping...

real	1m7.692s
user	2m29.416s
sys	0m7.111s

Without sourcemaps: 1m7.438s

time react-native bundle --entry-file index.ios.js --bundle-output=ios/main.jsbundle --reset-cache

time react-native bundle --entry-file index.ios.js --bundle-output=ios/main.jsbundle --reset-cache
(node:45552) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.
[12/9/2016, 5:30:36 PM] <START> Initializing Packager
[12/9/2016, 5:30:36 PM] <START> Building in-memory fs for JavaScript
[12/9/2016, 5:30:37 PM] <END>   Building in-memory fs for JavaScript (230ms)
[12/9/2016, 5:30:37 PM] <START> Building Haste Map
[12/9/2016, 5:30:37 PM] <END>   Building Haste Map (489ms)
[12/9/2016, 5:30:37 PM] <END>   Initializing Packager (762ms)
[12/9/2016, 5:30:37 PM] <START> Transforming files
[12/9/2016, 5:31:15 PM] <END>   Transforming files (37984ms)
bundle: start
bundle: finish
bundle: Writing bundle output to: ios/main.jsbundle
bundle: Done writing bundle output
Assets destination folder is not set, skipping...

real	1m7.438s
user	2m26.217s
sys	0m6.552s

http://stackoverflow.com/questions/556405/what-do-real-user-and-sys-mean-in-the-output-of-time1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment