Skip to content
Snippets Groups Projects
  1. Nov 07, 2018
  2. Nov 06, 2018
  3. Nov 07, 2018
  4. Nov 02, 2018
  5. Nov 06, 2018
  6. Nov 05, 2018
  7. Sep 06, 2018
  8. Sep 04, 2018
  9. Aug 30, 2018
  10. Jun 15, 2018
  11. Jun 12, 2018
    • Philippe Pepiot's avatar
      Add a clone --stream benchmark · 21e8fb819e57
      Philippe Pepiot authored
      In a dedicated class since results cannot be correlated with clone benchmarks.
      Also unlike clone benchmarks, don't benchmark with a given revision since
      --stream will ignore it.
      21e8fb819e57
    • Philippe Pepiot's avatar
      Enable clone benchmarks for all reference repositories · 71963760ac6d
      Philippe Pepiot authored
      This is a bit tricky because there are several constraints:
      
      * we must cleanup after clone (in setup/teardown) to limit disk space usage
      * we must limit benchmark duration (avoid to run too much time on big repositories)
      * we must have more stable results for small repositories
      
      The whole algorithm is in asv.benchmark.benchmark_timing().
      
      To ensure setup/teardown is called before/after each clone we *must* have
      number = 1 (so timer.timeit() will be called with 1 as argument).
      Then it's important to have a proper sample_time set, because it will control
      how long the benchmark will run. timeit() is called `repeat` (default 10) times
      unless the whole benchmark (= one benchmark function with one set of parameter)
      takes more than `repeat` * 1.3 * `sample_time` where `sample_time` has a default value of 0.1
      
      This can produce very short times, for instance for a clone duration of 20s
      this will only run one clone even if repeat is set 10...
      
      So use sample_time = (max_time_we_want_the_benchmark_to_run  / (repeat * 1.3))
      to control maximum whole benchmark duration and to ensure timeit() will be
      called close to `repeat` times.
      71963760ac6d
    • Philippe Pepiot's avatar
      Drop useless param 'strip' from clone benchmarks · 38865651f487
      Philippe Pepiot authored
      'strip' param was only taking one value 'same'.
      Drop this param by inheriting from BaseTestSuite instead of
      BaseExchangeTimeSuite.
      38865651f487
    • Philippe Pepiot's avatar
      Handle params "repo_type" and "revset" Mixin class · 49aa5eec015c
      Philippe Pepiot authored
      In following changesets we will add exchanges benchmarks not using "strip" or
      "revset" params.
      
      Moving this outside of the BaseExchangeTimeSuite allow to re-use this logic
      without inheriting from it.
      49aa5eec015c
  12. May 17, 2018
    • Philippe Pepiot's avatar
      Use 'tip' instead of 'default' as revision variant · dbf6c2ca5ed8
      Philippe Pepiot authored
      This apply to files, archive and exchange benchmarks.
      
      Some reference repositories doesn't have a 'default' revision, or it relate to
      very old changesets that are not stripped by prepare_repos.py, so exchange
      benchmarks might be irrelevant.
      dbf6c2ca5ed8
  13. Jul 19, 2018
    • Philippe Pepiot's avatar
      Add verbose output to launch.sh · 573bbf4a949d
      Philippe Pepiot authored
      This display extra information like stderr / stdout of installation of the repo
      and display information about benchmark and variant combination currently
      running.
      
      Closes #478
      573bbf4a949d
  14. Aug 14, 2018
  15. Aug 13, 2018
  16. Aug 14, 2018
Loading