Skip to content
Snippets Groups Projects
Commit a999904b4910 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

benchmarks: add a filepath version of the cat and files benchmark

parent 796b52394d78
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,5 @@
# each run, especially the one who do not need them.
hg files $REV --template 'path:{path}\n' | sort > ../all_sorted.path;
shuf ../all_sorted.path --random-source=../all_sorted.path > ../all_suffled.path;
......@@ -18,3 +17,6 @@
shuf ../all_sorted.path --random-source=../all_sorted.path > ../all_suffled.path;
hg files $REV --template 'filepath:{path}\n' | sort > ../all_sorted.filepath;
shuf ../all_sorted.filepath --random-source=../all_sorted.filepath > ../all_suffled.filepath;
hg files $REV | sed 's/\\({\\|}\\|\\[\\|\\]\\|*\\|?\\)/\\\\\\1/g' | sort > ../all_sorted.pattern;
......@@ -20,5 +22,4 @@
hg files $REV | sed 's/\\({\\|}\\|\\[\\|\\]\\|*\\|?\\)/\\\\\\1/g' | sort > ../all_sorted.pattern;
shuf ../all_sorted.pattern --random-source=../all_sorted.pattern > ../all_suffled.pattern;
"""
......@@ -47,6 +48,12 @@
[simple-command.variants.dimensions.files.all-list-path-shuffled]
environment.FILES='set:listfile:../all_suffled.path'
[simple-command.variants.dimensions.files.all-list-filepath-sorted]
environment.FILES='set:listfile:../all_sorted.filepath'
[simple-command.variants.dimensions.files.all-list-filepath-shuffled]
environment.FILES='set:listfile:../all_suffled.filepath'
[simple-command.variants.dimensions.files.all-list-pattern-sorted]
environment.FILES='set:listfile:../all_sorted.pattern'
......
......@@ -16,6 +16,5 @@
# each run, especially the one who do not need them.
hg files $REV --template 'path:{path}\n' | sort > ../all_sorted.path;
shuf ../all_sorted.path --random-source=../all_sorted.path > ../all_suffled.path;
......@@ -20,3 +19,6 @@
shuf ../all_sorted.path --random-source=../all_sorted.path > ../all_suffled.path;
hg files $REV --template 'filepath:{path}\n' | sort > ../all_sorted.filepath;
shuf ../all_sorted.filepath --random-source=../all_sorted.filepath > ../all_suffled.filepath;
hg files $REV | sed 's/\\({\\|}\\|\\[\\|\\]\\|*\\|?\\)/\\\\\\1/g' | sort > ../all_sorted.pattern;
......@@ -22,5 +24,4 @@
hg files $REV | sed 's/\\({\\|}\\|\\[\\|\\]\\|*\\|?\\)/\\\\\\1/g' | sort > ../all_sorted.pattern;
shuf ../all_sorted.pattern --random-source=../all_sorted.pattern > ../all_suffled.pattern;
"""
......@@ -53,6 +54,12 @@
[simple-command.variants.dimensions.files.all-list-path-shuffled]
environment.FILES='set:listfile:../all_suffled.path'
[simple-command.variants.dimensions.files.all-list-filepath-sorted]
environment.FILES='set:listfile:../all_sorted.filepath'
[simple-command.variants.dimensions.files.all-list-filepath-shuffled]
environment.FILES='set:listfile:../all_suffled.filepath'
[simple-command.variants.dimensions.files.all-list-pattern-sorted]
environment.FILES='set:listfile:../all_sorted.pattern'
......
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