Skip to content

add docappender.blocked.add counter #406

add docappender.blocked.add counter

add docappender.blocked.add counter #406

GitHub Actions / benchdiff-result succeeded Dec 10, 2024 in 0s

Benchdiff Results

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

HEAD sha: 21b4580

Base sha: d7a82ed

Degraded: false

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 921.72 6% 923.7 6% ~ (p=1.000 n=5+5)
Appender/NoCompression-2 581.72 16% 547.8 14% ~ (p=0.310 n=5+5)
Appender/NoCompressionScaling 931.48 7% 957.56 6% ~ (p=0.841 n=5+5)
Appender/NoCompressionScaling-2 581.64 6% 595.18 18% ~ (p=1.000 n=5+5)
Appender/BestSpeed 941.04 2% 918.68 1% -2.38% (p=0.016 n=5+5)
Appender/BestSpeed-2 758.78 8% 810.68 15% ~ (p=0.421 n=5+5)
Appender/BestSpeedScaling 940.8 1% 917.4 1% -2.49% (p=0.016 n=5+4)
Appender/BestSpeedScaling-2 785.6 25% 892.48 13% ~ (p=0.095 n=5+5)
Appender/DefaultCompression 911.26 1% 977.9 2% +7.31% (p=0.008 n=5+5)
Appender/DefaultCompression-2 769.7 14% 847.34 18% ~ (p=0.310 n=5+5)
Appender/DefaultCompressionScaling 916.22 1% 918.34 2% ~ (p=0.690 n=5+5)
Appender/DefaultCompressionScaling-2 726.8 6% 785.36 7% +8.06% (p=0.032 n=5+5)
Appender/BestCompression 1579.2 14% 1511.6 1% ~ (p=0.286 n=5+5)
Appender/BestCompression-2 1632.6 19% 1373 11% -15.90% (p=0.032 n=5+5)
Appender/BestCompressionScaling 1523.8 2% 1510.2 1% ~ (p=0.421 n=5+5)
Appender/BestCompressionScaling-2 1396.6 10% 1467 9% ~ (p=0.310 n=5+5)
AppenderError 6884.6 5% 6791.2 4% ~ (p=0.651 n=5+5)
AppenderError-2 3903.8 8% 4110.2 15% ~ (p=0.421 n=5+5)
name old speed (MB/s) ± new speed (MB/s) ± delta ±
Appender/NoCompression 140.146 6% 139.854 7% ~ (p=1.000 n=5+5)
Appender/NoCompression-2 223.556 14% 236.666 12% ~ (p=0.310 n=5+5)
Appender/NoCompressionScaling 138.696 8% 134.928 5% ~ (p=0.841 n=5+5)
Appender/NoCompressionScaling-2 222.148 6% 218.94 16% ~ (p=1.000 n=5+5)
Appender/BestSpeed 137.102 2% 140.426 1% +2.42% (p=0.016 n=5+5)
Appender/BestSpeed-2 170.56 8% 160.032 14% ~ (p=0.421 n=5+5)
Appender/BestSpeedScaling 137.13 1% 140.63 1% +2.55% (p=0.016 n=5+4)
Appender/BestSpeedScaling-2 166.914 21% 145.998 14% ~ (p=0.095 n=5+5)
Appender/DefaultCompression 141.568 1% 131.932 2% -6.81% (p=0.008 n=5+5)
Appender/DefaultCompression-2 168.686 13% 153.724 16% ~ (p=0.310 n=5+5)
Appender/DefaultCompressionScaling 140.794 1% 140.49 2% ~ (p=0.690 n=5+5)
Appender/DefaultCompressionScaling-2 177.728 5% 164.46 6% -7.47% (p=0.032 n=5+5)
Appender/BestCompression 82.08 13% 85.348 1% ~ (p=0.222 n=5+5)
Appender/BestCompression-2 80.178 21% 94.326 10% +17.65% (p=0.032 n=5+5)
Appender/BestCompressionScaling 84.668 2% 85.436 1% ~ (p=0.421 n=5+5)
Appender/BestCompressionScaling-2 92.672 10% 88.176 8% ~ (p=0.310 n=5+5)
AppenderError 18.758 6% 19.006 4% ~ (p=0.651 n=5+5)
AppenderError-2 33.152 8% 31.554 13% ~ (p=0.421 n=5+5)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
Appender/NoCompression 524 2% 521.2 8% ~ (p=1.000 n=5+5)
Appender/NoCompression-2 411.4 4% 411.6 3% ~ (p=0.881 n=5+5)
Appender/NoCompressionScaling 521 4% 510 5% ~ (p=0.460 n=5+5)
Appender/NoCompressionScaling-2 404.8 4% 412.8 5% ~ (p=0.421 n=5+5)
Appender/BestSpeed 283.4 2% 279.6 2% ~ (p=0.151 n=5+5)
Appender/BestSpeed-2 279.6 3% 278.4 4% ~ (p=0.690 n=5+5)
Appender/BestSpeedScaling 281.6 1% 280.8 0% ~ (p=0.794 n=5+5)
Appender/BestSpeedScaling-2 274.4 2% 279.4 2% ~ (p=0.111 n=5+5)
Appender/DefaultCompression 279.6 1% 288.6 4% ~ (p=0.135 n=5+5)
Appender/DefaultCompression-2 278.8 4% 280 6% ~ (p=0.833 n=5+5)
Appender/DefaultCompressionScaling 280.8 1% 281.8 1% ~ (p=0.651 n=5+5)
Appender/DefaultCompressionScaling-2 278 2% 280.8 6% ~ (p=0.952 n=5+5)
Appender/BestCompression 286.8 2% 288.6 2% ~ (p=0.437 n=5+5)
Appender/BestCompression-2 289 3% 294.6 1% ~ (p=0.595 n=5+5)
Appender/BestCompressionScaling 287.4 1% 291 2% ~ (p=0.413 n=5+5)
Appender/BestCompressionScaling-2 288.8 4% 295.2 2% ~ (p=0.317 n=5+5)
AppenderError 4109.6 9% 3987.2 4% ~ (p=0.341 n=5+5)
AppenderError-2 4090.2 4% 4104.6 3% ~ (p=0.841 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)