Avatar for the netresearch user
netresearch
go-cron
BlogDocsChangelog

fix(test): widen timing tolerance for MaxDelay test on macOS

#340Merged
Comparing
fix/macos-timing-test
(
912f601
) with
main
(
120f6c5
)
CodSpeed Performance Gauge
-53%
Improvement
3
Regression
2
Untouched
20

Benchmarks

25 total
with_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_1000
CodSpeed Performance Gauge
-53%
2.1 ms4.5 ms
with_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_500
CodSpeed Performance Gauge
-45%
872.3 µs1,576.1 µs
without_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_500
CodSpeed Performance Gauge
+37%
1.4 ms1 ms
with_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_100
CodSpeed Performance Gauge
+27%
227.8 µs179.7 µs
without_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_1000
CodSpeed Performance Gauge
+13%
9.2 ms8.2 ms
10_jobs
benchmark_test.go::BenchmarkCronWithManyJobs
CodSpeed Performance Gauge
+9%
2.5 µs2.3 µs
100_jobs
benchmark_test.go::BenchmarkCronWithManyJobs
CodSpeed Performance Gauge
+6%
14.7 µs13.9 µs
BenchmarkHeapPush
heap_test.go
CodSpeed Performance Gauge
+5%
301.8 µs287 µs
BenchmarkObservabilityHooks_NilOverhead
observability_test.go
CodSpeed Performance Gauge
+2%
214 ns210 ns
BenchmarkHeapUpdate
heap_test.go
CodSpeed Performance Gauge
+2%
487 ns478 ns
BenchmarkParseWithTimezone
benchmark_test.go
CodSpeed Performance Gauge
+1%
34.2 µs33.8 µs
BenchmarkHeapPopPush
heap_test.go
CodSpeed Performance Gauge
+1%
530 ns527 ns
with_capacity
option_capacity_test.go::BenchmarkWithCapacity_BulkAdd
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
BenchmarkNextComplex
benchmark_test.go
CodSpeed Performance Gauge
0%
869 ns868 ns
BenchmarkNext
benchmark_test.go
CodSpeed Performance Gauge
0%
2.6 µs2.6 µs
BenchmarkChainWrappers
benchmark_test.go
CodSpeed Performance Gauge
0%
28 ns28 ns
BenchmarkNextWithTimezone
benchmark_test.go
CodSpeed Performance Gauge
0%
1.2 µs1.2 µs
BenchmarkRemoveAtWithIndex
heap_test.go
CodSpeed Performance Gauge
-1%
948 ns957 ns
BenchmarkParseStandard
benchmark_test.go
CodSpeed Performance Gauge
-2%
3.3 µs3.4 µs
1000_jobs
benchmark_test.go::BenchmarkCronWithManyJobs
CodSpeed Performance Gauge
-2%
2.6 ms2.7 ms
BenchmarkObservabilityHooks_Overhead
observability_test.go
CodSpeed Performance Gauge
-3%
2.3 µs2.4 µs
BenchmarkAddJob
benchmark_test.go
CodSpeed Performance Gauge
-4%
5.5 µs5.8 µs
BenchmarkParseDescriptor
benchmark_test.go
CodSpeed Performance Gauge
-5%
237 ns250 ns
without_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_100
CodSpeed Performance Gauge
-7%
183.5 µs197.3 µs
without_capacity
option_capacity_test.go::BenchmarkWithCapacity_BulkAdd
CodSpeed Performance Gauge
-8%
1.6 ms1.8 ms

Commits

Click on a commit to change the comparison range
Base
main
120f6c5
-52.93%
fix(test): widen timing tolerance for MaxDelay test on macOS
912f601
29 days ago
by CybotTM
© 2026 CodSpeed Technology
Home Terms Privacy Docs