Skip to content

Commit 509f505

Browse files
ElektrikAkarclaude
andcommitted
Merge benchmark/ into benchmarks/ — single directory for all benchmarks
Moved UCR_dtwc.cpp, UCR_dtai.py, UCR_tslearn.py, random_centroid.py, and requirements.txt from benchmark/ to benchmarks/. Deleted the old benchmark/ directory and removed duplicate add_subdirectory(benchmark) from root CMakeLists.txt. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent bfece17 commit 509f505

12 files changed

Lines changed: 5 additions & 5 deletions

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ if(DTWC_BUILD_EXAMPLES)
7575
endif()
7676

7777
if(DTWC_BUILD_BENCHMARK)
78-
add_subdirectory(benchmark)
7978
add_subdirectory(benchmarks)
8079
endif()
8180

benchmark/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

benchmarks/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
cmake_minimum_required(VERSION 3.21)
22

3+
# Google Benchmark microbenchmarks
34
add_executable(bench_dtw_baseline bench_dtw_baseline.cpp)
45
target_link_libraries(bench_dtw_baseline
56
PRIVATE
67
dtwc++
78
benchmark::benchmark
89
benchmark::benchmark_main
910
)
11+
12+
# Legacy UCR benchmark
13+
add_executable(benchmark_UCR UCR_dtwc.cpp)
14+
target_link_libraries(benchmark_UCR PRIVATE dtwc++)
40.3 KB
Loading

benchmarks/plots/dtw_scaling.png

130 KB
Loading
26.1 KB
Loading

benchmarks/plots/roofline.png

42.3 KB
Loading

0 commit comments

Comments
 (0)