Re: Performance optimizations on erl_eval

Fredrik <[email protected]>
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <[email protected]>
On 05/09/2013 12:54 AM, José Valim wrote:
> Hello,
>
> I am sending a performance optimization for erl_lint. We have noticed 
> when profiling code compilation that a bunch of time was being spent 
> on erl_lint:default_types() which simples builds a dict. We observed 
> those default types in the dictionary were not actually used, in fact, 
> they were always discarded when looping the dictionary. We have 
> removed those entries from the dictionary and compiled them into a 
> function clause.
>
> I have rebuilt Elixir's test suite with this patch and got around a 8% 
> performance speed in some compilation cases.
>
> git fetch git://github.com/josevalim/otp.git 
> <http://github.com/josevalim/otp.git> erl_lint-default_types
>
> https://github.com/josevalim/otp/compare/erl_lint-default_types
> https://github.com/josevalim/otp/compare/erl_lint-default_types.patch
>
> Thank you!
>
> *José Valim*
> www.plataformatec.com.br <http://www.plataformatec.com.br/>
> Skype: jv.ptec
> Founder and Lead Developer
>
>
>
> _______________________________________________
> erlang-patches mailing list
> [email protected]
> http://erlang.org/mailman/listinfo/erlang-patches
Hello José,
I've fetched your branch and a review process of your patch has been 
started.
Thanks,

-- 

BR Fredrik Gustafsson
Erlang OTP Team

_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.