Skip to content

Conversation

@hf-kklein
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the performance of the create_and_fill_ahb_expression_table function by implementing bulk insert operations and removing debug logging overhead.

  • Replaces individual session.add() calls with session.add_all() for batch insertion of ~3600 rows
  • Removes debug logging inside the loop to reduce I/O overhead
  • Optimizes row count retrieval by using len() instead of a database query

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hf-kklein hf-kklein merged commit 1ae6a84 into main Dec 4, 2025
21 checks passed
@hf-kklein hf-kklein deleted the perf3 branch December 4, 2025 19:36
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