[erlang-patches] IC: Improve preprocessor & codegen performance

Haitao Li lihaitao@REDACTED
Sun Jul 31 11:53:59 CEST 2011


Hi,

Please fetch patches about IDL compiier optimization from:
  git fetch git://github.com/lht/otp.git idl-compiler-opt

Test result of one real idl file from the project I am working on.

Erlang IDL compiler version 4.2.26
File "../mmtdev.idl" compilation started  :   2011/7/31 17:49
Time for input file scanning  :        7.66
Time for input file parsing   :        0.02
Time for pragma registration  :        0.31
Time for type code appliance  :        0.38
Time for code generation      :       10.20
Time for TOTAL                :       18.61

Erlang IDL compiler version 4.2.26
File "../mmtdev.idl" compilation started  :   2011/7/31 17:49
Time for input file scanning  :        0.83
Time for input file parsing   :        0.03
Time for pragma registration  :        0.31
Time for type code appliance  :        0.41
Time for code generation      :        1.85
Time for TOTAL                :        3.45

/Haitao



More information about the erlang-patches mailing list