updated: performance tests compiled with -O4 (even better results for C<<1 !)
[svn/Cll1h/.git] / demos / performance / test-performance2.sh
CommitLineData
81088cec 1#!/bin/sh
81088cec 2
3cat print2.py
4echo "Running..."
5time ./print2.py > /dev/null
6
d8394559 7cat cout2.cpp
8echo "Compiling..."
cc0de701 9time g++ -O4 cout2.cpp -o cout2
d8394559 10echo "Running..."
11time ./cout2 > /dev/null
12
81088cec 13cat print2.pl
14echo "Running..."
15time ./print2.pl > /dev/null
16
17cat cll1-print2.c
18echo "Compiling..."
cc0de701 19time gcc -O4 cll1-print2.c -o cll1-print2
81088cec 20echo "Running..."
21time ./cll1-print2 > /dev/null
22
23cat printf2.c
24echo "Compiling..."
cc0de701 25time gcc -O4 printf2.c -o printf2
81088cec 26echo "Running..."
27time ./printf2 > /dev/null
28
29cat fputs2.c
30echo "Compiling..."
cc0de701 31time gcc -O4 fputs2.c -o fputs2
81088cec 32echo "Running..."
33time ./fputs2 > /dev/null
This page took 0.109376 seconds and 4 git commands to generate.