#!/bin/bash echo "malloc_speed_test.c test:" cc -O2 malloc_speed_test.c -o malloc_speed_test && time ./malloc_speed_test echo -e "\n\nvector_add.cpp test:" c++ -O2 vector_add.cpp -o vector_add && time ./vector_add echo "pool1.c test:" cc -O2 pool1.c -o pool1 && time ./pool1