Skip to content

[FEAT]: Create a benchmarking script that can compare pyvisa vs. tm_devices timing data #337

Description

@nfelt14

Description

It would be nice to see empirical data comparing the performance difference between raw pyvisa and tm_devices.

Additional Information

A bonus feature would be an update to a GitHub discussion with the latest performance metrics on the main branch as well as a post on PRs with results (and changes) from the PR.

Tools to look into: 

Development work previously started here: https://github.com/nfelt14/tm_devices/tree/add-benchmarking-tests

Activity

  1. added
    enhancement
    on Oct 23, 2024
  2. Vritika22Mandapaka commented on Oct 29, 2026

    @Vritika22Mandapaka

    Hi @nfelt14! I'm interested in contributing to this issue.

    I'd like to help create a Python benchmarking script comparing raw PyVISA and tm_devices performance, potentially using pytest-benchmark.

    I noticed that development was previously started in the add-benchmarking-tests branch. Is this issue still available for contribution, and would you prefer that a new contributor build on that existing work?

    Also, can the benchmarks be developed and validated using simulated instruments, or is physical Tektronix hardware required?

    Thanks!

  3. nfelt14 commented on Oct 30, 2026

    @nfelt14
    CollaboratorAuthor

    @Vritika22Mandapaka, you are welcome to take on this work. You could take a look at the previous branch for reference, but you do not need to build off it.

    In order to accurately measure and compare speed, the script will need to be able to run against physical instruments. You can develop it against simulated instruments though; it just needs to be able to run against real instruments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions