Skip to content

Commit 1936e81

Browse files
committed
Tidy up for submission
1 parent 9920240 commit 1936e81

File tree

99 files changed

+1389
-7239
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+1389
-7239
lines changed

alloy_adapter.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ class AlloyAdapter(GaugeAdapter):
2424
_time_bin = None
2525

2626
def __init__(self, include_faulty, executor):
27-
self.alloy_stats = tempfile.NamedTemporaryFile(delete=False)
28-
self.gc_stats = tempfile.NamedTemporaryFile(delete=False)
2927

3028
GaugeAdapter.__init__(self, include_faulty, executor)
3129

@@ -54,7 +52,7 @@ def setup_stats(self, run_id):
5452
if "GC_LOG_DIR" in run_id.env:
5553
logdir = run_id.env["GC_LOG_DIR"]
5654
run_id.env["GC_LOG_FILE"] = f"{logdir}-{bm}.csv"
57-
# run_id.env["DISPLAY"] = ":99"
55+
run_id.env["DISPLAY"] = ":99"
5856

5957
def acquire_command(self, run_id):
6058
self.setup_stats(run_id)

artefacts.py

Lines changed: 0 additions & 160 deletions
Original file line numberDiff line numberDiff line change
@@ -295,163 +295,3 @@ def _xpy_install(self):
295295
@prepare_build
296296
def build(self):
297297
self._xpy_install()
298-
299-
300-
@dataclass
301-
class CustomExecutor:
302-
experiment: "Experiment"
303-
suite: "BenchmarkSuite"
304-
name: str
305-
path: Path
306-
_baseline: Optional[str] = None
307-
308-
@property
309-
def install_prefix(self) -> Path:
310-
return self.path.parent
311-
312-
@property
313-
def baseline(self) -> str:
314-
if self._baseline:
315-
return self._baseline
316-
317-
if len(self.experiment.configurations()) == 2:
318-
return next(
319-
cfg.name
320-
for cfg in self.experiment.configurations()
321-
if cfg.name != self.name
322-
)
323-
return None
324-
325-
326-
# BENCHMARKS
327-
328-
SOM_REPO = Repo(
329-
name="som-rs",
330-
url="https://github.com/Hirevo/som-rs",
331-
version="35b780cbee765cca24201fe063d3f1055ec7f608",
332-
recursive=True,
333-
)
334-
SOMRS_AST = Crate("som-interpreter-ast", steps=71, repo=SOM_REPO)
335-
SOMRS_BC = Crate("som-interpreter-bc", steps=71, repo=SOM_REPO)
336-
337-
YKSOM = Crate(
338-
steps=102,
339-
repo=Repo(
340-
name="yksom",
341-
url="https://github.com/softdevteam/yksom",
342-
version="master",
343-
recursive=True,
344-
),
345-
)
346-
347-
GRMTOOLS = Crate(
348-
repo=Repo(
349-
name="grmtools",
350-
url="https://github.com/softdevteam/grmtools",
351-
version="a0972be0777e599a3dbca710fb0a595c39560b69",
352-
),
353-
)
354-
355-
PARSER_BENCH = Crate(
356-
"parserbench",
357-
_src=SRC_DIR / "parserbench",
358-
)
359-
360-
RIPGREP = Crate(
361-
"rg",
362-
repo=Repo(
363-
name="ripgrep",
364-
url="https://github.com/burntsushi/ripgrep",
365-
version="de4baa10024f2cb62d438596274b9b710e01c59b",
366-
),
367-
)
368-
369-
ALACRITTY = Crate(
370-
steps=152,
371-
repo=Repo(
372-
name="alacritty",
373-
url="https://github.com/alacritty/alacritty.git",
374-
version="1063706f8e8a84139e5d2b464a4978e9d840ea17",
375-
),
376-
)
377-
378-
FD = Crate(
379-
steps=70,
380-
repo=Repo(
381-
name="fd",
382-
url="https://github.com/sharkdp/fd",
383-
version="a4fdad6ff781b5b496c837fde24001b0e46973d6",
384-
),
385-
)
386-
387-
# benchmark extras
388-
389-
CACTUS = Artefact(
390-
repo=Repo(
391-
name="cactus",
392-
url="https://github.com/softdevteam/cactus",
393-
version="8d34c207e1479cecf0b9b2f7beb1a0c22c8949ad",
394-
),
395-
)
396-
397-
REGEX = Artefact(
398-
repo=Repo(
399-
name="regex",
400-
url="https://github.com/rust-lang/regex",
401-
version="bcbe40342628b15ab2543d386c745f7f0811b791",
402-
),
403-
)
404-
405-
HADOOP = Artefact(
406-
repo=Repo(
407-
name="hadoop",
408-
shallow_clone=True,
409-
url="https://github.com/apache/hadoop",
410-
version="master",
411-
),
412-
)
413-
414-
ECLIPSE = Artefact(
415-
repo=Repo(
416-
name="eclipse",
417-
shallow_clone=True,
418-
url="https://github.com/eclipse-platform/eclipse.platform",
419-
version="master",
420-
),
421-
)
422-
423-
SPRING = Artefact(
424-
repo=Repo(
425-
name="spring",
426-
shallow_clone=True,
427-
url="https://github.com/spring-projects/spring-framework",
428-
version="master",
429-
),
430-
)
431-
432-
JENKINS = Artefact(
433-
repo=Repo(
434-
name="jenkins",
435-
shallow_clone=True,
436-
url="https://github.com/jenkinsci/jenkins",
437-
version="master",
438-
),
439-
)
440-
441-
VTE_BENCH = Artefact(
442-
repo=Repo(
443-
name="vtebench",
444-
url="https://github.com/alacritty/vtebench.git",
445-
version="c75155bfc252227c0efc101c1971df3e327c71c4",
446-
),
447-
)
448-
449-
LINUX = Artefact(
450-
repo=Repo(
451-
name="linux",
452-
url="https://github.com/BurntSushi/linux",
453-
version="master",
454-
shallow_clone=True,
455-
post_checkout=(("make", "defconfig"), ("make", "-j100")),
456-
)
457-
)

aux/ripgrep_args/linux_alternates

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-n 'ERR_SYS|PME_TURN_OFF|LINK_REQ_RST|CFG_BME_EVT'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-n -i 'ERR_SYS|PME_TURN_OFF|LINK_REQ_RST|CFG_BME_EVT'

aux/ripgrep_args/linux_literal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-n PM_RESUME
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-n -i PM_RESUME
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-n -i --mmap PM_RESUME
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PM_RESUME
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-n --mmap PM_RESUME
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-n "\w{5}\s+\w{5}\s+\w{5}\s+\w{5}\s+\w{5}"

0 commit comments

Comments
 (0)