forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
24823: distsqlrun: add benchmarks for distsql infrastructure r=jordanlewis a=jordanlewis For cockroachdb#24690 - this completes all of them except for the outbox (and `RowChannel` which was already benchmarked). ``` BenchmarkRouter/BY_RANGE/outputs=2-8 30 35692346 ns/op 29.38 MB/s BenchmarkRouter/BY_RANGE/outputs=4-8 30 34937864 ns/op 60.03 MB/s BenchmarkRouter/BY_RANGE/outputs=8-8 30 35112627 ns/op 119.45 MB/s BenchmarkRouter/BY_HASH/outputs=2-8 100 19840820 ns/op 52.85 MB/s BenchmarkRouter/BY_HASH/outputs=4-8 100 18774629 ns/op 111.70 MB/s BenchmarkRouter/BY_HASH/outputs=8-8 50 27249006 ns/op 153.93 MB/s BenchmarkRouter/MIRROR/outputs=2-8 30 34873995 ns/op 30.07 MB/s BenchmarkRouter/MIRROR/outputs=4-8 20 59782584 ns/op 35.08 MB/s BenchmarkRouter/MIRROR/outputs=8-8 10 153532931 ns/op 27.32 MB/s ``` ``` BenchmarkMultiplexedRowChannel/senders=2-8 500 2841863 ns/op 56.30 MB/s BenchmarkMultiplexedRowChannel/senders=4-8 100 10030833 ns/op 31.90 MB/s BenchmarkMultiplexedRowChannel/senders=8-8 50 32353212 ns/op 19.78 MB/s ``` ``` BenchmarkStreamEncoder/cols=1-8 500 3074456 ns/op 170.53 MB/s BenchmarkStreamEncoder/cols=4-8 200 8792420 ns/op 238.52 MB/s BenchmarkStreamEncoder/cols=16-8 50 34338533 ns/op 244.29 MB/s BenchmarkStreamEncoder/cols=64-8 10 131163270 ns/op 255.82 MB/s ``` ``` BenchmarkStreamDecoder/cols=1-8 1000000 1058 ns/op 120.92 MB/s BenchmarkStreamDecoder/cols=4-8 500000 2792 ns/op 183.32 MB/s BenchmarkStreamDecoder/cols=16-8 200000 9592 ns/op 213.50 MB/s BenchmarkStreamDecoder/cols=64-8 50000 35636 ns/op 229.88 MB/s ``` Co-authored-by: Jordan Lewis <jordanthelewis@gmail.com>
- Loading branch information
Showing
4 changed files
with
181 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters