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

Qiskit / qiskit / 25384044961
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: stop-leaking-files
DEFAULT BRANCH: main
Ran 05 May 2026 03:24PM UTC
Jobs 1
Files 938
Run time 3min
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

05 May 2026 02:56PM UTC coverage: 87.574% (-0.03%) from 87.6%
25384044961

push

github

web-flow
Pivot to foldhash for hash implementation in IndexMap (#15920)

* Pivot to foldhash for hash implementation in IndexMap

This commit switches our use of ahash as the hashing algorithm for
IndexMap to use foldhash instead. This mirrors the change that was done
in hashbrown for the default hashing algorithm in its hashmap. Foldhash
promises faster hashing than ahash with similar quality tradeoffs. Since
IndexSet/IndexMap defaults to using the stdlib SipHash algorithm which
is not good for performance we need to set a custom hash algorithm to
maintain good performance. Since we use an IndexSet for the interners
saving a small amount of time per lookup here is especially important.

The only place that ahash is retained is for DAGNode in Python. The
usage was specific to how ahash worked and switching it to an analogous
foldhash interface caused test failures. As the performance is not
critical for this code path as it's only used by the Python API for
accessing the DAG and it's already not a performant path saving
nanoseconds on hashing doesn't matter. There is probably an alternative
API in foldhash we could use, but it didn't seem critical to figure out.

* Fix rustfmt

* Fix rustfmt

* Add release note

44 of 45 new or added lines in 15 files covered. (97.78%)

33 existing lines in 4 files now uncovered.

106696 of 121835 relevant lines covered (87.57%)

965191.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
80.09
0.0% crates/transpiler/src/equivalence.rs

Coverage Regressions

Lines Coverage ∆ File
18
96.68
-1.42% crates/qasm2/src/parse.rs
11
73.8
-0.45% crates/circuit/src/parameter/symbol_expr.rs
3
91.52
-0.77% crates/qasm2/src/lex.rs
1
93.82
-0.24% crates/qasm2/src/expr.rs
Jobs
ID Job ID Ran Files Coverage
1 25384044961.1 05 May 2026 03:24PM UTC 938
87.57
GitHub Action Run
Source Files on build 25384044961
  • Tree
  • List 938
  • Changed 33
  • Source Changed 29
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25384044961
  • 4d31deac on github
  • Prev Build on main (#25374000268)
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