Skip to content

Refresh optimized CVI timing figure - #126

Merged
AP6YC merged 3 commits into
developfrom
refresh-cvi-timing-figure
Oct 15, 2026
Merged

AP6YC merged 3 commits into
developfrom
refresh-cvi-timing-figure

Conversation

@NiklasMelton

@NiklasMelton NiklasMelton commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • replace the baseline timing image with the figure generated from the completed optimization stack
  • document the retained benchmark, statistical treatment, numerical compatibility, and optimization paths
  • keep raw CSV/JSON results and one-off comparison scripts out of repository history

Final benchmark

  • 990 positive finite timings
  • 198 index/method/sample cases with five trials each
  • 3,780 × 2,520 output figure
  • geometric means with 95% Student-t intervals on log timings

At 10,000 samples on the plotted 2D workload:

Score CVI scikit-learn Relative performance
CH 0.587 ms 0.601 ms CVI 1.02x faster
DB 0.655 ms 1.219 ms CVI 1.86x faster

CH is equivalent. DB remains a related reference because this package uses squared distances while scikit-learn uses Euclidean distances.

Validation

  • 832 passed, 140 optional-JAX skips
  • final source and tests match the preserved intended working tree
  • committed figure hash matches the completed optimized run

Issues

Closes #135
Closes #128
Closes #129
Closes #130
Closes #131
Closes #132
Closes #133
Closes #134

@NiklasMelton
NiklasMelton force-pushed the refresh-cvi-timing-figure branch from fda9646 to 403073c Compare October 1, 2026 17:10

@AP6YC AP6YC left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eh, I'd agree that the readme is outdated, but I don't want to delete it outright because some of the benchmarks contain command line arguments that determine how some of the results figures were generated. I'm good to trim the other fat (tables, blurbs about the backends, etc.) that the figures already address.

@NiklasMelton

Copy link
Copy Markdown
Collaborator Author

Eh, I'd agree that the readme is outdated, but I don't want to delete it outright because some of the benchmarks contain command line arguments that determine how some of the results figures were generated. I'm good to trim the other fat (tables, blurbs about the backends, etc.) that the figures already address.

Restored

@NiklasMelton
NiklasMelton requested a review from AP6YC October 2, 2026 00:08
@AP6YC
AP6YC merged commit 8a6cb94 into develop Oct 15, 2026
7 checks passed
@AP6YC
AP6YC deleted the refresh-cvi-timing-figure branch October 15, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

2 participants