-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b537e84
commit a0396e8
Showing
4 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
add_subdirectory(image_processing_benchmarks) | ||
add_subdirectory(image_processing_benchmarks) | ||
add_subdirectory(transform) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
add_executable(wavelet_benchmarks wavelet_benchmarks) | ||
target_link_libraries(wavelet_benchmarks Catch2::Catch2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#define CATCH_CONFIG_MAIN | ||
|
||
#define CATCH_CONFIG_ENABLE_BENCHMARKING | ||
|
||
#include <catch2/catch.hpp> | ||
|
||
#include <modules/transform/wavelet.hpp> | ||
|
||
using T = double; | ||
|
||
|
||
TEST_CASE("Daubechies matrix construction", "[transform][wavelet]") | ||
{ | ||
BENCHMARK("Daubechies matrix construction") | ||
{ | ||
return wavelet::DaubechiesMat<T>(48000, 2); | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters