Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Poulpe
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Show more breadcrumbs
octobus
Poulpe
Commits
ca0b78f1
Commit
ca0b78f1
authored
1 year ago
by
Pierre-Yves David
Browse files
Options
Downloads
Patches
Plain Diff
benchmark: introduce a ssh variant to pull benchmark
parent
59fe2d3c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
suites/hg/benchmarks/pull.pbd
+16
-1
16 additions, 1 deletion
suites/hg/benchmarks/pull.pbd
tests/test-benchmark-listing.t
+3
-0
3 additions, 0 deletions
tests/test-benchmark-listing.t
tests/test-tasks-generation.t
+8
-8
8 additions, 8 deletions
tests/test-tasks-generation.t
with
27 additions
and
9 deletions
suites/hg/benchmarks/pull.pbd
+
16
−
1
View file @
ca0b78f1
...
...
@@ -7,7 +7,7 @@
copy-data-env = true
[simple-command]
command='hg pull $ISSUE6528_ARG $PULLED_DELTA_REUSE_CFG -R temporary-pull-local
temporary-pull-remote
'
command='hg pull $ISSUE6528_ARG $PULLED_DELTA_REUSE_CFG -R temporary-pull-local'
prepare-run = """
if [ ! -d temporary-pull-remote ]; then
hg -R $MAIN_REPO debugupdatecache;
...
...
@@ -19,6 +19,12 @@
fi
rm -rf temporary-pull-local
cp --archive --recursive --reflink=auto "$MAIN_REPO" temporary-pull-local;
echo '[paths]' >> temporary-pull-local/.hg/hgrc
if [ $PROTO == "ssh" ]; then
echo "default=ssh://localhost/$PWD/temporary-pull-remote" >> temporary-pull-local/.hg/hgrc
else
echo "default=../temporary-pull-remote" >> temporary-pull-local/.hg/hgrc
fi
"""
[environment]
MAIN_REPO="DATA-VARS:mercurial.main-repo-path"
...
...
@@ -79,3 +85,12 @@
[simple-command.variants.dimensions.explicit-rev.tip]
extend-command = " --rev tip"
[simple-command.variants.dimensions.protocol.local]
default=true
environment.PROTO="local"
[simple-command.variants.dimensions.protocol.ssh]
environment.PROTO="ssh"
extend-command = " --config ui.remotecmd=\"$POULPE_SSH_REMOTE_HG\""
This diff is collapsed.
Click to expand it.
tests/test-benchmark-listing.t
+
3
−
0
View file @
ca0b78f1
...
...
@@ -161,6 +161,9 @@
-
default
(
default
)
-
fix
-
incoming
-
disabled
*
protocol:
-
local
(
default
)
-
ssh
*
pulled
-
delta
-
reuse
-
policy:
-
default
(
default
)
-
forced
...
...
This diff is collapsed.
Click to expand it.
tests/test-tasks-generation.t
+
8
−
8
View file @
ca0b78f1
...
...
@@ -69,5 +69,5 @@
$
poulpe
den
-
generate
-
tasks
--
all
-
variants
hg:MERCURIAL_VERSION
=
6.5.3
>
tasks
$
wc
-
l
<
tasks
1
418
1
634
$
sort
--
unique
<
tasks
|
wc
-
l
...
...
@@ -73,5 +73,5 @@
$
sort
--
unique
<
tasks
|
wc
-
l
1
418
1
634
$
head
tasks
RUN
hg:MERCURIAL_VERSION
=
6.5.3
bar
hg
/
cat
.
pbd:files
=
all
-
root:output
=
plain:rev
=
tip
RUN
hg:MERCURIAL_VERSION
=
6.5.3
bar
hg
/
cat
.
pbd:files
=
all
-
root:output
=
json:rev
=
tip
...
...
@@ -91,5 +91,5 @@
>
--
data
-
env
-
filter
mercurial
.
repo
.
graph
.
visible
-
revision
-
count
=
"
re:^1....$
"
\
>
>
tasks
$
wc
-
l
<
tasks
709
817
$
sort
--
unique
<
tasks
|
wc
-
l
...
...
@@ -95,5 +95,5 @@
$
sort
--
unique
<
tasks
|
wc
-
l
709
817
$
head
tasks
RUN
hg:MERCURIAL_VERSION
=
6.5.3
foo
hg
/
cat
.
pbd:files
=
all
-
root:output
=
plain:rev
=
tip
RUN
hg:MERCURIAL_VERSION
=
6.5.3
foo
hg
/
cat
.
pbd:files
=
all
-
root:output
=
json:rev
=
tip
...
...
@@ -110,5 +110,5 @@
>
--
data
-
env
-
filter
name
=
"
ba-bar
"
\
>
>
tasks
$
wc
-
l
<
tasks
709
817
$
sort
--
unique
<
tasks
|
wc
-
l
...
...
@@ -114,5 +114,5 @@
$
sort
--
unique
<
tasks
|
wc
-
l
709
817
$
head
tasks
RUN
hg:MERCURIAL_VERSION
=
6.5.3
bar
hg
/
cat
.
pbd:files
=
all
-
root:output
=
plain:rev
=
tip
RUN
hg:MERCURIAL_VERSION
=
6.5.3
bar
hg
/
cat
.
pbd:files
=
all
-
root:output
=
json:rev
=
tip
...
...
@@ -156,5 +156,5 @@
>
--
benchmark
-
variant
-
filter
files
=
"
re:^.*shuffled$
"
\
>
>
tasks
$
wc
-
l
<
tasks
1
350
1
566
$
sort
--
unique
<
tasks
|
wc
-
l
...
...
@@ -160,5 +160,5 @@
$
sort
--
unique
<
tasks
|
wc
-
l
1
350
1
566
$
head
tasks
RUN
hg:MERCURIAL_VERSION
=
6.5.3
bar
hg
/
cat
.
pbd:files
=
all
-
list
-
path
-
shuffled:output
=
plain:rev
=
tip
RUN
hg:MERCURIAL_VERSION
=
6.5.3
bar
hg
/
cat
.
pbd:files
=
all
-
list
-
path
-
shuffled:output
=
json:rev
=
tip
...
...
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