File: compile-chicken-benchmark

package info (click to toggle)
stalin 0.11-10
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 71,700 kB
  • sloc: ansic: 1,327,976; lisp: 88,332; sh: 1,517; makefile: 229; sed: 100; csh: 28
file content (8 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/bin/bash
unset noclobber
ulimit -s unlimited
ulimit -c 0
echo compile $1
sed -f chicken.sed $1.sc >$1-chicken.scm
time chicken $1-chicken.scm -optimize-level 4 -block -output-file $1-chicken.c
time gcc $1-chicken.c `chicken-config -cflags -libs` -o $1-chicken