Skip to content

refactor: rewrite in functional style with mo and lo#12

Merged
csvenke merged 1 commit intomainfrom
refactor-mo
Dec 10, 2025
Merged

refactor: rewrite in functional style with mo and lo#12
csvenke merged 1 commit intomainfrom
refactor-mo

Conversation

@csvenke
Copy link
Owner

@csvenke csvenke commented Dec 9, 2025

No description provided.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Benchmark comparison

goos: linux
goarch: amd64
pkg: dev/internal/projects
cpu: AMD EPYC 7763 64-Core Processor                
                                │  base.bench   │               pr.bench               │
                                │    sec/op     │    sec/op     vs base                │
Filter1000Projects-4              101.09µ ± ∞ ¹   97.99µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_NoMatch-4       43.73µ ± ∞ ¹   44.71µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_ExactMatch-4    90.48µ ± ∞ ¹   91.27µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_EmptyQuery-4    2.193n ± ∞ ¹   2.489n ± ∞ ¹       ~ (p=1.000 n=1) ²
geomean                            5.442µ         5.617µ        +3.21%
¹ need >= 6 samples for confidence interval at level 0.95
² need >= 4 samples to detect a difference at alpha level 0.05

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Benchmark comparison

goos: linux
goarch: amd64
pkg: dev/internal/projects
cpu: AMD EPYC 7763 64-Core Processor                
                                │  base.bench   │               pr.bench               │
                                │    sec/op     │    sec/op     vs base                │
Filter1000Projects-4              100.56µ ± ∞ ¹   98.65µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_NoMatch-4       43.82µ ± ∞ ¹   43.91µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_ExactMatch-4    91.11µ ± ∞ ¹   90.41µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_EmptyQuery-4    2.183n ± ∞ ¹   2.490n ± ∞ ¹       ~ (p=1.000 n=1) ²
geomean                            5.441µ         5.588µ        +2.71%
¹ need >= 6 samples for confidence interval at level 0.95
² need >= 4 samples to detect a difference at alpha level 0.05

@github-actions
Copy link

Benchmark comparison

goos: linux
goarch: amd64
pkg: dev/internal/projects
cpu: AMD EPYC 7763 64-Core Processor                
                                │  base.bench   │               pr.bench               │
                                │    sec/op     │    sec/op     vs base                │
Filter1000Projects-4              100.63µ ± ∞ ¹   96.01µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_NoMatch-4       43.63µ ± ∞ ¹   44.03µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_ExactMatch-4    90.84µ ± ∞ ¹   90.28µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_EmptyQuery-4    2.191n ± ∞ ¹   2.465n ± ∞ ¹       ~ (p=1.000 n=1) ²
geomean                            5.437µ         5.538µ        +1.86%
¹ need >= 6 samples for confidence interval at level 0.95
² need >= 4 samples to detect a difference at alpha level 0.05

@github-actions
Copy link

Benchmark comparison

goos: linux
goarch: amd64
pkg: dev/internal/projects
cpu: AMD EPYC 7763 64-Core Processor                
                                │  base.bench   │               pr.bench               │
                                │    sec/op     │    sec/op     vs base                │
Filter1000Projects-4              102.31µ ± ∞ ¹   88.96µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_NoMatch-4       43.77µ ± ∞ ¹   43.57µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_ExactMatch-4    91.12µ ± ∞ ¹   83.46µ ± ∞ ¹       ~ (p=1.000 n=1) ²
Filter1000Projects_EmptyQuery-4    2.180n ± ∞ ¹   2.189n ± ∞ ¹       ~ (p=1.000 n=1) ²
geomean                            5.461µ         5.159µ        -5.54%
¹ need >= 6 samples for confidence interval at level 0.95
² need >= 4 samples to detect a difference at alpha level 0.05

@csvenke csvenke merged commit 0372dc9 into main Dec 10, 2025
5 checks passed
@csvenke csvenke deleted the refactor-mo branch December 10, 2025 02:24
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.

1 participant