Skip to content

perf(scheduler): Non recursive implementation for "operationValid" in the scheduler statments#1557

Open
davidLif wants to merge 1 commit into
mainfrom
DavidL/operationValidAsNonrecursive
Open

perf(scheduler): Non recursive implementation for "operationValid" in the scheduler statments#1557
davidLif wants to merge 1 commit into
mainfrom
DavidL/operationValidAsNonrecursive

Conversation

@davidLif
Copy link
Copy Markdown
Collaborator

@davidLif davidLif commented May 6, 2026

Description

For scheduler statements, use supporting array validOps instead of recursion

Related Issues

Fixes #

Checklist

Note: Ensure your PR title follows the Conventional Commits format (e.g., feat(scheduler): add new feature)

  • Self-reviewed
  • Added/updated tests (if needed)
  • Updated documentation (if needed)

Breaking Changes

Additional Notes

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 6, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: da7549b6-3e55-46ad-a880-54b995b3950c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch DavidL/operationValidAsNonrecursive

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

📊 Performance Benchmark Results

Comparing PR (DavidL/operationValidAsNonrecursive) vs main branch — click to expand
goos: linux
goarch: amd64
pkg: github.com/kai-scheduler/KAI-scheduler/pkg/scheduler/actions
cpu: AMD EPYC 7763 64-Core Processor                
                                    │ main-bench.txt │           pr-bench.txt            │
                                    │     sec/op     │   sec/op     vs base              │
AllocateAction_SmallCluster-4            108.3m ± 0%   108.3m ± 6%       ~ (p=0.394 n=6)
AllocateAction_MediumCluster-4           137.1m ± 1%   136.2m ± 0%  -0.65% (p=0.004 n=6)
AllocateAction_LargeCluster-4            214.5m ± 9%   211.6m ± 9%       ~ (p=0.132 n=6)
ReclaimAction_SmallCluster-4             103.0m ± 0%   103.0m ± 0%       ~ (p=0.699 n=6)
ReclaimAction_MediumCluster-4            105.9m ± 0%   106.0m ± 0%  +0.12% (p=0.026 n=6)
PreemptAction_SmallCluster-4             103.8m ± 0%   103.7m ± 0%  -0.09% (p=0.009 n=6)
PreemptAction_MediumCluster-4            112.3m ± 1%   111.8m ± 0%  -0.44% (p=0.026 n=6)
ConsolidationAction_SmallCluster-4       124.5m ± 0%   123.9m ± 1%  -0.48% (p=0.004 n=6)
ConsolidationAction_MediumCluster-4      287.5m ± 2%   285.9m ± 1%       ~ (p=0.485 n=6)
FullSchedulingCycle_SmallCluster-4       105.6m ± 0%   105.5m ± 0%       ~ (p=1.000 n=6)
FullSchedulingCycle_MediumCluster-4      121.6m ± 1%   121.3m ± 1%       ~ (p=0.818 n=6)
FullSchedulingCycle_LargeCluster-4       164.2m ± 2%   162.3m ± 2%       ~ (p=0.485 n=6)
ManyQueues_MediumCluster-4               139.6m ± 1%   139.7m ± 1%       ~ (p=0.485 n=6)
GangScheduling_MediumCluster-4           160.3m ± 1%   158.9m ± 2%       ~ (p=0.180 n=6)
geomean                                  135.2m        134.7m       -0.41%

                                    │ main-bench.txt │            pr-bench.txt            │
                                    │      B/op      │     B/op      vs base              │
AllocateAction_SmallCluster-4           2.229Mi ± 0%   2.229Mi ± 1%       ~ (p=0.485 n=6)
AllocateAction_MediumCluster-4          12.09Mi ± 0%   12.09Mi ± 0%  +0.06% (p=0.002 n=6)
AllocateAction_LargeCluster-4           41.70Mi ± 0%   41.72Mi ± 0%  +0.05% (p=0.002 n=6)
ReclaimAction_SmallCluster-4            911.0Ki ± 1%   912.9Ki ± 1%       ~ (p=0.485 n=6)
ReclaimAction_MediumCluster-4           3.000Mi ± 0%   2.998Mi ± 0%       ~ (p=0.699 n=6)
PreemptAction_SmallCluster-4            1.128Mi ± 0%   1.132Mi ± 0%       ~ (p=0.093 n=6)
PreemptAction_MediumCluster-4           4.600Mi ± 0%   4.602Mi ± 0%       ~ (p=0.485 n=6)
ConsolidationAction_SmallCluster-4      9.776Mi ± 0%   9.779Mi ± 0%       ~ (p=0.180 n=6)
ConsolidationAction_MediumCluster-4     88.72Mi ± 0%   88.72Mi ± 0%       ~ (p=1.000 n=6)
FullSchedulingCycle_SmallCluster-4      1.420Mi ± 0%   1.423Mi ± 1%  +0.24% (p=0.041 n=6)
FullSchedulingCycle_MediumCluster-4     7.042Mi ± 0%   7.046Mi ± 0%  +0.05% (p=0.002 n=6)
FullSchedulingCycle_LargeCluster-4      23.11Mi ± 0%   23.12Mi ± 0%  +0.04% (p=0.002 n=6)
ManyQueues_MediumCluster-4              16.55Mi ± 0%   16.55Mi ± 0%       ~ (p=0.180 n=6)
GangScheduling_MediumCluster-4          17.49Mi ± 0%   17.49Mi ± 0%  +0.02% (p=0.002 n=6)
geomean                                 7.144Mi        7.150Mi       +0.08%

                                    │ main-bench.txt │           pr-bench.txt            │
                                    │   allocs/op    │  allocs/op   vs base              │
AllocateAction_SmallCluster-4            35.02k ± 0%   35.08k ± 0%  +0.16% (p=0.002 n=6)
AllocateAction_MediumCluster-4           312.8k ± 0%   313.0k ± 0%  +0.06% (p=0.002 n=6)
AllocateAction_LargeCluster-4            1.338M ± 0%   1.339M ± 0%  +0.04% (p=0.002 n=6)
ReclaimAction_SmallCluster-4             8.204k ± 0%   8.205k ± 0%       ~ (p=0.792 n=6)
ReclaimAction_MediumCluster-4            26.15k ± 0%   26.15k ± 0%       ~ (p=0.784 n=6)
PreemptAction_SmallCluster-4             11.89k ± 0%   11.90k ± 0%       ~ (p=0.104 n=6)
PreemptAction_MediumCluster-4            41.94k ± 0%   41.94k ± 0%       ~ (p=0.680 n=6)
ConsolidationAction_SmallCluster-4       127.7k ± 0%   127.8k ± 0%  +0.04% (p=0.004 n=6)
ConsolidationAction_MediumCluster-4      1.298M ± 0%   1.298M ± 0%  +0.01% (p=0.015 n=6)
FullSchedulingCycle_SmallCluster-4       20.68k ± 0%   20.71k ± 0%  +0.12% (p=0.002 n=6)
FullSchedulingCycle_MediumCluster-4      168.3k ± 0%   168.4k ± 0%  +0.06% (p=0.002 n=6)
FullSchedulingCycle_LargeCluster-4       698.7k ± 0%   698.9k ± 0%  +0.04% (p=0.002 n=6)
ManyQueues_MediumCluster-4               350.7k ± 0%   350.8k ± 0%  +0.05% (p=0.002 n=6)
GangScheduling_MediumCluster-4           571.8k ± 0%   571.9k ± 0%  +0.02% (p=0.002 n=6)
geomean                                  119.9k        119.9k       +0.04%

pkg: github.com/kai-scheduler/KAI-scheduler/pkg/scheduler/actions/integration_tests/reclaim
                            │ main-bench.txt │           pr-bench.txt            │
                            │     sec/op     │   sec/op     vs base              │
ReclaimLargeJobs_10Node-4        105.1m ± 0%   105.4m ± 0%       ~ (p=0.093 n=6)
ReclaimLargeJobs_50Node-4        225.2m ± 1%   225.7m ± 1%       ~ (p=0.937 n=6)
ReclaimLargeJobs_100Node-4       374.5m ± 7%   379.1m ± 5%       ~ (p=0.589 n=6)
ReclaimLargeJobs_200Node-4       742.3m ± 2%   747.8m ± 2%       ~ (p=0.589 n=6)
ReclaimLargeJobs_500Node-4        2.330 ± 1%    2.379 ± 1%  +2.08% (p=0.002 n=6)
ReclaimLargeJobs_1000Node-4       6.894 ± 1%    6.990 ± 2%  +1.40% (p=0.026 n=6)
geomean                          687.7m        694.4m       +0.98%

                            │ main-bench.txt │            pr-bench.txt            │
                            │      B/op      │     B/op      vs base              │
ReclaimLargeJobs_10Node-4       1.992Mi ± 3%   1.990Mi ± 3%       ~ (p=0.699 n=6)
ReclaimLargeJobs_50Node-4       59.63Mi ± 0%   59.64Mi ± 0%       ~ (p=0.699 n=6)
ReclaimLargeJobs_100Node-4      119.4Mi ± 0%   119.4Mi ± 0%       ~ (p=0.394 n=6)
ReclaimLargeJobs_200Node-4      241.0Mi ± 0%   241.0Mi ± 0%       ~ (p=1.000 n=6)
ReclaimLargeJobs_500Node-4      618.2Mi ± 0%   618.4Mi ± 0%       ~ (p=0.180 n=6)
ReclaimLargeJobs_1000Node-4     1.262Gi ± 0%   1.262Gi ± 0%       ~ (p=0.485 n=6)
geomean                         118.2Mi        118.2Mi       +0.00%

                            │ main-bench.txt │           pr-bench.txt            │
                            │   allocs/op    │  allocs/op   vs base              │
ReclaimLargeJobs_10Node-4        21.97k ± 2%   21.97k ± 2%       ~ (p=0.470 n=6)
ReclaimLargeJobs_50Node-4        801.9k ± 0%   802.3k ± 0%  +0.04% (p=0.041 n=6)
ReclaimLargeJobs_100Node-4       1.596M ± 0%   1.596M ± 0%  +0.04% (p=0.002 n=6)
ReclaimLargeJobs_200Node-4       3.182M ± 0%   3.183M ± 0%  +0.04% (p=0.002 n=6)
ReclaimLargeJobs_500Node-4       7.963M ± 0%   7.966M ± 0%  +0.04% (p=0.002 n=6)
ReclaimLargeJobs_1000Node-4      16.01M ± 0%   16.02M ± 0%  +0.04% (p=0.002 n=6)
geomean                          1.500M        1.501M       +0.04%

pkg: github.com/kai-scheduler/KAI-scheduler/pkg/scheduler/actions/reclaim
                            │ main-bench.txt │           pr-bench.txt            │
                            │     sec/op     │   sec/op     vs base              │
ReclaimWithMissingPVCJobs-4      2.222m ± 7%   2.373m ± 9%  +6.82% (p=0.041 n=6)

                            │ main-bench.txt │         pr-bench.txt          │
                            │      B/op      │     B/op      vs base         │
ReclaimWithMissingPVCJobs-4     8.086Ki ± 2%   8.211Ki ± 2%  ~ (p=0.199 n=6)

                            │ main-bench.txt │        pr-bench.txt         │
                            │   allocs/op    │ allocs/op   vs base         │
ReclaimWithMissingPVCJobs-4       153.5 ± 0%   154.0 ± 1%  ~ (p=0.545 n=6)

Legend

  • 📉 Negative delta = Performance improvement (faster)
  • 📈 Positive delta = Performance regression (slower)
  • p-value < 0.05 indicates statistically significant change
Raw benchmark data

PR branch:

goos: linux
goarch: amd64
pkg: github.com/kai-scheduler/KAI-scheduler/pkg/scheduler/actions
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkAllocateAction_SmallCluster-4         	       9	 114674782 ns/op	 2353351 B/op	   35082 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108166334 ns/op	 2342603 B/op	   35077 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108248706 ns/op	 2339480 B/op	   35076 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108164077 ns/op	 2335048 B/op	   35075 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108364065 ns/op	 2334239 B/op	   35074 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108298133 ns/op	 2334762 B/op	   35071 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 136252348 ns/op	12681912 B/op	  313008 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 135603984 ns/op	12681458 B/op	  313005 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 136412697 ns/op	12683477 B/op	  313000 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 136086884 ns/op	12680839 B/op	  313005 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 135953781 ns/op	12689821 B/op	  313002 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 136656085 ns/op	12680299 B/op	  313000 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 212198755 ns/op	43744702 B/op	 1338701 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 210093282 ns/op	43746038 B/op	 1338669 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 230578889 ns/op	43741401 B/op	 1338677 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 212714125 ns/op	43742556 B/op	 1338687 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 211075063 ns/op	43742977 B/op	 1338691 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 210516363 ns/op	43742075 B/op	 1338681 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102946333 ns/op	  926151 B/op	    8178 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102911100 ns/op	  933311 B/op	    8190 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103056358 ns/op	  942047 B/op	    8206 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103024724 ns/op	  934407 B/op	    8204 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102953275 ns/op	  935120 B/op	    8206 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103042312 ns/op	  938623 B/op	    8206 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106163202 ns/op	 3146030 B/op	   26149 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105928685 ns/op	 3142072 B/op	   26147 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106099231 ns/op	 3150959 B/op	   26149 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105990243 ns/op	 3142069 B/op	   26147 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 106033084 ns/op	 3142205 B/op	   26148 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105922519 ns/op	 3145956 B/op	   26149 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103796885 ns/op	 1189084 B/op	   11897 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103747916 ns/op	 1185188 B/op	   11897 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103705995 ns/op	 1189192 B/op	   11898 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103731948 ns/op	 1185168 B/op	   11896 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103640191 ns/op	 1181276 B/op	   11895 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103737214 ns/op	 1189141 B/op	   11899 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	      10	 111612143 ns/op	 4825708 B/op	   41935 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 112344241 ns/op	 4819261 B/op	   41935 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 111822245 ns/op	 4827886 B/op	   41938 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	      10	 111943290 ns/op	 4825691 B/op	   41936 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 111551207 ns/op	 4819180 B/op	   41935 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	      10	 111796596 ns/op	 4826093 B/op	   41938 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 123239446 ns/op	10251424 B/op	  127768 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 123164714 ns/op	10249632 B/op	  127753 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 123869679 ns/op	10257831 B/op	  127814 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 124149404 ns/op	10252366 B/op	  127783 allocs/op

Main branch:

goos: linux
goarch: amd64
pkg: github.com/kai-scheduler/KAI-scheduler/pkg/scheduler/actions
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkAllocateAction_SmallCluster-4         	      10	 108451721 ns/op	 2339792 B/op	   35033 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108250486 ns/op	 2342217 B/op	   35018 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108315053 ns/op	 2332939 B/op	   35020 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108296712 ns/op	 2335029 B/op	   35019 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108348316 ns/op	 2339293 B/op	   35021 allocs/op
BenchmarkAllocateAction_SmallCluster-4         	      10	 108435505 ns/op	 2333485 B/op	   35023 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 138336274 ns/op	12674438 B/op	  312810 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 137279247 ns/op	12673790 B/op	  312803 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 136833776 ns/op	12674659 B/op	  312799 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 136548584 ns/op	12673219 B/op	  312807 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 136720529 ns/op	12672745 B/op	  312803 allocs/op
BenchmarkAllocateAction_MediumCluster-4        	       8	 137748119 ns/op	12674065 B/op	  312809 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 214753753 ns/op	43722500 B/op	 1338181 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 211570857 ns/op	43722992 B/op	 1338194 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 212554734 ns/op	43723401 B/op	 1338194 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 234722348 ns/op	43721302 B/op	 1338184 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 215256138 ns/op	43722953 B/op	 1338186 allocs/op
BenchmarkAllocateAction_LargeCluster-4         	       5	 214182161 ns/op	43722236 B/op	 1338183 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102991264 ns/op	  930268 B/op	    8181 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102967112 ns/op	  926053 B/op	    8193 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 103045488 ns/op	  937992 B/op	    8205 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102901880 ns/op	  930872 B/op	    8204 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102944744 ns/op	  934792 B/op	    8205 allocs/op
BenchmarkReclaimAction_SmallCluster-4          	      10	 102969637 ns/op	  938556 B/op	    8206 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105830316 ns/op	 3145752 B/op	   26147 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105853602 ns/op	 3146045 B/op	   26149 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105935036 ns/op	 3150839 B/op	   26148 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105961951 ns/op	 3142060 B/op	   26147 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105895143 ns/op	 3146084 B/op	   26149 allocs/op
BenchmarkReclaimAction_MediumCluster-4         	      10	 105868244 ns/op	 3145700 B/op	   26147 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103857371 ns/op	 1188320 B/op	   11898 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103784652 ns/op	 1187519 B/op	   11894 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103855910 ns/op	 1180367 B/op	   11895 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103802491 ns/op	 1180749 B/op	   11896 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103790266 ns/op	 1180466 B/op	   11895 allocs/op
BenchmarkPreemptAction_SmallCluster-4          	      10	 103848510 ns/op	 1184170 B/op	   11895 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	      10	 112911442 ns/op	 4823228 B/op	   41940 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 112093207 ns/op	 4815832 B/op	   41934 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 112418279 ns/op	 4827524 B/op	   41936 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	      10	 112794183 ns/op	 4822686 B/op	   41936 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	       9	 111927412 ns/op	 4824560 B/op	   41938 allocs/op
BenchmarkPreemptAction_MediumCluster-4         	      10	 112185145 ns/op	 4822648 B/op	   41936 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 124671594 ns/op	10251528 B/op	  127742 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 124522966 ns/op	10253548 B/op	  127762 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 124304748 ns/op	10244698 B/op	  127690 allocs/op
BenchmarkConsolidationAction_SmallCluster-4    	       9	 124449305 ns/op	10252465 B/op	  127744 allocs/op

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ 🤖
github.com/kai-scheduler/KAI-scheduler/pkg/scheduler/framework 36.17% (-0.23%) 👎

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/kai-scheduler/KAI-scheduler/pkg/scheduler/framework/statement.go 54.39% (-0.12%) 296 (+8) 161 (+4) 135 (+4) 👎

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant