Skip to content
Snippets Groups Projects
  • Philippe Pepiot's avatar
    73baad28
    Re(re-re-re) implement exchange benchmarks · 73baad28
    Philippe Pepiot authored
    Use prepare_repos.py to create partial benchmarks which are cloned, then
    stripped. This use debugupdatecahce which require hg >= 4.3 (we use the system
    installed hg for that).
    
    Partial clones are then used in incoming/outgoing benchmark which can then be
    switched to "time" benchmark allowing ASV to control the number of loop etc.
    
    Since we're using subprocesses use timeit.default_timer as timer.
    73baad28
    History
    Re(re-re-re) implement exchange benchmarks
    Philippe Pepiot authored
    Use prepare_repos.py to create partial benchmarks which are cloned, then
    stripped. This use debugupdatecahce which require hg >= 4.3 (we use the system
    installed hg for that).
    
    Partial clones are then used in incoming/outgoing benchmark which can then be
    switched to "time" benchmark allowing ASV to control the number of loop etc.
    
    Since we're using subprocesses use timeit.default_timer as timer.
prepare_repos.py 1.35 KiB