Skip to content

Commit a24ad03

Browse files
[BugFix] Error in reader iter and benchmark (#42)
* Fix reader iter and benchmark * Add README for benchmark * Update scripts/install.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update scripts/install.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Refine benchmark --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 5d68276 commit a24ad03

File tree

4 files changed

+676
-4
lines changed

4 files changed

+676
-4
lines changed

benchmark/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Benchmark
2+
3+
We can run simulation to compare the performance of native c executable file `cachesim`, and the python binding via [simulation.py](./simulation.py).
4+
5+
## Example
6+
7+
```bash
8+
# at the root dir of the repository
9+
bash script/install.sh
10+
python benchmark/simulation.py --trace_path=./src/libCacheSim/data/cloudPhysicsIO.oracleGeneral.bin
11+
```
12+
13+
## Usage
14+
15+
```
16+
python benchmark/simulation.py -h
17+
```

0 commit comments

Comments
 (0)