General

Profile

jenkoruby (David Jenkins)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

01/21/2015

04:15 PM Ruby Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
Final repro, no data files, all code:
~~~
require 'benchmark'
class ToBeMarshaled
def initialize n
@a = []
n.times do |i|
@a << i.to_f
end
end
end
tbm = ToBeMarshaled.new(10000)
n = 100
Be...
jenkoruby (David Jenkins)
02:48 PM Ruby Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
I have an even better repro (attached) which yielded the following results:
2.1.5
user system total real
Marshal Dump 4.250000 0.080000 4.330000 ( 4.682933)
Marshal Dump 4.440000 0.040000 ...
jenkoruby (David Jenkins)
05:13 AM Ruby Bug #10761 (Closed): Marshal.dump 100% slower in 2.2.0 vs 2.1.5
Calling Marshal.dump on a complex (nested) object 100 times shows the following:
2.1.5
user system total real
Marshal Dump 24.350000 0.250000 24.600000 ( 29.330294)
2.2.0
user ...
jenkoruby (David Jenkins)

Also available in: Atom