Skip to content

chore: add more commets #10

chore: add more commets

chore: add more commets #10

GitHub Actions / benchdiff-result succeeded Apr 30, 2024 in 0s

Benchdiff Results

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

HEAD sha: 3f31044

Base sha: 71966cb

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 885.12 5% 889.52 5% ~ (p=0.841 n=5+5)
Appender/NoCompression-2 534.94 4% 559.94 15% ~ (p=0.548 n=5+5)
Appender/NoCompressionScaling 905.14 6% 922.88 1% ~ (p=0.690 n=5+5)
Appender/NoCompressionScaling-2 542.16 8% 524.42 6% ~ (p=0.310 n=5+5)
Appender/BestSpeed 889.74 1% 901.9 3% ~ (p=0.151 n=5+5)
Appender/BestSpeed-2 806.88 7% 845.88 22% ~ (p=1.000 n=5+5)
Appender/BestSpeedScaling 904.4 1% 906.76 1% ~ (p=0.841 n=5+5)
Appender/BestSpeedScaling-2 807.12 20% 816.42 13% ~ (p=1.000 n=5+5)
Appender/DefaultCompression 901.6 2% 918.72 2% ~ (p=0.056 n=5+5)
Appender/DefaultCompression-2 783.62 9% 775.74 7% ~ (p=1.000 n=5+5)
Appender/DefaultCompressionScaling 915.42 1% 919.56 3% ~ (p=1.000 n=5+5)
Appender/DefaultCompressionScaling-2 780.5 7% 754.18 9% ~ (p=0.222 n=5+5)
Appender/BestCompression 1552.6 3% 1569 3% ~ (p=0.421 n=5+5)
Appender/BestCompression-2 1452.8 9% 1500.8 3% ~ (p=0.421 n=5+5)
Appender/BestCompressionScaling 1542 2% 1551.8 0% ~ (p=0.143 n=5+5)
Appender/BestCompressionScaling-2 1384 8% 1443.4 6% ~ (p=0.310 n=5+5)
AppenderError 6996.2 2% 7070.8 4% ~ (p=0.548 n=5+5)
AppenderError-2 4557 20% 4304.2 11% ~ (p=0.690 n=5+5)
name old speed (MB/s) ± new speed (MB/s) ± delta ±
Appender/NoCompression 145.882 5% 145.142 5% ~ (p=0.841 n=5+5)
Appender/NoCompression-2 241.38 4% 231.796 13% ~ (p=0.548 n=5+5)
Appender/NoCompressionScaling 142.742 7% 139.786 1% ~ (p=0.690 n=5+5)
Appender/NoCompressionScaling-2 238.494 8% 246.276 6% ~ (p=0.310 n=5+5)
Appender/BestSpeed 144.994 1% 143.066 3% ~ (p=0.151 n=5+5)
Appender/BestSpeed-2 160.392 7% 155.658 20% ~ (p=1.000 n=5+5)
Appender/BestSpeedScaling 142.648 1% 142.276 2% ~ (p=0.841 n=5+5)
Appender/BestSpeedScaling-2 162.712 18% 159.108 15% ~ (p=1.000 n=5+5)
Appender/DefaultCompression 143.098 2% 140.428 2% ~ (p=0.056 n=5+5)
Appender/DefaultCompression-2 165.126 10% 166.55 8% ~ (p=1.000 n=5+5)
Appender/DefaultCompressionScaling 140.93 1% 140.324 3% ~ (p=1.000 n=5+5)
Appender/DefaultCompressionScaling-2 165.76 7% 171.564 8% ~ (p=0.222 n=5+5)
Appender/BestCompression 83.112 3% 82.244 3% ~ (p=0.421 n=5+5)
Appender/BestCompression-2 89.062 10% 85.988 3% ~ (p=0.421 n=5+5)
Appender/BestCompressionScaling 83.668 2% 83.124 0% ~ (p=0.151 n=5+5)
Appender/BestCompressionScaling-2 93.412 8% 89.474 6% ~ (p=0.310 n=5+5)
AppenderError 18.44 2% 18.25 3% ~ (p=0.548 n=5+5)
AppenderError-2 28.904 20% 30.09 10% ~ (p=0.690 n=5+5)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
Appender/NoCompression 506.8 6% 511.8 4% ~ (p=0.730 n=5+5)
Appender/NoCompression-2 406 4% 396 11% ~ (p=0.333 n=5+5)
Appender/NoCompressionScaling 507.2 5% 531 0% ~ (p=0.063 n=5+4)
Appender/NoCompressionScaling-2 398 5% 400.4 5% ~ (p=0.738 n=5+5)
Appender/BestSpeed 277.6 2% 271.75 0% ~ (p=0.111 n=5+4)
Appender/BestSpeed-2 274.4 2% 277.8 4% ~ (p=1.000 n=5+5)
Appender/BestSpeedScaling 277.8 1% 278.4 3% ~ (p=0.762 n=5+5)
Appender/BestSpeedScaling-2 278.6 4% 279.4 6% ~ (p=1.000 n=5+5)
Appender/DefaultCompression 278.8 1% 281.4 2% ~ (p=0.230 n=5+5)
Appender/DefaultCompression-2 280 3% 278.2 7% ~ (p=0.460 n=5+5)
Appender/DefaultCompressionScaling 280 0% 281.2 1% ~ (p=0.524 n=5+5)
Appender/DefaultCompressionScaling-2 285.4 6% 274.4 2% ~ (p=0.135 n=5+5)
Appender/BestCompression 292.4 1% 292.8 1% ~ (p=0.754 n=5+5)
Appender/BestCompression-2 285.2 5% 300.8 1% +5.47% (p=0.008 n=5+5)
Appender/BestCompressionScaling 290.4 1% 292.6 1% +0.76% (p=0.048 n=5+5)
Appender/BestCompressionScaling-2 290.6 6% 289.2 5% ~ (p=0.857 n=5+5)
AppenderError 4006 10% 4092.6 5% ~ (p=0.262 n=5+5)
AppenderError-2 4097.2 2% 4082.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 53 0% 53 0% ~ (all equal)
AppenderError-2 53 0% 53 0% ~ (all equal)