Skip to content

Commit dcd5e31

Browse files
committed
fix profile
1 parent bb65656 commit dcd5e31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if(WIN32)
55
elseif(APPLE)
66
set(CMAKE_CXX_FLAGS "-O3 -pthread")
77
else()
8-
set(CMAKE_CXX_FLAGS_DEBUG_INIT "-Wall -g -lprofiler -ltcmalloc -DMY_DEBUG")
8+
set(CMAKE_CXX_FLAGS_DEBUG_INIT "-Wall -g -lprofiler -ltcmalloc -DMY_DEBUG -fno-inline")
99
set(CMAKE_CXX_FLAGS "-O3 -pthread")
1010
endif()
1111

docs/run_profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ def f(N, PRTree, dim):
2525

2626

2727
if __name__ == "__main__":
28-
f(10_000_000, PRTree2D, dim=2)
28+
f(40_000_000, PRTree2D, dim=2)
2929
# f(40, PRTree2D, dim=2)

0 commit comments

Comments
 (0)