New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql: add merge joiner benchmark and bytes usage optimization #31216
Merged
craig
merged 2 commits into
cockroachdb:master
from
changangela:sql-bytes-usage-shrink-optimization
Oct 11, 2018
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
Jump to file or symbol
Failed to load files and symbols.
Diff settings
Viewing a subset of changes. View all
sql: add merge joiner benchmark and memory account shrinking optimiza…
…tion Merge joiner benchmark comparison against `release-2.1` ``` name old time/op new time/op delta MergeJoiner/InputSize=0-8 4.31µs ±10% 4.33µs ±15% ~ (p=0.968 n=10+9) MergeJoiner/InputSize=4-8 8.34µs ± 3% 8.10µs ± 4% ~ (p=0.074 n=8+9) MergeJoiner/InputSize=16-8 16.3µs ± 2% 11.1µs ± 5% -31.87% (p=0.000 n=9+9) MergeJoiner/InputSize=256-8 190µs ± 2% 85µs ± 2% -55.04% (p=0.000 n=10+8) MergeJoiner/InputSize=4096-8 2.96ms ± 2% 1.28ms ± 2% -56.86% (p=0.000 n=10+10) MergeJoiner/InputSize=65536-8 49.0ms ± 5% 20.6ms ± 1% -57.88% (p=0.000 n=10+10) name old alloc/op new alloc/op delta MergeJoiner/InputSize=0-8 6.42kB ± 0% 6.65kB ± 0% +3.49% (p=0.000 n=10+10) MergeJoiner/InputSize=4-8 9.50kB ± 0% 9.72kB ± 0% +2.36% (p=0.000 n=10+10) MergeJoiner/InputSize=16-8 9.50kB ± 0% 9.72kB ± 0% +2.36% (p=0.000 n=10+10) MergeJoiner/InputSize=256-8 32.5kB ± 0% 32.8kB ± 0% +0.69% (p=0.000 n=10+10) MergeJoiner/InputSize=4096-8 401kB ± 0% 401kB ± 0% +0.06% (p=0.000 n=9+10) MergeJoiner/InputSize=65536-8 6.30MB ± 0% 6.30MB ± 0% +0.00% (p=0.000 n=9+10) name old allocs/op new allocs/op delta MergeJoiner/InputSize=0-8 14.0 ± 0% 15.0 ± 0% +7.14% (p=0.000 n=10+10) MergeJoiner/InputSize=4-8 16.0 ± 0% 17.0 ± 0% +6.25% (p=0.000 n=10+10) MergeJoiner/InputSize=16-8 16.0 ± 0% 17.0 ± 0% +6.25% (p=0.000 n=10+10) MergeJoiner/InputSize=256-8 46.0 ± 0% 47.0 ± 0% +2.17% (p=0.000 n=10+10) MergeJoiner/InputSize=4096-8 526 ± 0% 527 ± 0% +0.19% (p=0.000 n=10+10) MergeJoiner/InputSize=65536-8 8.21k ± 0% 8.21k ± 0% +0.01% (p=0.000 n=10+10) name old speed new speed delta MergeJoiner/InputSize=4-8 7.67MB/s ± 3% 7.91MB/s ± 4% ~ (p=0.070 n=8+9) MergeJoiner/InputSize=16-8 15.7MB/s ± 2% 23.0MB/s ± 5% +46.89% (p=0.000 n=9+9) MergeJoiner/InputSize=256-8 21.6MB/s ± 2% 48.0MB/s ± 2% +122.41% (p=0.000 n=10+8) MergeJoiner/InputSize=4096-8 22.1MB/s ± 2% 51.3MB/s ± 2% +131.81% (p=0.000 n=10+10) MergeJoiner/InputSize=65536-8 21.4MB/s ± 5% 50.8MB/s ± 1% +137.16% (p=0.000 n=10+10) ``` Release note: None
- Loading branch information...
ProTip!
Use n and p to navigate between commits in a pull request.