Qiskit / rustworkx

A high performance Python graph library implemented in Rust.
https://www.rustworkx.org
Apache License 2.0
981 stars 141 forks source link

Decrease graphviz visualization test size to speed up tests #1153

Closed mtreinish closed 3 months ago

mtreinish commented 3 months ago

With recent graphviz releases the graphviz_draw() visualization tests for 50 node random graphs were taking an inordinate amount of time. This didn't seem to be an issue in CI but on my local system with graphviz 10.0.1 the time for graphviz to generate a visualization for the 50 node random graph was orders of magnitude slower than the rest of the tests in the rustworkx python tests. This commit decreases the graph size to only be 10 nodes, which reduces the runtime of these tests to be inline with expectations.

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 8512442232

Details


Files with Coverage Reduction New Missed Lines %
src/shortest_path/all_pairs_bellman_ford.rs 6 95.53%
<!-- Total: 6 -->
Totals Coverage Status
Change from base Build 8470915706: -0.03%
Covered Lines: 17136
Relevant Lines: 17757

💛 - Coveralls