CPU usage has increased on batch_size of 800

Open
#321 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
postgresql, sql

Research direction

The issue compares CPU usage at two commits and proposes CPU and time_taken thresholds, but names no benchmark files or test entry points. Start by locating the performance workflow behind the linked Actions runs and checking how it measures batch_size 800. Done means the workflow checks CPU and elapsed time against agreed thresholds so regressions are detected before merge.

Written by the indexing model from the issue text.

Description

Problem

I haven't bisected this to determine the cause.

Note that in the past, users have reported many tickets whenever pg_net uses too much CPU.

Solution

Ideally we should test a CPU and time_taken threshold so perf regressions are detected before merging.

Dominant language
Python
Stars
376
Forks
44
Avg merge
5d 11h
Merged PRs (30d)
16

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from supabase/pg_net

All issues in supabase/pg_net

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.