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