diff options
author | Vladimir Gavrilov <105977161+0xA50C1A1@users.noreply.github.com> | 2024-05-10 23:43:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-10 22:43:59 +0200 |
commit | a813121e0a7021cdbfd64630960b330a23b1a4d2 (patch) | |
tree | 7021b987d621b6940ebccc6738967654c399d477 /tests/performance/Makefile.in | |
parent | 4b4b358562a80b546d10f779dba8c56c5d0c6502 (diff) |
`ndpi_strnstr()` optimization (#2433)
Diffstat (limited to 'tests/performance/Makefile.in')
-rw-r--r-- | tests/performance/Makefile.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/performance/Makefile.in b/tests/performance/Makefile.in index 54c5e9fd9..d342f8483 100644 --- a/tests/performance/Makefile.in +++ b/tests/performance/Makefile.in @@ -1,8 +1,8 @@ INC=-I ../../src/include/ -I ../../src/lib/third_party/include/ LIB=../../src/lib/libndpi.a @ADDITIONAL_LIBS@ @LIBS@ -TOOLS=substringsearch patriciasearch gcrypt-int gcrypt-gnu -TESTS=substring_test patricia_test +TOOLS=substringsearch patriciasearch gcrypt-int gcrypt-gnu strnstr +TESTS=substring_test patricia_test strnstr_test all: $(TESTS) @@ -18,9 +18,15 @@ gcrypt-gnu: gcrypt.c Makefile substringsearch: substringsearch.c Makefile $(CC) $(INC) @CFLAGS@ substringsearch.c -o substringsearch $(LIB) +strnstr: strnstr.cpp Makefile + $(CXX) $(INC) @CFLAGS@ strnstr.cpp -o strnstr + substring_test: substringsearch top-1m.csv ./substringsearch +strnstr_test: strnstr + ./strnstr + # patriciasearch: patriciasearch.c Makefile |