netresearch
go-cron
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix(cron): avoid race condition in Entry/EntryByName and ScheduleJob
#336
Comparing
jrouzierinverse:fix/race-conditions
(
5305ce6
) with
main
(
24acb27
)
CodSpeed Performance Gauge
-34%
Improvement
6
Regression
2
Untouched
17
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
25 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
without_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_1000
CodSpeed Performance Gauge
-34%
6.5 ms
9.7 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkParseStandard
benchmark_test.go
CodSpeed Performance Gauge
-11%
3.4 µs
3.8 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
1000_jobs
benchmark_test.go::BenchmarkCronWithManyJobs
CodSpeed Performance Gauge
×2.2
5 ms
2.3 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
with_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_1000
CodSpeed Performance Gauge
+74%
5.1 ms
2.9 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
with_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_500
CodSpeed Performance Gauge
+42%
1,295.4 µs
909.3 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkAddJob
benchmark_test.go
CodSpeed Performance Gauge
+33%
7.4 µs
5.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
without_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_500
CodSpeed Performance Gauge
+22%
1.4 ms
1.2 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
10_jobs
benchmark_test.go::BenchmarkCronWithManyJobs
CodSpeed Performance Gauge
+20%
2.6 µs
2.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
without_capacity
option_capacity_test.go::BenchmarkWithCapacity_BulkAdd
CodSpeed Performance Gauge
+7%
1.7 ms
1.6 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkParseWithTimezone
benchmark_test.go
CodSpeed Performance Gauge
+4%
35.1 µs
33.8 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkObservabilityHooks_Overhead
observability_test.go
CodSpeed Performance Gauge
+3%
2.3 µs
2.3 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
without_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_100
CodSpeed Performance Gauge
+3%
193.5 µs
188.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
with_capacity
option_capacity_test.go::BenchmarkWithCapacity_BulkAdd
CodSpeed Performance Gauge
+1%
1.5 ms
1.5 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkObservabilityHooks_NilOverhead
observability_test.go
CodSpeed Performance Gauge
+1%
213 ns
211 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkRemoveAtWithIndex
heap_test.go
CodSpeed Performance Gauge
+1%
962 ns
957 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkParseDescriptor
benchmark_test.go
CodSpeed Performance Gauge
0%
239 ns
239 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkChainWrappers
benchmark_test.go
CodSpeed Performance Gauge
0%
28 ns
28 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkNextComplex
benchmark_test.go
CodSpeed Performance Gauge
0%
868 ns
869 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkNextWithTimezone
benchmark_test.go
CodSpeed Performance Gauge
0%
1.2 µs
1.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkHeapUpdate
heap_test.go
CodSpeed Performance Gauge
0%
484 ns
485 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkNext
benchmark_test.go
CodSpeed Performance Gauge
0%
2.6 µs
2.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
100_jobs
benchmark_test.go::BenchmarkCronWithManyJobs
CodSpeed Performance Gauge
-1%
13.8 µs
14 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkHeapPopPush
heap_test.go
CodSpeed Performance Gauge
-2%
524 ns
535 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkHeapPush
heap_test.go
CodSpeed Performance Gauge
-2%
282.1 µs
289.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
with_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_100
CodSpeed Performance Gauge
-5%
180.9 µs
190.4 µs
Commits
Click on a commit to change the comparison range
Base
main
24acb27
-33.58%
fix(cron): simplify comment in run()
5305ce6
3 days ago
by jrouzierinverse
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs