PHP bechmarks added
[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
ba41861f 11cat echo2.php
12echo "Running..."
13time ./echo2.php > /dev/null
14
d8394559 15cat cout2.cpp
16echo "Compiling..."
bd245bd2 17time g++ -O2 cout2.cpp -o cout2
d8394559 18echo "Running..."
19time ./cout2 > /dev/null
20
81088cec 21cat print2.pl
22echo "Running..."
23time ./print2.pl > /dev/null
24
25cat cll1-print2.c
26echo "Compiling..."
bd245bd2 27time gcc -O2 cll1-print2.c -o cll1-print2
81088cec 28echo "Running..."
29time ./cll1-print2 > /dev/null
30
31cat printf2.c
32echo "Compiling..."
bd245bd2 33time gcc -O2 printf2.c -o printf2
81088cec 34echo "Running..."
35time ./printf2 > /dev/null
36
37cat fputs2.c
38echo "Compiling..."
bd245bd2 39time gcc -O2 fputs2.c -o fputs2
81088cec 40echo "Running..."
41time ./fputs2 > /dev/null
This page took 0.17735 seconds and 4 git commands to generate.