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.
sql: ON CONFLICT DO UPDATE form of upsert
name old time/op new time/op delta Upsert1_Cockroach-8 1.15ms ± 5% 1.18ms ± 1% ~ (p=0.151 n=5+5) Upsert10_Cockroach-8 1.71ms ± 1% 1.75ms ± 1% +2.26% (p=0.008 n=5+5) Upsert100_Cockroach-8 7.31ms ± 1% 7.41ms ± 2% ~ (p=0.056 n=5+5) Upsert1000_Cockroach-8 74.2ms ± 4% 74.2ms ± 3% ~ (p=1.000 n=5+5) name old alloc/op new alloc/op delta Upsert1_Cockroach-8 82.4kB ± 0% 86.7kB ± 0% +5.11% (p=0.008 n=5+5) Upsert10_Cockroach-8 164kB ± 0% 168kB ± 0% +2.45% (p=0.008 n=5+5) Upsert100_Cockroach-8 1.05MB ± 0% 1.06MB ± 0% +0.89% (p=0.008 n=5+5) Upsert1000_Cockroach-8 9.19MB ± 0% 9.27MB ± 0% +0.90% (p=0.008 n=5+5) name old allocs/op new allocs/op delta Upsert1_Cockroach-8 1.09k ± 0% 1.17k ± 0% +7.40% (p=0.008 n=5+5) Upsert10_Cockroach-8 1.60k ± 0% 1.69k ± 0% +5.58% (p=0.008 n=5+5) Upsert100_Cockroach-8 7.05k ± 0% 7.32k ± 0% +3.87% (p=0.008 n=5+5) Upsert1000_Cockroach-8 60.9k ± 0% 63.0k ± 0% +3.39% (p=0.008 n=5+5) The benchmarks will get better once I do the "all Puts" optimization, which is coming next. Closes cockroachdb#1962.
- Loading branch information
Showing
13 changed files
with
2,870 additions
and
2,362 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
Oops, something went wrong.