Skip to content

Commit

Permalink
Adapts workloads for Sebi CS
Browse files Browse the repository at this point in the history
  • Loading branch information
vulder committed Oct 9, 2023
1 parent b4596de commit f7be54e
Showing 1 changed file with 109 additions and 48 deletions.
157 changes: 109 additions & 48 deletions varats/varats/projects/perf_tests/feature_perf_cs_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,8 +754,8 @@ class SynthIPRuntime(VProject):
"download/v0.6.0"
},
files=[
"countries-land-10km.geo.json", "countries-land-1km.geo.json",
"countries-land-1m.geo.json"
"earth-lakes-10km.geo.json", "countries-land-10km.geo.json",
"countries-land-1km.geo.json", "countries-land-1m.geo.json"
]
)
]
Expand All @@ -765,48 +765,48 @@ class SynthIPRuntime(VProject):
VCommand(
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="countries-land-10km",
label="earth-lakes-10km",
creates=[
SourceRoot("geo-maps") /
"countries-land-10km.geo.json.compressed"
"earth-lakes-10km.geo.json.compressed"
],
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-10km.geo.json",
"earth-lakes-10km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-10km.geo.json.compressed"
"earth-lakes-10km.geo.json.compressed"
)
],
WorkloadSet(WorkloadCategory.MEDIUM): [
VCommand(
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="countries-land-1km",
label="countries-land-10km",
creates=[
SourceRoot("geo-maps") /
"countries-land-1km.geo.json.compressed"
"countries-land-10km.geo.json.compressed"
],
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-1km.geo.json",
"countries-land-10km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-1km.geo.json.compressed"
"countries-land-10km.geo.json.compressed"
)
],
WorkloadSet(WorkloadCategory.LARGE): [
VCommand(
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="countries-land-1m",
label="countries-land-1km",
creates=[
SourceRoot("geo-maps") /
"countries-land-1m.geo.json.compressed"
"countries-land-1km.geo.json.compressed"
],
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-1m.geo.json",
"countries-land-1km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-1m.geo.json.compressed"
"countries-land-1km.geo.json.compressed"
)
],
}
Expand Down Expand Up @@ -861,39 +861,60 @@ class SynthIPTemplate(VProject):
"https://github.com/simonepri/geo-maps/releases/"
"download/v0.6.0"
},
files=["countries-land-1km.geo.json", "countries-land-1m.geo.json"]
files=[
"earth-lakes-10km.geo.json", "countries-land-10km.geo.json",
"countries-land-1km.geo.json", "countries-land-1m.geo.json"
]
)
]

WORKLOADS = {
WorkloadSet(WorkloadCategory.SMALL): [
VCommand(
SourceRoot("SynthIPTemplate") / RSBinary("Template"),
label="countries-land-1km",
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="earth-lakes-10km",
creates=[
SourceRoot("geo-maps") /
"countries-land-1km.geo.json.compressed"
"earth-lakes-10km.geo.json.compressed"
],
requires_all_patch={"Compress"},
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-1km.geo.json",
"earth-lakes-10km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-1km.geo.json.compressed"
"earth-lakes-10km.geo.json.compressed"
)
],
WorkloadSet(WorkloadCategory.MEDIUM): [
VCommand(
SourceRoot("SynthIPTemplate") / RSBinary("Template"),
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="countries-land-10km",
creates=[
SourceRoot("geo-maps") /
"countries-land-10km.geo.json.compressed"
],
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-10km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-10km.geo.json.compressed"
)
],
WorkloadSet(WorkloadCategory.LARGE): [
VCommand(
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="countries-land-1km",
creates=[
SourceRoot("geo-maps") /
"countries-land-1m.geo.json.compressed"
"countries-land-1km.geo.json.compressed"
],
requires_all_patch={"Compress"},
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-1m.geo.json",
"countries-land-1km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-1m.geo.json.compressed"
"countries-land-1km.geo.json.compressed"
)
],
}
Expand Down Expand Up @@ -948,39 +969,60 @@ class SynthIPTemplate2(VProject):
"https://github.com/simonepri/geo-maps/releases/"
"download/v0.6.0"
},
files=["countries-land-1km.geo.json", "countries-land-1m.geo.json"]
files=[
"earth-lakes-10km.geo.json", "countries-land-10km.geo.json",
"countries-land-1km.geo.json", "countries-land-1m.geo.json"
]
)
]

WORKLOADS = {
WorkloadSet(WorkloadCategory.SMALL): [
VCommand(
SourceRoot("SynthIPTemplate2") / RSBinary("Template2"),
label="countries-land-1km",
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="earth-lakes-10km",
creates=[
SourceRoot("geo-maps") /
"countries-land-1km.geo.json.compressed"
"earth-lakes-10km.geo.json.compressed"
],
requires_all_patch={"Compress"},
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-1km.geo.json",
"earth-lakes-10km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-1km.geo.json.compressed"
"earth-lakes-10km.geo.json.compressed"
)
],
WorkloadSet(WorkloadCategory.MEDIUM): [
VCommand(
SourceRoot("SynthIPTemplate2") / RSBinary("Template2"),
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="countries-land-10km",
creates=[
SourceRoot("geo-maps") /
"countries-land-10km.geo.json.compressed"
],
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-10km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-10km.geo.json.compressed"
)
],
WorkloadSet(WorkloadCategory.LARGE): [
VCommand(
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="countries-land-1km",
creates=[
SourceRoot("geo-maps") /
"countries-land-1m.geo.json.compressed"
"countries-land-1km.geo.json.compressed"
],
requires_all_patch={"Compress"},
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-1m.geo.json",
"countries-land-1km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-1m.geo.json.compressed"
"countries-land-1km.geo.json.compressed"
)
],
}
Expand Down Expand Up @@ -1035,41 +1077,60 @@ class SynthIPCombined(VProject):
"https://github.com/simonepri/geo-maps/releases/"
"download/v0.6.0"
},
files=["countries-land-1km.geo.json", "countries-land-1m.geo.json"]
files=[
"earth-lakes-10km.geo.json", "countries-land-10km.geo.json",
"countries-land-1km.geo.json", "countries-land-1m.geo.json"
]
)
]

WORKLOADS = {
WorkloadSet(WorkloadCategory.SMALL): [
VCommand(
SourceRoot("SynthIPCombined") / RSBinary("Combined"),
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="countries-land-1km",
label="earth-lakes-10km",
creates=[
SourceRoot("geo-maps") /
"countries-land-1km.geo.json.compressed"
"earth-lakes-10km.geo.json.compressed"
],
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-1km.geo.json",
"earth-lakes-10km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-1km.geo.json.compressed"
"earth-lakes-10km.geo.json.compressed"
)
],
WorkloadSet(WorkloadCategory.MEDIUM): [
VCommand(
SourceRoot("SynthIPCombined") / RSBinary("Combined"),
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="countries-land-10km",
creates=[
SourceRoot("geo-maps") /
"countries-land-10km.geo.json.compressed"
],
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-10km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-10km.geo.json.compressed"
)
],
WorkloadSet(WorkloadCategory.LARGE): [
VCommand(
SourceRoot("SynthIPRuntime") / RSBinary("Runtime"),
ConfigParams("-c"),
label="countries-land-1km",
creates=[
SourceRoot("geo-maps") /
"countries-land-1m.geo.json.compressed"
"countries-land-1km.geo.json.compressed"
],
requires_all_args={"-c"},
redirect_stdin=SourceRoot("geo-maps") /
"countries-land-1m.geo.json",
"countries-land-1km.geo.json",
redirect_stdout=SourceRoot("geo-maps") /
"countries-land-1m.geo.json.compressed"
"countries-land-1km.geo.json.compressed"
)
],
}
Expand Down

0 comments on commit f7be54e

Please sign in to comment.