
# Let's check the influence of the number of performance tests done on a fixed size tables of data

file(GLOB progSrc "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")

set(CONFIG_NB_TEST_PERF "10, 20, 30, 50, 70, 100")
set(CONFIG_NB_CALL_PERF "10, 20, 30, 50, 70, 100")

phoenix_compileAndRunExample2d(pmb_hadamard_prod_nbTestNbElement_O3_1000 "-O3 -DNB_ELEMENTS=1000" "${CONFIG_NB_TEST_PERF}" "${CONFIG_NB_CALL_PERF}" ${progSrc})
phoenix_compileAndRunExample2d(pmb_hadamard_prod_nbTestNbElement_O3_2000 "-O3 -DNB_ELEMENTS=2000" "${CONFIG_NB_TEST_PERF}" "${CONFIG_NB_CALL_PERF}" ${progSrc})
phoenix_compileAndRunExample2d(pmb_hadamard_prod_nbTestNbElement_O3_5000 "-O3 -DNB_ELEMENTS=5000" "${CONFIG_NB_TEST_PERF}" "${CONFIG_NB_CALL_PERF}" ${progSrc})

phoenix_plotPerf2d("pmb_hadamardProdNbTestElement1000" pmb_hadamard_prod_nbTestNbElement_O3_1000
			"nb test perf" "nb element per test" "Elapsed time per element [ns/el]"
			no no no)

phoenix_plotPerf2d("pmb_hadamardProdNbTestElement2000" pmb_hadamard_prod_nbTestNbElement_O3_2000
			"nb test perf" "nb element per test" "Elapsed time per element [ns/el]"
			no no no)
			
phoenix_plotPerf2d("pmb_hadamardProdNbTestElement5000" pmb_hadamard_prod_nbTestNbElement_O3_5000
			"nb test perf" "nb element per test" "Elapsed time per element [ns/el]"
			no no no)
			



