PHP bechmarks added
[svn/Cll1h/.git] / demos / performance / test-performance.sh
... / ...
CommitLineData
1#!/bin/sh
2
3cat print.rb
4echo "Running..."
5time ./print.rb > /dev/null
6
7cat print.py
8echo "Running..."
9time ./print.py > /dev/null
10
11cat echo.php
12echo "Running..."
13time ./echo.php > /dev/null
14
15cat print.pl
16echo "Running..."
17time ./print.pl > /dev/null
18
19cat cout.cpp
20echo "Compiling..."
21time g++ -O2 cout.cpp -o cout
22echo "Running..."
23time ./cout > /dev/null
24
25cat cll1-print.c
26echo "Compiling..."
27time gcc -O2 cll1-print.c -o cll1-print
28echo "Running..."
29time ./cll1-print > /dev/null
30
31cat printf.c
32echo "Compiling..."
33time gcc -O2 printf.c -o printf
34echo "Running..."
35time ./printf > /dev/null
36
37cat puts.c
38echo "Compiling..."
39time gcc -O2 puts.c -o puts
40echo "Running..."
41time ./puts > /dev/null
42
43cat fputs.c
44echo "Compiling..."
45time gcc -O2 fputs.c -o fputs
46echo "Running..."
47time ./fputs > /dev/null
This page took 0.126654 seconds and 4 git commands to generate.