Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
scmperf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
This instance will be upgraded to Heptapod 17.11.0rc1 on 2025-04-24 between 17:00 and 18:00 UTC+2
Show more breadcrumbs
mercurial
scmperf
Commits
5c9facee
Commit
5c9facee
authored
6 years ago
by
Pierre-Yves David
Browse files
Options
Downloads
Patches
Plain Diff
readme: update with common command example
parent
388ece94
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+55
-0
55 additions, 0 deletions
README.md
with
55 additions
and
0 deletions
README.md
+
55
−
0
View file @
5c9facee
...
...
@@ -22,3 +22,58 @@
cat ~/.ssh/bighgperf.pub >> ~/.ssh/authorized_keys
ssh-keyscan -H localhost >> ~/.ssh/known_hosts
```
How to Setup
============
Make sure you have the environment setup
$ virtualenv some/dir/venv-asv
$ some/dir/venv-asv/bin/pip install -r requirements.txt
# Do not forget to enable the virtual env before running the benchmark
$ source some/dir/venv-asv
Running benchmarks
==================
How to run all benchmarks on the default revisions
--------------------------------------------------
$ ./launch.sh
How to run all benchmarks on specific revisions
-----------------------------------------------
$ ./launch.sh "0b63a6743010+33ac6a72308a"
(any revset are supported)
How to run some specific benchmark
----------------------------------
use the '--bench' option to filter the test to run using a regular expression
Running one benchmark only
$ ./launch.sh "0b63a6743010+33ac6a72308a" --bench track_commit
Running one pypy variant only
$ ./launch.sh "0b63a6743010+33ac6a72308a" --bench "netbeans-2018"
Running one test with one variant
$ ./launch.sh "0b63a6743010+33ac6a72308a" --bench "track_commit.
*
mozilla-central"
Comparing results
=================
$ asv compare -s oldhash newhash
Checking where a run spent time
===============================
$ ./asv_result_time.py results/
<machine>
/
<result-file>
.json
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment