before

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
euler:rubinius brian$ TOTAL=100_000 ruby concat.rb
Rehearsal ------------------------------------------
create   0.220000   0.000000   0.220000 (  0.236374)
concat   0.260000   0.000000   0.260000 (  0.260445)
--------------------------------- total: 0.480000sec

             user     system      total        real
create   0.220000   0.000000   0.220000 (  0.223190)
concat   0.260000   0.000000   0.260000 (  0.260661)
euler:rubinius brian$ TOTAL=100_000 shotgun/rubinius concat.rb
Rehearsal ------------------------------------------
create   0.332803   0.000000   0.332803 (  0.332780)
concat   4.207582   0.000000   4.207582 (  4.207553)
--------------------------------- total: 4.540385sec

             user     system      total        real
create   0.315954   0.000000   0.315954 (  0.315935)
concat   4.185157   0.000000   4.185157 (  4.185152)

after

1
2
3
4
5
6
7
8
9
10
euler:rubinius brian$ TOTAL=100_000 shotgun/rubinius concat.rb
Rehearsal ------------------------------------------
create   0.320235   0.000000   0.320235 (  0.320206)
concat   0.598359   0.000000   0.598359 (  0.598355)
--------------------------------- total: 0.918594sec

             user     system      total        real
create   0.319970   0.000000   0.319970 (  0.319963)
concat   0.602035   0.000000   0.602035 (  0.602030)