Skip to content

moonbit-community/fastcc

Repository files navigation

tinycc.mbt

Benchmarks

refs/vc/v.c (bench_tinycc_compile.sh DATASET=vc)

File: refs/vc/v.c (138152 LOC)

Environment: macOS arm64, tinycc from this repo built in release mode.

Command:

DATASET=vc APPLY_VC_PATCH=1 DETAIL=1 REPEAT=3 WARMUP=1 scripts/bench_tinycc_compile.sh

Results (3 runs):

  • tinycc.mbt total: 0.425s
  • refs/tinycc total: 0.113s
  • clang total: 1.592s
  • ratio (mbt/ref): 3.77x
  • ratio (mbt/clang): 0.27x
  • ratio (ref/clang): 0.07x
  • phases avg ms: parse=137.484 sem=62.083 codegen=187.454 total=387.021
  • notes: arm64 benchmark applies refs/vc_patches/arm64_closure_bytes.patch to refs/vc/v.c; clang uses system headers (compat include skipped); numbers vary by run

About

The c compiler optimized for speed written in MoonBit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •