Description:
|
Performance of common ruby tasks such as bundle, rake, warble is 2x to 3x slower on 64bit machine compared to 32 bit machines. I have builds running in amazon using Jenkins and on slaves where I am using 32 bit machines the builds are 2-3x faster then on slaves running 64 bit. Noticed this dues to a recent upgrade to 64 bit machines. Here are some timings:
rate tests on 64 bit
12:38:18 # Running tests:
12:38:18
12:40:04 ............................................................................
12:40:04
12:40:04 Finished tests in 105.843000s, 0.9165 tests/s, 2.5793 assertions/s.
12:40:04
12:40:04 97 tests, 273 assertions, 0 failures, 0 errors, 0 skips
12:41:35
12:42:08 Run options:
12:42:08
12:42:08 # Running tests:
12:42:08
12:42:49 .............................................................................
12:42:49
12:42:49 Finished tests in 40.882000s, 4.6720 tests/s, 11.5454 assertions/s.
12:42:49
32 Bit
08:10:15 # Running tests:
08:10:15
08:11:16 ...........................................................................
08:11:16
08:11:16 Finished tests in 61.355000s, 1.5810 tests/s, 4.4495 assertions/s.
08:11:16
08:11:16 97 tests, 273 assertions, 0 failures, 0 errors, 0 skips
08:11:55
08:12:11 Run options:
08:12:11
08:12:11 # Running tests:
08:12:11
08:12:39 ...........................................................................
08:12:39
08:12:39 Finished tests in 28.435000s, 6.7171 tests/s, 16.5993 assertions/s.
All other tasks such as bundle install, warble etc also take 2-3x time
I have tested with default setting for invoke-dynamic and with invoke dynamic=false. Same results.
|