summaryrefslogtreecommitdiff
path: root/boost-1.78-graph-Skip-performance-test.patch
blob: e66402bc53455a08b76b0c9da1c5cadf010cb23e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From d65e2888de8097f28453b92fdd1770805c0f4063 Mon Sep 17 00:00:00 2001
From: Liu Zixian <liuzixian4@huawei.com>
Date: Mon, 12 Dec 2022 12:36:42 +0800
Subject: [PATCH] Skip performance test

Performance test in CI does not make sense.

On x86-64, this test caused a float point exception,
for the test data is too weak to generate an execution time
larger than the timer precision.

[  298s] ====== BEGIN OUTPUT ======
[  298s] Generating graph...10000 vertices, 100000 edges.
[  298s] Running Dijkstra's with binary heap... 0.003279s wall, 0.000000s user + 0.000000s system = 0.000000s CPU (n/a%)
[  298s]  seconds.
[  298s] Running Dijkstra's with d-ary heap (d=4)...
[  298s] EXIT STATUS: 136
[  298s] ====== END OUTPUT ======

Signed-off-by: Liu Zixian <liuzixian4@huawei.com>
---
 libs/graph/test/Jamfile.v2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/graph/test/Jamfile.v2 b/libs/graph/test/Jamfile.v2
index a0c15ca7b..a6273b659 100644
--- a/libs/graph/test/Jamfile.v2
+++ b/libs/graph/test/Jamfile.v2
@@ -47,7 +47,7 @@ alias graph_test_regular :
     [ run undirected_dfs.cpp ]
     [ compile dfs_cc.cpp ]
     [ compile dijkstra_cc.cpp ]
-    [ run dijkstra_heap_performance.cpp /boost/timer//boost_timer : 10000 ]
+    # [ run dijkstra_heap_performance.cpp /boost/timer//boost_timer : 10000 ]
     [ run dijkstra_no_color_map_compare.cpp : 10000 ]
     [ run disjoint_set_test.cpp ]
     [ run dominator_tree_test.cpp ]
-- 
2.33.0