netresearch
go-cron
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix(cron): avoid race condition in Entry/EntryByName and ScheduleJob
#336
Merged
Comparing
jrouzierinverse:fix/race-conditions
(
ccea108
) with
main
(
fb74a8f
)
CodSpeed Performance Gauge
-34%
Improvement
2
Regression
3
Untouched
20
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%
5.7 ms
8.7 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
10_jobs
benchmark_test.go::BenchmarkCronWithManyJobs
CodSpeed Performance Gauge
-19%
2.5 µs
3.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
100_jobs
benchmark_test.go::BenchmarkCronWithManyJobs
CodSpeed Performance Gauge
-18%
13.8 µs
16.8 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
with_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_500
CodSpeed Performance Gauge
+58%
2 ms
1.3 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkHeapPush
heap_test.go
CodSpeed Performance Gauge
+20%
346.2 µs
287.9 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkParseDescriptor
benchmark_test.go
CodSpeed Performance Gauge
+1%
239 ns
237 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
with_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_100
CodSpeed Performance Gauge
+1%
209 µs
207.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkObservabilityHooks_NilOverhead
observability_test.go
CodSpeed Performance Gauge
0%
213 ns
212 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkHeapUpdate
heap_test.go
CodSpeed Performance Gauge
0%
479 ns
478 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
868 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.
BenchmarkObservabilityHooks_Overhead
observability_test.go
CodSpeed Performance Gauge
0%
2.4 µs
2.4 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkHeapPopPush
heap_test.go
CodSpeed Performance Gauge
0%
526 ns
527 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkRemoveAtWithIndex
heap_test.go
CodSpeed Performance Gauge
0%
959 ns
961 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkParseWithTimezone
benchmark_test.go
CodSpeed Performance Gauge
0%
33.4 µs
33.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkNextWithTimezone
benchmark_test.go
CodSpeed Performance Gauge
-1%
1.2 µs
1.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkParseStandard
benchmark_test.go
CodSpeed Performance Gauge
-1%
3.3 µs
3.4 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BenchmarkAddJob
benchmark_test.go
CodSpeed Performance Gauge
-3%
5.4 µs
5.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
1000_jobs
benchmark_test.go::BenchmarkCronWithManyJobs
CodSpeed Performance Gauge
-3%
3.2 ms
3.3 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
without_capacity
option_capacity_test.go::BenchmarkWithCapacity_BulkAdd
CodSpeed Performance Gauge
-3%
1.6 ms
1.6 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
with_capacity
option_capacity_test.go::BenchmarkWithCapacity_BulkAdd
CodSpeed Performance Gauge
-4%
1.5 ms
1.5 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
without_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_500
CodSpeed Performance Gauge
-4%
2 ms
2.1 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
-8%
4.9 ms
5.3 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
without_capacity
option_capacity_test.go::BenchmarkWithCapacity_MapOperations::size_100
CodSpeed Performance Gauge
-10%
198.9 µs
220.7 µs
Commits
Click on a commit to change the comparison range
Base
main
fb74a8f
-33.55%
fix(cron): deep copy Entry.Tags to prevent external mutation
ccea108
24 days ago
by jrouzierinverse
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs