Skip to content

Configuring the BSABuffer object is slow #7

Description

@Ryan-McClanahan

Configuring the BSABuffer object takes some time no matter which way I do it.

buff = BSABuffer(
    name="edef_module_test",
    destination_mode="Inclusion",
    destination_masks=["SC_SXR"],
    measurements=meascnt,
)

or

buff = BSABuffer(
    name="edef_module_test",
)
buff.destination_mode="Inclusion"
buff.destination_masks=["SC_SXR"]
buff.n_measurements=meascnt

both take about 5.5 seconds. It seems to be the setting of the destination_mode, destination_mask, and n_measurements. When writing directly to the pvs using epics.caput, the buffer configuration takes .95 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions