14 lines
377 B
Bash
Executable File
14 lines
377 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo -e "\n\nmalloc_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 -e "\n\npool1.c test:"
|
|
cc -O2 pool1.c -o pool1 && time ./pool1
|
|
|
|
echo -e "\n\npool_list.c test:"
|
|
cc -O2 pool_list.c -o pool_list && time ./pool_list
|