Python range vs. xrange comparison 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 xrange.py
12echo "Running..."
13time ./xrange.py > /dev/null
14
15cat echo.php
16echo "Running..."
17time ./echo.php > /dev/null
18
19cat print.pl
20echo "Running..."
21time ./print.pl > /dev/null
22
23cat cout.cpp
24echo "Compiling..."
25time g++ -O2 cout.cpp -o cout
26echo "Running..."
27time ./cout > /dev/null
28
29cat cll1-print.c
30echo "Compiling..."
31time gcc -O2 cll1-print.c -o cll1-print
32echo "Running..."
33time ./cll1-print > /dev/null
34
35cat printf.c
36echo "Compiling..."
37time gcc -O2 printf.c -o printf
38echo "Running..."
39time ./printf > /dev/null
40
41cat puts.c
42echo "Compiling..."
43time gcc -O2 puts.c -o puts
44echo "Running..."
45time ./puts > /dev/null
46
47cat fputs.c
48echo "Compiling..."
49time gcc -O2 fputs.c -o fputs
50echo "Running..."
51time ./fputs > /dev/null
This page took 0.108374 seconds and 4 git commands to generate.