0 Replies Latest reply on Sep 10, 2008 12:55 PM by (Peter_Donovan)

    svn] 3169:

      svn] 3169:

      Revision: 3169
      Author: peted@adobe.com
      Date: 2008-09-10 13:24:01 -0700 (Wed, 10 Sep 2008)

      Log Message:
      -----------

      Asc InputBuffer/OffsetInputBuffer/Scanner simplified.
      Asc front-end compile-time performance improvements.
      Error/Warning pointer fixed.
      asc-tests updated.

      Reviewers: Paul Reilly, Jeff Dyer
      Bugs: -
      QA: Gaurav Jain
      Doc: none

      I7 Performance improvements summary:

      (*Note that this summary includes additional performance enhancement
      work done by Paul Reilly.)

      i7 changes resulted in measurable full compile performance speedup.
      Some lessening of memory use caused full compile performance of HxxxAxx to be ~30% faster.

      Compile time full benchmark improvement:

      -789ms (5360 to 4571) FlexStore
      -3476ms (44346 to 40870) Dxxx
      -959ms (11150 to 10191) DxxxSmall
      -351ms (3524 to 3173) PhotoViewer
      -838ms (5394 to 4556) Bxxx
      -888ms (4308 to 3420) CheckInApp
      -352ms (7343 to 6991) CustomFlexLibrary
      -54411ms (223199 to 168788) CompileTimeTestApp1
      -870ms (4042 to 3172) PhotoViewer ?\226?\128?\147 NO SIGN CHANGE
      -1315ms (6860 to 5545) CompileFlashTypeDisabled
      -3577ms (13887 to 10310) CompileFlashTypeEnabled
      -7793ms (32931 to 25138) Wxxx
      -11101ms (35787 to 24686) Wxxx Signature Change

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/LintEvaluator.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/InputBuffer.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/MetaDataEvaluator.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/NodeFactory.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Scanner.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Token.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/CodeGenerator.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConfigurationEvaluator.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConstantEvaluator.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/FlowAnalyzer.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ReferenceValue.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/ClassInstantiat ionErr3.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/ClassInstantiat ionErr5.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/ConstructorRetu rnTypeErr.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/dynClassWithCon sWithReturnTypeErr.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/dynClassWithPar amConsWithReturnErr.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/dynpubClassWith PrivConsErr.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/dynpubClassWith intConsErr.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/intClassWithCon sWithReturnTypeErr.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/intClassWithPar amConsWithReturnErr.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/internalClassWi thPrivConsErr.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/pubClassWithCon sWithReturnTypeErr.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/pubClassWithPar amConsWithReturnErr.err
      flex/sdk/trunk/modules/asc/test/compiler/as3/Definitions/Classes/ClassDef/publicClassWith PrivConsErr.err
      flex/sdk/trunk/mo