Skip to content

Commit

Permalink
Report now includes the results with "-C target-cpu=native"
Browse files Browse the repository at this point in the history
This commit also fixes "reporter.py" that didn't actually rebuild the
encoder CLI.
  • Loading branch information
yotarok committed Sep 28, 2023
1 parent 2fa080a commit 9599c86
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
rustflags = ["-C", "target-cpu=native"]
16 changes: 8 additions & 8 deletions report/report.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ Sources used: wikimedia.i_love_you_california, wikimedia.winter_kiss, wikimedia.

### Average compression speed (inverse RTF)
- Reference
- opt8lax: 258.92532958937727
- opt8: 262.24392534874113
- opt5: 502.5549809373441
- opt8lax: 255.90808971990495
- opt8: 260.20840564877153
- opt5: 501.4437823135729

- Ours
- default: 149.36375631265756
- st: 57.107646528588624
- dmse: 110.75909016976695
- bsbs: 7.152928413350077
- mae: 31.28330510072386
- default: 160.6740906413787
- st: 73.13241880734284
- dmse: 107.63095111470871
- bsbs: 9.577720986818926
- mae: 27.731935515942386


2 changes: 1 addition & 1 deletion testtool/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def main():

# build
logged(subprocess.check_call)(
["bash", "-c", f"cd {project_root}; cargo build --release"]
["bash", "-c", f"cd {project_root}/flacenc-bin; cargo build --release"]
)
print("Running reference encoder.")
ref_run_results = run_encoder(
Expand Down

0 comments on commit 9599c86

Please sign in to comment.