Permalink
Commits on Oct 2, 2012
  1. Revert "Merge branch 'yamlconfig' of git://github.com/tardyp/buildbot"

    tomprince committed Oct 2, 2012
    This reverts commit ec125d1, reversing
    changes made to 1fa1c4f.
  2. Merge pull request #539 from mgeisler/pyflakes

    tomprince committed Oct 2, 2012
    Pyflakes
  3. remove benchmark tests

    djmitche committed Oct 2, 2012
  4. remove the inheritence forbid from the specs

    tardyp committed Oct 2, 2012
    Implementing it will impact performance
    http://code.activestate.com/recipes/141933-forbidding-inheritance/
    
    
    Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
  5. more optimization

    tardyp committed Sep 18, 2012
    After reflexion, it looks that we need to optimize read access
    time rather than creation time.
  6. namespace: final implementation

    tardyp committed Sep 18, 2012
    We translate inner dicts on the fly. This is thus
    a good compromise
    
        test_benchmark1 ...
    create + access
    pure dict          : 0.00651502609253
    Namespace as dict  : 0.152539968491 ( 2341 %)
    Namespace as object: 0.173326015472 ( 2660 %)
    access only
    pure dict          : 0.00234913825989
    Namespace as dict  : 0.0270440578461 ( 1151 %)
    Namespace as object: 0.0485229492188 ( 2065 %)
                                                       [OK]
        test_benchmark2 ...
    create + access
    pure dict          : 0.00629901885986
    Namespace as dict  : 0.31452703476 ( 4993 %)
    Namespace as object: 0.336041927338 ( 5334 %)
    access only
    pure dict          : 0.00247311592102
    Namespace as dict  : 0.154057979584 ( 6229 %)
    Namespace as object: 0.179447889328 ( 7255 %)
                                                       [OK]
        test_benchmark3 ...
    create + access
    pure dict          : 0.0114121437073
    Namespace as dict  : 0.848978042603 ( 7439 %)
    Namespace as object: 1.067289114 ( 9352 %)
    access only
    pure dict          : 0.00813007354736
    Namespace as dict  : 0.208504915237 ( 2564 %)
    Namespace as object: 0.392553091049 ( 4828 %)
  7. Revert "try to avoid data copy. This does not work, as dict is a native"

    tardyp committed Sep 18, 2012
    This reverts commit 68b982561e3442ada73a9d0dbaf5960a43a68764.
  8. try to avoid data copy. This does not work, as dict is a native

    tardyp committed Sep 18, 2012
    class, and its method cannot be changed.
  9. _Namespace as a dict subclass implementation

    tardyp committed Sep 18, 2012
    This needs copy of the actually data.
    But dict like read access are then native
    
        test_benchmark1 ...
    create + access
    pure dict          : 0.00615882873535
    Namespace as dict  : 0.456478118896 ( 7411 %)
    Namespace as object: 0.478987932205 ( 7777 %)
    access only
    pure dict          : 0.00246000289917
    Namespace as dict  : 0.00496506690979 ( 201 %)
    Namespace as object: 0.0221290588379 ( 899 %)
                                                       [OK]
        test_benchmark2 ...
    create + access
    pure dict          : 0.00630712509155
    Namespace as dict  : 0.768087148666 ( 12178 %)
    Namespace as object: 0.792205810547 ( 12560 %)
    access only
    pure dict          : 0.00248885154724
    Namespace as dict  : 0.00506806373596 ( 203 %)
    Namespace as object: 0.0225648880005 ( 906 %)
                                                       [OK]
        test_benchmark3 ...
    create + access
    pure dict          : 0.0112509727478
    Namespace as dict  : 9.57195401192 ( 85076 %)
    Namespace as object: 9.70584011078 ( 86266 %)
    access only
    pure dict          : 0.00751686096191
    Namespace as dict  : 0.027991771698 ( 372 %)
    Namespace as object: 0.168903112411 ( 2246 %)
    
    Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
  10. namespace: convenience class for json like data

    tardyp committed Sep 18, 2012
    One thing that is cooler with java-script than in python is that
    dictionaries and objects are the same thing. It allows browsing of
    complex hierarchical data syntactically easy.
    
    One will always prefer writing:
    buildrequest.properties.myprop
    rather than
    brdict['properties']['myprop']
    
    This class allows such syntax sugar, by converting a dictionary
    to something that responds to both object and dictionary duck typing
    
    We don't redo the mistakes of java-script model, and don't allow this
    class to be inherited, and forbid to implement any specific method
    apart from the '__' prefixed duck-typing
    only keys() items() and values() are reserved and cannot be accessed
    via object notation. they can only be accessed via dict like
    notation
    
    First implementation, that use an internal _dict attribute
    
        test_benchmark1 ...
    create + access
    pure dict          : 0.00572395324707
    Namespace as dict  : 0.29655623436 ( 5180 %)
    Namespace as object: 0.293313026428 ( 5124 %)
    access only
    pure dict          : 0.00226902961731
    Namespace as dict  : 0.219506025314 ( 9674 %)
    Namespace as object: 0.236507892609 ( 10423 %)
                                                       [OK]
        test_benchmark2 ...
    create + access
    pure dict          : 0.00633692741394
    Namespace as dict  : 0.345242977142 ( 5448 %)
    Namespace as object: 0.35455083847 ( 5594 %)
    access only
    pure dict          : 0.00258111953735
    Namespace as dict  : 0.259343862534 ( 10047 %)
    Namespace as object: 0.266692876816 ( 10332 %)
                                                       [OK]
        test_benchmark3 ...
    create + access
    pure dict          : 0.0107021331787
    Namespace as dict  : 3.95416998863 ( 36947 %)
    Namespace as object: 4.02670288086 ( 37625 %)
    access only
    pure dict          : 0.00716400146484
    Namespace as dict  : 3.73691916466 ( 52162 %)
    Namespace as object: 3.7946138382 ( 52967 %)
Commits on Oct 1, 2012
  1. Merge pull request #541 from brycelelbach/init-script

    tomprince committed Oct 1, 2012
    Init script fix
Commits on Sep 30, 2012
  1. PyFlakes: fix handling of warnings

    mgeisler committed Sep 30, 2012
    The buildstep tried to return WARNINGS or FAILURE depending on the
    severity of the warnings issued. However, this didn't work since
    PyFlakes always return 1 if it finds any warnings or errors. A return
    code of 1 is now decoded to mean WARNINGS, and the evaluateCommand
    method will then classify the result further.
  2. PyFlakes: add failure test

    mgeisler committed Sep 30, 2012
  3. PyFlakes: add success test

    mgeisler committed Sep 30, 2012
  4. Fix missing literal block

    mgeisler committed Sep 30, 2012
  5. Fix capitalization of Hg

    mgeisler committed Sep 29, 2012
  6. Fix capitalization of Darcs

    mgeisler committed Sep 29, 2012
  7. Fix capitalization of GitHub

    mgeisler committed Sep 29, 2012
  8. Fix capitalization of Git

    mgeisler committed Sep 29, 2012
  9. Fix "Pythons" -> "Python's"

    mgeisler committed Sep 29, 2012
  10. Fix capitalization of Python

    mgeisler committed Sep 29, 2012
  11. Merge branch 'pull532'

    djmitche committed Sep 30, 2012
  12. pyflakes and whitespace

    djmitche committed Sep 30, 2012
Commits on Sep 29, 2012
Commits on Sep 28, 2012
  1. MsBuild: minor cleanups

    os12 committed Sep 28, 2012