[erlang-bugs] Erlang 18.0-rc1 is behaving slower than 17.4 (and 17.5)

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Tue Apr 14 13:07:02 CEST 2015


On Tue, Apr 14, 2015 at 7:55 AM, José Valim <jose.valim@REDACTED
> wrote:

> Yup, it is the due to the timer wheel. +S 1 reduces it. I believe Lukas
> mentioned it would take around 1 word MB per scheduler.


r18 +S1 is actually faster in the median it seems, but it does have some
speed bumps higher up:

http://imgur.com/xTZc4qn

> summary(r17)
       V1           version
 Min.   :0.1900   Length:100
 1st Qu.:0.1930   Class :character
 Median :0.1940   Mode  :character
 Mean   :0.1946
 3rd Qu.:0.1960
 Max.   :0.2040
> summary(r18s1)
       V1           version
 Min.   :0.1880   Length:100
 1st Qu.:0.1900   Class :character
 Median :0.1910   Mode  :character
 Mean   :0.1957
 3rd Qu.:0.1940
 Max.   :0.3000

To recreate this, use ggplot2, but use strings for the version and then use
those version strings as factors:

p <- ggplot(x, aes(x = V1, colour=factor(version)))
p + geom_density()
png('out.png')
p + geom_density()
dev.off()





-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150414/d3ed7491/attachment.htm>


More information about the erlang-bugs mailing list