Qcodes icon indicating copy to clipboard operation
Qcodes copied to clipboard

Make full_name a cached_property

Open jenshnielsen opened this issue 1 month ago • 1 comments

In examples without instrument communication / significant data storage full_name contributes significantly to runtime of measurements.

TODO

  • [ ] Profile that this matters for real examples
  • [ ] Does this have any negative consequences. i.e. for dynamic parameters. Do we support dynamically changing parent.

jenshnielsen avatar Dec 11 '25 13:12 jenshnielsen

Codecov Report

:x: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 59.76%. Comparing base (92858ca) to head (0b9354d).

Files with missing lines Patch % Lines
src/qcodes/instrument/channel.py 0.00% 2 Missing :warning:
src/qcodes/instrument/instrument_base.py 0.00% 2 Missing :warning:
src/qcodes/metadatable/metadatable_base.py 0.00% 2 Missing :warning:
src/qcodes/parameters/function.py 0.00% 2 Missing :warning:
src/qcodes/parameters/parameter_base.py 0.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7706      +/-   ##
==========================================
- Coverage   59.77%   59.76%   -0.01%     
==========================================
  Files         352      352              
  Lines       31688    31692       +4     
==========================================
  Hits        18942    18942              
- Misses      12746    12750       +4     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Dec 11 '25 13:12 codecov[bot]