https://github.com/engineeringsoftware/yalla
https://github.com/engineeringsoftware/yalla
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/engineeringsoftware/yalla
- Owner: EngineeringSoftware
- Created: 2024-11-12T07:08:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-10T16:22:08.000Z (over 1 year ago)
- Last Synced: 2026-03-28T00:36:34.837Z (12 days ago)
- Language: C++
- Size: 200 KB
- Stars: 8
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
To generate the paper's results, run:
```bash
./run.sh setup_all
./run.sh run_all
```
The `setup_all` process takes around 40 mins and `run_all` takes
around 30 mins depending on your machine. 30GB of free disk space
is expected.
All results will be generated in the `results/` directory. All
compilation time results are in CSV files that start with
`compilation`. There is a separate CSV file per mode, i.e. normal,
PCH, and Yalla, and there are two sets of files, one for the PyKokkos
subjects (`compilation\_kokkos`) and one for the benchmarks
(`compilation\_other`). The running times for the PyKokkos subjects
can be found in `kernels` CSV files for individual kernels and `total`
CSV files for the total Python application running time. The running
times for the other subjects are in the compilation CSV files. The
`stats` CSV files shows LOC and header file statistics.
The trace of compilation (corresponding to Fig 7 in the paper) is under
`results/trace/`. You can use Chrome to view the trace file by opening
`chrome://tracing` and loading the trace file.
## Docker
To run it in a docker container, you can use the following commands:
```bash
docker build -t yalla-cgo-ae .
# For interactive mode
docker run -it yalla-cgo-ae:latest /bin/bash
./run.sh setup_all
./run.sh run_all
# For detached mode
docker run -d yalla-cgo-ae:latest ./run.sh setup_all
docker run -d yalla-cgo-ae:latest ./run.sh run_all
```
You can copy the results to your host and view them in your favorite editor with:
```bash
docker cp :/file/path/within/container /host/path/target
```
Remove the image and container when you are done:
```bash
# You can run `docker rmi` or `docker ps -a` first to get the container_id
docker rm
docker rmi yalla-cgo-ae:latest
```