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