https://github.com/nickboucher/llvm-abom-experiments
https://github.com/nickboucher/llvm-abom-experiments
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nickboucher/llvm-abom-experiments
- Owner: nickboucher
- Created: 2024-06-21T16:07:11.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-11-17T17:14:48.000Z (7 months ago)
- Last Synced: 2025-01-19T11:44:38.043Z (5 months ago)
- Language: Python
- Size: 25.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# llvm-abom Experiments
This repo contains a set of experiments to test the build performance of the ABOM llvm fork, via docker.
## Cloning
This repo uses submodules. To clone the repo, use the following command:
```bash
git clone --depth 1 --recurse-submodules -j8 --shallow-submodules https://github.com/nickboucher/llvm-abom-experiments.git
```## Usage
This repository contains 2 experiments: `real` and `artificial`. The real experiment builds a collection of real-world applications with ABOMs to measure build performance, while the artificial experiment builds a collection of generated artifical programs designed to validate the correctness and errors rates of ABOMs.
> [!TIP]
> If your docker environment has limited memory, the build process may fail. To fix this, add `--build-arg low_memory=1` to the docker build commands.### Real Experiment
To run these experiments, build the docker image and run the container. The container will output the results to the console. Experiments are run during the build process.
```bash
docker build --no-cache -t llvm-abom-experiment-real experiment-real/
docker run llvm-abom-experiment-real
```These experiments were initially run on an Ubuntu 24.04 VM with 4 vCores and 32GB of RAM (Azure E4as_v5 SKU).
### Artificial Experiment
To run these experiments, build the docker image and run the container. The container will output the results to the console. Experiments are run during container runtime.
```bash
docker build -t llvm-abom-experiment-artificial experiment-artificial/
docker run llvm-abom-experiment-artificial
```These experiments were initially run on an Ubuntu 24.04 VM with 4 vCores and 32GB of RAM (Azure E4as_v5 SKU).