• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 9022912057
88%

Build:
DEFAULT BRANCH: main
Ran 09 May 2024 08:25PM UTC
Jobs 1
Files 832
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 May 2024 07:31PM UTC coverage: 89.604% (-0.009%) from 89.613%
9022912057

push

github

web-flow
Fix runtime scaling of StarPreRouting pass (#12376)

This commit fixes a runtime performance scaling issue with the new
StarPreRouting pass. If there are any stars identified by the pass when
the pass goes to pre-route those star connectivity blocks it specifies a
custom lexicographical topological sort key to ensure the stars are
kept together in the sort. However the mechanism by which this sort key
was generated scaled quadratically with the number of DAG nodes in the
identified stars. This ended up being a large runtime performance
bottleneck. This commit fixes this issue by pre-computing the sort key
for all nodes in the stars and putting that in a dictionary so that when
we call rustworkx to perform the topological sort the sort key callback
does not become the bottleneck for the entire pass.

2 of 2 new or added lines in 1 file covered. (100.0%)

15 existing lines in 3 files now uncovered.

62178 of 69392 relevant lines covered (89.6%)

228118.09 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.03
-0.24% crates/qasm2/src/expr.rs
2
91.35
0.25% crates/qasm2/src/lex.rs
12
96.23
-0.46% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 9022912057.1 09 May 2024 08:25PM UTC 832
89.6
GitHub Action Run
Source Files on build 9022912057
  • Tree
  • List 832
  • Changed 31
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4a6c5704 on github
  • Prev Build on gh-readonly-queue/main/pr-12333-24f1436fdb5d4061fde3a6fab6dd5139556f7e10 (#9022310424)
  • Next Build on main (#9023250342)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc