diff --git a/asv.conf.json b/asv.conf.json index 0d2d57adb6904d0d4befbc4960f90975be99a470_YXN2LmNvbmYuanNvbg==..63a9a5262e1bc7f22dc02760007e70de0252cecd_YXN2LmNvbmYuanNvbg== 100644 --- a/asv.conf.json +++ b/asv.conf.json @@ -4,7 +4,7 @@ "version": 1, // The name of the project being benchmarked - "project": "mercurial", + "project": "local", // The URL or local path of the source code repository for the // project being benchmarked @@ -8,7 +8,7 @@ // The URL or local path of the source code repository for the // project being benchmarked - "repo": "hg+https://www.mercurial-scm.org/repo/hg/", + "repo": "/tmp/local", // List of branches to benchmark. If not provided, defaults to "master" // (for git) or "default" (for mercurial). @@ -20,7 +20,7 @@ // determined from "repo" by looking at the protocol in the URL // (if remote), or by looking for special directories, such as // ".git" (if local). - // "dvcs": "git", + "dvcs": "hg", // The tool to use to create environments. May be "conda", // "virtualenv" or other value depending on the plugins in use. diff --git a/launch.sh b/launch.sh index 0d2d57adb6904d0d4befbc4960f90975be99a470_bGF1bmNoLnNo..63a9a5262e1bc7f22dc02760007e70de0252cecd_bGF1bmNoLnNo 100755 --- a/launch.sh +++ b/launch.sh @@ -2,7 +2,10 @@ set -euo pipefail # Ensure asv now machine characteristics -asv machine --machine "docker" --os "Linux 4.10.0-22-generic" --arch "x86_64" --cpu "Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz" --ram "15953356" +asv machine --yes + +# Check that the machine is ready for benchmark +python -m perf system show | grep "OK!" # Ensure all repository are here if [ ! -d "repos/mozilla-central/" ]; then @@ -10,7 +13,7 @@ fi # Launch asv -asv run --show-stderr --steps 10 --skip-existing-successful "4.2::" +taskset -c 2,3 asv run --show-stderr --skip-existing-successful --steps 10 --bench ".*time_version.*" "NEW" # Publish results asv publish