Skip to content

Commit 70461b3

Browse files
committed
Modified bootstrapping parameters, and reduced the perftest iterations to 100
Signed-off-by: Vedant <[email protected]>
1 parent 7f53069 commit 70461b3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

cmake/HPX_AddTest.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,8 @@ function(add_hpx_performance_report_test subcategory name)
299299
PSEUDO_DEPS_NAME
300300
${name}
301301
${ARGN}
302-
RUN_SERIAL
303302
"--hpx:print_cdash_img_path"
304-
"--test_count=1000"
303+
"--test_count=100"
305304
)
306305
find_package(Python REQUIRED)
307306

tools/perftests_plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ def median_statistic(sample1, sample2, axis=-1):
8181
category.append("current")
8282
samples.append(test1["series"])
8383

84-
data = (test2["series"] / np.median(test1["series"]), test1["series"] / np.median(test1["series"]))
85-
res = scipy.stats.bootstrap(data, median_statistic, method='basic', random_state=rng)
84+
data = (test2["series"] / np.median(test2["series"]), test1["series"] / np.median(test2["series"]))
85+
res = scipy.stats.bootstrap(data, median_statistic, random_state=rng, n_resamples=1000)
8686

8787
median2 = np.median(test2["series"])
8888
median1 = np.median(test1["series"])

0 commit comments

Comments
 (0)