Speed Test

Functions to compare execution times of different algorithms.

Summary
Speed TestFunctions to compare execution times of different algorithms.
CopyrightThis program is free software.
Files
C-kern/api/test/run/speedtest.hInterface header of Speed Test.
C-kern/test/run/run_linuxsplice_speedtest.cImplements run_linuxsplice_speedtest from Speed Test.
Functions
run_linuxsplice_speedtestCompares runtime of simple threaded TCP server write/client read versus server splice/client splice.
run_madvise_speedtestCompares speed between reading with mmap and reading with mmap + madvise.

Copyright

This program is free software.  You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Author

© 2010 Jörg Seebohn

Files

C-kern/api/test/run/speedtest.h

Interface header of Speed Test.

C-kern/test/run/run_linuxsplice_speedtest.c

Implements run_linuxsplice_speedtest from Speed Test.

Functions

run_linuxsplice_speedtest

int run_linuxsplice_speedtest(int argc,
const char **argv)

Compares runtime of simple threaded TCP server write/client read versus server splice/client splice.  This test is specific to Linux !

run_madvise_speedtest

int run_madvise_speedtest(int argc,
const char **argv)

Compares speed between reading with mmap and reading with mmap + madvise.  This test is specific to Linux/Posix !

Functions to compare execution times of different algorithms.
int run_linuxsplice_speedtest(int argc,
const char **argv)
Compares runtime of simple threaded TCP server write/client read versus server splice/client splice.
int run_madvise_speedtest(int argc,
const char **argv)
Compares speed between reading with mmap and reading with mmap + madvise.
Close