Avatar for the netresearch user
netresearch
ofelia
BlogDocsChangelog

test: comprehensive test coverage improvement (60% → 82.5%)

#502Merged
Comparing
feat/test-coverage-all
(
c664b51
) with
main
(
e1d2a36
)
CodSpeed Performance Gauge
×18
Improvement
1
Untouched
25

Benchmarks

26 total
BenchmarkExecutionMemoryWithoutPool
core/buffer_pool_benchmark_test.go
CodSpeed Performance Gauge
×18
10,960 µs609.9 µs
enable
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerJobManagement
CodSpeed Performance Gauge
+6%
53.1 µs50.1 µs
add
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerJobManagement
CodSpeed Performance Gauge
+5%
30.6 µs29.1 µs
lookup_10_jobs
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerLookupOperations
CodSpeed Performance Gauge
+3%
478 ns463 ns
remove
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerJobManagement
CodSpeed Performance Gauge
+3%
41.3 µs40 µs
BenchmarkValidateServiceName
config/command_validator_test.go
CodSpeed Performance Gauge
+3%
2.4 µs2.4 µs
BenchmarkRateLimiter
web/middleware_test.go
CodSpeed Performance Gauge
+2%
105 µs102.7 µs
semaphore_1
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerSemaphoreContention
CodSpeed Performance Gauge
+2%
18 ms17.6 ms
semaphore_5
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerSemaphoreContention
CodSpeed Performance Gauge
+2%
17.7 ms17.3 ms
lookup_100_jobs
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerLookupOperations
CodSpeed Performance Gauge
+2%
500 ns491 ns
BenchmarkValidateFilePath
config/command_validator_test.go
CodSpeed Performance Gauge
+1%
2.8 µs2.8 µs
Enhanced
core/buffer_pool_integration_test.go::BenchmarkEnhancedBufferPoolVsSimple
CodSpeed Performance Gauge
+1%
771 ns761 ns
semaphore_50
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerSemaphoreContention
CodSpeed Performance Gauge
+1%
17.9 ms17.8 ms
lookup_1000_jobs
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerLookupOperations
CodSpeed Performance Gauge
+1%
579 ns574 ns
concurrent_20_jobs_100_duration_1ms
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerConcurrency
CodSpeed Performance Gauge
0%
13.7 ms13.7 ms
concurrent_1_jobs_10_duration_1ms
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerConcurrency
CodSpeed Performance Gauge
0%
11.5 ms11.5 ms
semaphore_20
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerSemaphoreContention
CodSpeed Performance Gauge
0%
17.7 ms17.7 ms
semaphore_10
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerSemaphoreContention
CodSpeed Performance Gauge
0%
17.6 ms17.6 ms
concurrent_5_jobs_25_duration_1ms
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerConcurrency
CodSpeed Performance Gauge
0%
12.1 ms12.2 ms
semaphore_2
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerSemaphoreContention
CodSpeed Performance Gauge
0%
17.5 ms17.6 ms
concurrent_10_jobs_50_duration_1ms
core/scheduler_concurrency_benchmark_test.go::BenchmarkSchedulerConcurrency
CodSpeed Performance Gauge
-1%
12.6 ms12.7 ms
BenchmarkSchedulerMemoryUsage
core/scheduler_concurrency_benchmark_test.go
CodSpeed Performance Gauge
-1%
5.9 ms5.9 ms
BenchmarkValidateCommandArgs
config/command_validator_test.go
CodSpeed Performance Gauge
-1%
3.8 µs3.8 µs
BenchmarkExecutionMemoryWithPool
core/buffer_pool_benchmark_test.go
CodSpeed Performance Gauge
-1%
3.3 µs3.3 µs
Simple
core/buffer_pool_integration_test.go::BenchmarkEnhancedBufferPoolVsSimple
CodSpeed Performance Gauge
-2%
813 ns830 ns

Commits

Click on a commit to change the comparison range
Base
main
e1d2a36
×18
fix: extract hashme tag constant to satisfy goconst linter
c664b51
12 days ago
by CybotTM
© 2026 CodSpeed Technology
Home Terms Privacy Docs