Skip to content
Snippets Groups Projects
Commit 5f7ced67 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

swh-git-loader: add a simple in-memory, from disk benchmark

parent aff1c963
No related branches found
No related tags found
No related merge requests found
[meta]
format = "0"
name = "swh.git-loader.from-disk.in-memory"
method = "simple-command"
[run]
copy-data-env = false
[environment]
TARGET_REPO = "DATA-VARS:swh.swh-loader-git.target-repo-path"
[simple-command]
command = "swh loader run git $TARGET_REPO"
......@@ -26,6 +26,7 @@
$ ls -l benchmarks
total * (glob)
* hg -> ../tooling/poulpe/suites/hg/benchmarks (glob)
* swh -> ../tooling/poulpe/suites/swh/benchmarks (glob)
$ rm benchmarks/hg
$ mkdir benchmarks/hg
$ cp tooling/poulpe/suites/hg/benchmarks/*bundle.pbd benchmarks/hg
......@@ -47,6 +48,7 @@
hg.debug.debug-update-cache
hg.perf.perf-bundle
hg.perf.unbundle
swh.git-loader.from-disk.in-memory
Showing path
------------
......@@ -66,6 +68,8 @@
benchmarks/hg/perf-bundle.pbd
hg.perf.unbundle
benchmarks/hg/perf-unbundle.pbd
swh.git-loader.from-disk.in-memory
benchmarks/swh/from-disk-in-memory.pbd
listing variants
----------------
......@@ -190,6 +194,7 @@
* source:
- default (default)
- push
swh.git-loader.from-disk.in-memory
with a patterns
--------------
......
......@@ -33,6 +33,7 @@
$ ls -l benchmark-home/benchmarks/
total * (glob)
* hg -> ../tooling/poulpe/suites/hg/benchmarks (glob)
* swh -> ../tooling/poulpe/suites/swh/benchmarks (glob)
check `bin/` content
--------------------
......@@ -119,7 +120,7 @@
data environments: [OKAY]
available: 0
benchmarks: [OKAY]
available: 26
available: 27
results: [OKAY]
poulpe suites: [OKAY]
available bin setup: 2
......@@ -136,7 +137,7 @@
data environments: [OKAY]
available: 0
benchmarks: [OKAY]
available: 26
available: 27
results: [OKAY]
poulpe suites: [OKAY]
available bin setup: 2
......
......@@ -25,6 +25,7 @@
$ ls -l benchmarks
total * (glob)
* hg -> ../tooling/poulpe/suites/hg/benchmarks (glob)
* swh -> ../tooling/poulpe/suites/swh/benchmarks (glob)
$ rm benchmarks/hg
$ mkdir benchmarks/hg
$ cp tooling/poulpe/suites/hg/benchmarks/perf-read-revisions.pbd benchmarks/hg
......@@ -62,5 +63,5 @@
$ poulpe den-generate-tasks hg:MERCURIAL_VERSION=6.9 > tasks
$ wc -l < tasks
6
8
$ sort --unique < tasks | wc -l
......@@ -66,7 +67,7 @@
$ sort --unique < tasks | wc -l
6
8
(we grep to skip later introduced benchmark)
$ head tasks
RUN hg:MERCURIAL_VERSION=6.9 bar hg/cat.pbd
RUN hg:MERCURIAL_VERSION=6.9 bar hg/debug-update-cache.pbd
RUN hg:MERCURIAL_VERSION=6.9 bar hg/perf-read-revisions.pbd
......@@ -68,8 +69,9 @@
(we grep to skip later introduced benchmark)
$ head tasks
RUN hg:MERCURIAL_VERSION=6.9 bar hg/cat.pbd
RUN hg:MERCURIAL_VERSION=6.9 bar hg/debug-update-cache.pbd
RUN hg:MERCURIAL_VERSION=6.9 bar hg/perf-read-revisions.pbd
RUN hg:MERCURIAL_VERSION=6.9 bar swh/from-disk-in-memory.pbd
RUN hg:MERCURIAL_VERSION=6.9 foo hg/cat.pbd
RUN hg:MERCURIAL_VERSION=6.9 foo hg/debug-update-cache.pbd
RUN hg:MERCURIAL_VERSION=6.9 foo hg/perf-read-revisions.pbd
......@@ -73,9 +75,10 @@
RUN hg:MERCURIAL_VERSION=6.9 foo hg/cat.pbd
RUN hg:MERCURIAL_VERSION=6.9 foo hg/debug-update-cache.pbd
RUN hg:MERCURIAL_VERSION=6.9 foo hg/perf-read-revisions.pbd
RUN hg:MERCURIAL_VERSION=6.9 foo swh/from-disk-in-memory.pbd
no-filter-run using all variants
--------------------------------
$ poulpe den-generate-tasks --all-variants hg:MERCURIAL_VERSION=6.9 > tasks
$ wc -l < tasks
......@@ -76,8 +79,8 @@
no-filter-run using all variants
--------------------------------
$ poulpe den-generate-tasks --all-variants hg:MERCURIAL_VERSION=6.9 > tasks
$ wc -l < tasks
110
112
$ sort --unique < tasks | wc -l
......@@ -83,5 +86,5 @@
$ sort --unique < tasks | wc -l
110
112
$ head tasks
RUN hg:MERCURIAL_VERSION=6.9 bar hg/cat.pbd:files=all-root:output=plain:rev=working-copy
RUN hg:MERCURIAL_VERSION=6.9 bar hg/cat.pbd:files=all-root:output=plain:rev=tip
......@@ -101,5 +104,5 @@
> --data-env-filter mercurial.repo.graph.visible-revision-count="re:^1....$" \
> > tasks
$ wc -l < tasks
55
56
$ sort --unique < tasks | wc -l
......@@ -105,5 +108,5 @@
$ sort --unique < tasks | wc -l
55
56
$ head tasks
RUN hg:MERCURIAL_VERSION=6.9 foo hg/cat.pbd:files=all-root:output=plain:rev=working-copy
RUN hg:MERCURIAL_VERSION=6.9 foo hg/cat.pbd:files=all-root:output=plain:rev=tip
......@@ -120,5 +123,5 @@
> --data-env-filter name="ba-bar" \
> > tasks
$ wc -l < tasks
55
56
$ sort --unique < tasks | wc -l
......@@ -124,5 +127,5 @@
$ sort --unique < tasks | wc -l
55
56
$ head tasks
RUN hg:MERCURIAL_VERSION=6.9 bar hg/cat.pbd:files=all-root:output=plain:rev=working-copy
RUN hg:MERCURIAL_VERSION=6.9 bar hg/cat.pbd:files=all-root:output=plain:rev=tip
......@@ -166,5 +169,5 @@
> --benchmark-variant-filter files="re:^.*shuffled$" \
> > tasks
$ wc -l < tasks
50
52
$ sort --unique < tasks | wc -l
......@@ -170,5 +173,5 @@
$ sort --unique < tasks | wc -l
50
52
$ head tasks
RUN hg:MERCURIAL_VERSION=6.9 bar hg/cat.pbd:files=all-list-path-shuffled:output=plain:rev=working-copy
RUN hg:MERCURIAL_VERSION=6.9 bar hg/cat.pbd:files=all-list-path-shuffled:output=plain:rev=tip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment