Skip to content

Connectivity benchmarks are a no-op #1632

Description

@cmdupuis3

Version

v2026.07.0

How did you install UXarray?

Source

What happened?

The connectivity benchmarks are currently timed after an entire Grid object has been instantiated, and since they're properties, the benchmarks are basically timing cache retrievals.

This has the effect of making asv timings close to machine variability, resulting in near-constant results across all grid sizes.

What did you expect to happen?

These benchmarks should show at least quadratic scaling according to the grid resolution.

Can you provide a MCVE to repoduce the bug?

asv run --quick --bench bench_connectivity.Connectivity.time_edge_node

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status
📚 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions