Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

#243 Adjusted iteration values#244

Merged
jathavaan merged 1 commit intomainkartAI/doppa:mainfrom
bugfix/243-increase-benchmark-iteration-for-point-in-polygon-lookupkartAI/doppa:bugfix/243-increase-benchmark-iteration-for-point-in-polygon-lookupCopy head branch name to clipboard
Apr 25, 2026
Merged

#243 Adjusted iteration values#244
jathavaan merged 1 commit intomainkartAI/doppa:mainfrom
bugfix/243-increase-benchmark-iteration-for-point-in-polygon-lookupkartAI/doppa:bugfix/243-increase-benchmark-iteration-for-point-in-polygon-lookupCopy head branch name to clipboard

Conversation

@jathavaan
Copy link
Copy Markdown
Collaborator

This pull request makes adjustments to the benchmarking configuration and updates an enum value related to benchmark iterations. The main changes are a reduction in the number of benchmark runs and a reclassification of the POINT_IN_POLYGON_LOOKUP enum value.

Benchmark configuration updates:

  • Reduced the default number of benchmark runs in the Config class from 5 to 3, likely to speed up the benchmarking process or reduce resource usage.

Benchmark enum adjustments:

  • Changed the value of POINT_IN_POLYGON_LOOKUP in the BenchmarkIteration enum from 490 to 2000, possibly to reflect a new ordering or categorization of benchmark types.

Signed-off-by: Jathavaan Shankarr <jathavaan12@gmail.com>
@jathavaan jathavaan self-assigned this Apr 25, 2026
Copilot AI review requested due to automatic review settings April 25, 2026 08:26
@jathavaan jathavaan linked an issue Apr 25, 2026 that may be closed by this pull request
@jathavaan jathavaan enabled auto-merge April 25, 2026 08:27
@jathavaan jathavaan disabled auto-merge April 25, 2026 08:27
@jathavaan jathavaan merged commit 9f77c4d into main Apr 25, 2026
4 checks passed
@jathavaan jathavaan deleted the bugfix/243-increase-benchmark-iteration-for-point-in-polygon-lookup branch April 25, 2026 08:27
Copy link
Copy Markdown
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

Adjusts default benchmarking settings by reducing the number of full benchmark runs and modifying the iteration count for the point-in-polygon benchmark.

Changes:

  • Reduced default Config.BENCHMARK_RUNS from 5 to 3.
  • Updated BenchmarkIteration.POINT_IN_POLYGON_LOOKUP value from 490 to 2000.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/domain/enums/benchmark_iteration.py Increases the iteration count used by the point-in-polygon benchmark.
src/config.py Lowers the default number of benchmark runs executed by the benchmark runner.

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

ATTRIBUTE_SPATIAL_COMPOUND_FILTER = 1000
ORDERED_RANGE_QUERY = 1500
POINT_IN_POLYGON_LOOKUP = 490
POINT_IN_POLYGON_LOOKUP = 2000
Copy link

Copilot AI Apr 25, 2026

Choose a reason for hiding this comment

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

BenchmarkIteration values are used directly as the loop count in the monitoring decorators (e.g., for i in range(benchmark_iteration.value) in src/application/common/monitor.py). Changing POINT_IN_POLYGON_LOOKUP from 490 to 2000 will therefore increase timed iterations ~4x and also increase per-iteration blob writes via _save_run, which can substantially increase runtime and storage/cost. If the intent here is only to “reclassify/order” the benchmark type, consider keeping the iteration count unchanged and introducing a separate ordering/category field (or a different enum) instead; otherwise please confirm 2000 iterations is intentional for this benchmark.

Suggested change
POINT_IN_POLYGON_LOOKUP = 2000
POINT_IN_POLYGON_LOOKUP = 490

Copilot uses AI. Check for mistakes.
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.

Increase benchmark iteration for point in polygon lookup

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.