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