Skip to content
Snippets Groups Projects
  1. Sep 23, 2019
  2. Sep 24, 2019
  3. Sep 14, 2019
  4. Sep 23, 2019
  5. Sep 13, 2019
  6. Aug 01, 2019
  7. May 19, 2019
  8. Apr 27, 2019
  9. Apr 28, 2019
  10. Apr 27, 2019
  11. Apr 05, 2019
  12. Apr 02, 2019
  13. Mar 28, 2019
    • Raphaël Gomès's avatar
      Change compatible_with decorator to not_compatible_with · 5f3205ac0df2
      Raphaël Gomès authored
      This decorator will be used to mark versions that do not work most of the time.
      So instead passing `compatible_with("not(revset)")` and a negative filter function,
      we can just specify the revset wherein the bench should not run and optionally
      further filter on test kwargs.
      5f3205ac0df2
  14. Mar 05, 2019
    • Raphaël Gomès's avatar
      Change `yaml.load` to `yaml.safe_load` and refactor into a util. · 64fc6714b31e
      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.
      64fc6714b31e
    • Raphaël Gomès's avatar
      Parametrize the list of strip variants per repo. · c21323ce0592
      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.
      c21323ce0592
  15. Mar 04, 2019
  16. Mar 05, 2019
  17. Feb 26, 2019
  18. Feb 13, 2019
  19. Mar 04, 2019
    • Raphaël Gomès's avatar
      Make the repos directory path configurable. · fc1af90dc2b7
      Raphaël Gomès authored
      We currently are limited in the way that tests can be run against
      the test data, which has to reside in the same folder.
      For reasons of flexibility and/or performance, one might need to
      change the filesystem path to the repositories being tested.
      This change introduces a new config variable "repodir" which
      must contain a valid path. While this path is ran through `os.path.abspath`,
      it is recommended to use an absolute path, since the working directory in this context
      is not garanteed to be stable.
      fc1af90dc2b7
  20. Feb 12, 2019
  21. Jan 25, 2019
  22. Nov 23, 2018
  23. Nov 07, 2018
  24. Aug 30, 2018
  25. Jul 06, 2018
  26. Aug 13, 2018
Loading