Skip to content
Snippets Groups Projects
  1. Sep 13, 2019
  2. Aug 01, 2019
  3. Jul 22, 2019
    • Raphaël Gomès's avatar
      stuck-benchmarks: add `finalize_teardown` for `BaseExchangeMixin` · 0e1fa522
      Raphaël Gomès authored
      If the `setup` method fails, the tests session waits for timeout (1800s per
      benchmark!), because BaseExchangeMixin's setup launches `hg serve`. The ASV
      test runner does not understand that setup failed and it should move on to
      the next benchmark.
      This shuts down the `hg serve` in case the `setup` breaks.
      0e1fa522
  4. Jul 18, 2019
  5. May 17, 2019
  6. May 19, 2019
  7. May 18, 2019
  8. May 19, 2019
  9. Apr 28, 2019
    • Pierre-Yves David's avatar
      benchmark: add an "identical" discovery benchmark · da84cf0a
      Pierre-Yves David authored
      This one is dedicated to tracking the time taken for two identical repository to
      realise they are identical.
      
      We take the addition of a new test as an opportunity to give it a proper name to
      this test.
      da84cf0a
    • Pierre-Yves David's avatar
      benchmark: migrate discovery benchmarks to roles · 631ac209
      Pierre-Yves David authored
      The existing discovery test are now using the new roles information. To keep the compatibility witht he older class structure. We are using the `benchmark_name` feature to keep the same name. We'll probably want to use the very same feature to rename all test later into something more sensible.
      
      However, as a side effect, this means we are dropping the "same" variant of the
      subset/super set test. So ASV will be confused by the params value change...
      <sigh>.
      
      Important note: for this discovery to work, benchmark now needs to be have an
      upgraded reference.
      631ac209
  10. Apr 27, 2019
  11. Apr 28, 2019
  12. Apr 27, 2019
  13. Mar 30, 2019
  14. Apr 05, 2019
  15. Apr 02, 2019
  16. Mar 29, 2019
  17. Mar 28, 2019
  18. Mar 27, 2019
  19. Mar 28, 2019
  20. Mar 05, 2019
    • Raphaël Gomès's avatar
      Change `yaml.load` to `yaml.safe_load` and refactor into a util. · 64fc6714
      Raphaël Gomès authored
      Both benchmarks/ and scmperf_lib/ make use of PyYAML to load yaml
      files. This library has used an unsafe (i.e. can load yaml bombs, etc.)
      loader by default since its inception and has been urging people to move
      to `safe_load` instead.
      
      We could have still used `load` by switching to SafeLoader, but the refactor
      shrunk the code so much that it would not really be an improvement.
      64fc6714
    • Raphaël Gomès's avatar
      Parametrize the list of strip variants per repo. · c21323ce
      Raphaël Gomès authored
      Strip variants can differ between repos and should not be hardcoded.
      This change uses the data from the .benchrepo file for each repo to
      pass to each corresponding test.
      
      We are new storing the entire repo prefix instead of only storing
      the hash, since it is just as unique, removing the need to recompute
      the prefix from the hash later in the code.
      c21323ce
  21. Mar 04, 2019
  22. Mar 05, 2019
Loading