Skip to content

ci: enable race detector for go tests #401

ci: enable race detector for go tests

ci: enable race detector for go tests #401

GitHub Actions / benchdiff-result completed Nov 26, 2024 in 0s

Benchdiff Results

Benchmark Command: go test ./... -run ^ -bench . -count 5 -benchtime 100ms -cpu 1,2 -benchmem

HEAD sha: 26120b9

Base sha: f8b381e

Degraded: true

Details

pkg: github.com/elastic/go-docappender/v2
goos: linux
goarch: amd64

name old time/op (ns/op) ± new time/op (ns/op) ± delta ±
Appender/NoCompression 925.14 5% 999.78 15% ~ (p=0.222 n=5+5)
Appender/NoCompression-2 555.7 8% 613.78 9% ~ (p=0.095 n=5+5)
Appender/NoCompressionScaling 958.16 2% 968.96 3% ~ (p=0.421 n=5+5)
Appender/NoCompressionScaling-2 660.16 54% 563.64 4% ~ (p=0.548 n=5+5)
Appender/BestSpeed 954.46 1% 937.56 0% -1.77% (p=0.008 n=5+5)
Appender/BestSpeed-2 753.88 7% 789.54 16% ~ (p=0.310 n=5+5)
Appender/BestSpeedScaling 971 1% 955.1 8% ~ (p=0.151 n=5+5)
Appender/BestSpeedScaling-2 787.2 7% 1034.06 4% +31.36% (p=0.008 n=5+5)
Appender/DefaultCompression 931.66 3% 915.92 1% ~ (p=0.095 n=5+5)
Appender/DefaultCompression-2 785.72 17% 787.82 7% ~ (p=0.841 n=5+5)
Appender/DefaultCompressionScaling 937.18 1% 921.2 1% -1.71% (p=0.008 n=5+5)
Appender/DefaultCompressionScaling-2 773.14 10% 723.52 5% -6.42% (p=0.032 n=5+5)
Appender/BestCompression 1545.25 0% 1527.2 1% -1.17% (p=0.016 n=4+5)
Appender/BestCompression-2 1770.6 8% 1354.8 6% -23.48% (p=0.008 n=5+5)
Appender/BestCompressionScaling 1691 27% 1528.6 1% ~ (p=0.690 n=5+5)
Appender/BestCompressionScaling-2 1424.4 11% 1365.2 8% ~ (p=0.421 n=5+5)
AppenderError 6991.2 2% 6840.6 4% ~ (p=0.310 n=5+5)
AppenderError-2 4218.8 11% 4286.4 15% ~ (p=1.000 n=5+5)
name old speed (MB/s) ± new speed (MB/s) ± delta ±
Appender/NoCompression 139.54 5% 129.902 13% ~ (p=0.222 n=5+5)
Appender/NoCompression-2 232.98 7% 211.062 10% ~ (p=0.095 n=5+5)
Appender/NoCompressionScaling 134.674 2% 133.172 3% ~ (p=0.421 n=5+5)
Appender/NoCompressionScaling-2 206.308 38% 229.072 4% ~ (p=0.548 n=5+5)
Appender/BestSpeed 135.158 1% 137.59 0% +1.80% (p=0.008 n=5+5)
Appender/BestSpeed-2 171.498 7% 164.456 14% ~ (p=0.310 n=5+5)
Appender/BestSpeedScaling 132.858 1% 135.286 8% ~ (p=0.151 n=5+5)
Appender/BestSpeedScaling-2 164.158 6% 124.866 4% -23.94% (p=0.008 n=5+5)
Appender/DefaultCompression 138.51 3% 140.846 1% ~ (p=0.095 n=5+5)
Appender/DefaultCompression-2 165.832 15% 164.142 7% ~ (p=0.841 n=5+5)
Appender/DefaultCompressionScaling 137.654 1% 140.04 1% +1.73% (p=0.008 n=5+5)
Appender/DefaultCompressionScaling-2 167.294 9% 178.456 5% +6.67% (p=0.032 n=5+5)
Appender/BestCompression 83.4775 0% 84.472 1% +1.19% (p=0.016 n=4+5)
Appender/BestCompression-2 73.12 8% 95.352 6% +30.40% (p=0.008 n=5+5)
Appender/BestCompressionScaling 77.738 23% 84.406 1% ~ (p=0.690 n=5+5)
Appender/BestCompressionScaling-2 90.838 10% 94.694 8% ~ (p=0.421 n=5+5)
AppenderError 18.458 2% 18.872 4% ~ (p=0.310 n=5+5)
AppenderError-2 30.72 10% 30.38 15% ~ (p=1.000 n=5+5)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
Appender/NoCompression 513.4 3% 520.6 9% ~ (p=0.841 n=5+5)
Appender/NoCompression-2 402.6 2% 423.6 6% ~ (p=0.095 n=5+5)
Appender/NoCompressionScaling 524.2 5% 517.2 5% ~ (p=0.460 n=5+5)
Appender/NoCompressionScaling-2 405.2 8% 402 3% ~ (p=0.730 n=5+5)
Appender/BestSpeed 286 2% 281.6 2% ~ (p=0.198 n=5+5)
Appender/BestSpeed-2 273.6 3% 273.4 3% ~ (p=0.786 n=5+5)
Appender/BestSpeedScaling 289.6 3% 280.4 1% -3.18% (p=0.008 n=5+5)
Appender/BestSpeedScaling-2 278 4% 286.6 2% ~ (p=0.079 n=5+5)
Appender/DefaultCompression 284.2 1% 280.4 3% ~ (p=0.206 n=5+5)
Appender/DefaultCompression-2 279.2 3% 273.6 3% ~ (p=0.151 n=5+5)
Appender/DefaultCompressionScaling 283.4 1% 281.6 1% ~ (p=0.325 n=5+5)
Appender/DefaultCompressionScaling-2 274.4 3% 277.8 3% ~ (p=0.341 n=5+5)
Appender/BestCompression 288.8 1% 287.8 1% ~ (p=0.437 n=5+5)
Appender/BestCompression-2 291.2 5% 295.8 2% ~ (p=0.579 n=5+5)
Appender/BestCompressionScaling 289.6 3% 288.4 1% ~ (p=0.444 n=5+5)
Appender/BestCompressionScaling-2 291 6% 291 4% ~ (p=0.841 n=5+5)
AppenderError 4110.2 9% 4223.2 6% ~ (p=0.460 n=5+5)
AppenderError-2 4191.6 4% 4031.8 5% ~ (p=0.095 n=5+5)
name old allocs/op (allocs/op) ± new allocs/op (allocs/op) ± delta ±
Appender/NoCompression 8 0% 8 0% ~ (all equal)
Appender/NoCompression-2 8 0% 8 0% ~ (all equal)
Appender/NoCompressionScaling 8 0% 8 0% ~ (all equal)
Appender/NoCompressionScaling-2 8 0% 8 0% ~ (all equal)
Appender/BestSpeed 8 0% 8 0% ~ (all equal)
Appender/BestSpeed-2 8 0% 8 0% ~ (all equal)
Appender/BestSpeedScaling 8 0% 8 0% ~ (all equal)
Appender/BestSpeedScaling-2 8 0% 8 0% ~ (all equal)
Appender/DefaultCompression 8 0% 8 0% ~ (all equal)
Appender/DefaultCompression-2 8 0% 8 0% ~ (all equal)
Appender/DefaultCompressionScaling 8 0% 8 0% ~ (all equal)
Appender/DefaultCompressionScaling-2 8 0% 8 0% ~ (all equal)
Appender/BestCompression 8 0% 8 0% ~ (all equal)
Appender/BestCompression-2 8 0% 8 0% ~ (all equal)
Appender/BestCompressionScaling 8 0% 8 0% ~ (all equal)
Appender/BestCompressionScaling-2 8 0% 8 0% ~ (all equal)
AppenderError 51 0% 51 0% ~ (all equal)
AppenderError-2 51 0% 51 0% ~ (all equal)