b11567ed9b
no surprise, sync sftp is much slower, even for localhost, especially for download.
22 строки
387 B
CMake
22 строки
387 B
CMake
project(libssh-benchmarks C)
|
|
|
|
set(benchmarks_SRCS
|
|
bench_scp.c bench_sftp bench_raw.c benchmarks.c latency.c
|
|
)
|
|
|
|
include_directories(
|
|
${LIBSSH_PUBLIC_INCLUDE_DIRS}
|
|
)
|
|
|
|
add_executable(benchmarks ${benchmarks_SRCS})
|
|
|
|
target_link_libraries(benchmarks ${LIBSSH_SHARED_LIBRARY})
|
|
|
|
include_directories(
|
|
${LIBSSH_PUBLIC_INCLUDE_DIRS}
|
|
${CMAKE_BINARY_DIR}
|
|
)
|
|
|
|
if (WITH_SFTP)
|
|
endif (WITH_SFTP)
|