perforamnce test for printing one and two strings in C,C++,C<<1,Perl and Python
[svn/Cll1h/.git] / demos / performance / test-performance
CommitLineData
420bb771 1#!/bin/sh
420bb771 2clear
81088cec 3
420bb771 4cat print.py
5echo "Running..."
dfe0680a 6time ./print.py > /dev/null
81088cec 7
420bb771 8cat print.pl
9echo "Running..."
dfe0680a 10time ./print.pl > /dev/null
81088cec 11
420bb771 12cat cll1-print.c
81088cec 13echo "Compiling..."
14time make cll1-print
420bb771 15echo "Running..."
dfe0680a 16time ./cll1-print > /dev/null
81088cec 17
420bb771 18cat printf.c
81088cec 19echo "Compiling..."
20time make printf
420bb771 21echo "Running..."
dfe0680a 22time ./printf > /dev/null
81088cec 23
420bb771 24cat puts.c
81088cec 25echo "Compiling..."
26time make puts
420bb771 27echo "Running..."
dfe0680a 28time ./puts > /dev/null
81088cec 29
420bb771 30cat fputs.c
81088cec 31echo "Compiling..."
32make fputs
420bb771 33echo "Running..."
dfe0680a 34time ./fputs > /dev/null
This page took 0.273211 seconds and 4 git commands to generate.