Menu

#4 Faster tool performance and testing

closed
7
2003-03-08
2002-12-13
No

Testing should be faster. One good way to accomplish
this is to speed up the checker in general. And a good
way to do that is to precompile in all of the
specifications used by Object, which have to be read
and checked anyway.

We have also started to implement tests that are more
JUnit based, but more could perhaps be done with this.

Discussion

  • David Cok

    David Cok - 2002-12-19
    • summary: Faster testing --> Faster tool performance and testing
     
  • David Cok

    David Cok - 2002-12-19

    Logged In: YES
    user_id=595682

    Precompiling (and storing as part of .class files?) would
    also speed up all tool operation - hence my change to the
    summary.

     
  • Gary T. Leavens

    Gary T. Leavens - 2002-12-20
    • assigned_to: cheon --> cclifton
     
  • Curtis Clifton

    Curtis Clifton - 2003-01-07

    Logged In: YES
    user_id=635640

    I have refactored the various caches into mjc.TypeLoader and
    checker.JmlTypeLoader. However, someone with more knowledge
    of the refinement mechanisms (i.e., Clyde) needs to finish
    the implementation of JmlTypeLoader. In particular we need
    two caches (one compilation session, one VM session) for
    each existing cache. Then when tests are JUnitized we can
    avoid reparsing/reprocessing all the java.* and
    org.jmlspecs.models.* types. Speed up on MultiJava was
    better than 3x for JUnitized tests and better than 1.6x
    overall. Speed up for JML will likely be even better since
    the trusted types in MJ are read from bytecode but will be
    read from source for JML.

    See mjc.TypeLoader for the basic idea. This would be a good
    project to pair program on.

     
  • Curtis Clifton

    Curtis Clifton - 2003-01-07
    • assigned_to: cclifton --> cruby
     
  • Gary T. Leavens

    Gary T. Leavens - 2003-03-08
    • status: open --> closed
     
  • Gary T. Leavens

    Gary T. Leavens - 2003-03-08

    Logged In: YES
    user_id=633675

    Caching is done. The rest can wait.

     

Log in to post a comment.