Skip to content

Conversation

charles-turner-1
Copy link
Collaborator

@charles-turner-1 charles-turner-1 commented May 12, 2025

Change Summary

Removed a .compute() call from test_open_dataset_kerchunk. It's been bugging me for a couple of days that the tests seemed to be running excessively slowly.

The kerchunk file that was being computed is approximate 2GB in size & we shouldn't need to have a .compute() call to assert that it is a dataset (AFAIK).

This reduces test suite execution time from:

  • ~220s to ~120s on my machine
  • ~130s to 105s on CI

Checklist

  • Unit tests for the changes exist N/A
  • Tests pass on CI
  • Documentation reflects the changes where applicable N/A

@charles-turner-1 charles-turner-1 changed the title Fix test perf regressions Improve test performance May 12, 2025
@charles-turner-1 charles-turner-1 marked this pull request as ready for review May 12, 2025 10:54
Copy link
Collaborator

@mgrover1 mgrover1 left a comment

Choose a reason for hiding this comment

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

Great! Thank you for adding this fix 👍

@mgrover1 mgrover1 merged commit 11b6c58 into main May 12, 2025
10 checks passed
@mgrover1 mgrover1 deleted the fix-test-perf-regressions branch May 12, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants