bigquery: add simple benchmarks#2513
bigquery: add simple benchmarks#2513pongad merged 4 commits intogoogleapis:masterfrom pongad:bq-perf
Conversation
The benchmark executes a series of queries and report 1. how long until we get the fist result back 2. how long we take to iterate through all results.
| @@ -0,0 +1,9 @@ | |||
| # BigQuery Benchmark | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| Duration total = Duration.between(start, clock.instant()); | ||
|
|
||
| double firstByteSec = (double)(firstByte.getNano())/1000/1000/1000 + firstByte.getSeconds(); | ||
| double totalSec = (double)(total.getNano())/1000/1000/1000 + total.getSeconds(); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@garrettjonesgoogle PTAL |
| double firstByteSec = (double)(firstByte.getNano())/1000/1000/1000 + firstByte.getSeconds(); | ||
| double totalSec = (double)(total.getNano())/1000/1000/1000 + total.getSeconds(); | ||
| double firstByteSec = (double)(firstByte.getNano())/BILLION + firstByte.getSeconds(); | ||
| double totalSec = (double)(total.getNano())/BILLION + total.getSeconds(); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@garrettjonesgoogle PTAL |
The benchmark executes a series of queries and report 1. how long until we get the fist result back 2. how long we take to iterate through all results.
…40.2 (#2513) * deps: update dependency com.google.cloud:google-cloud-bigquery to v2.40.2 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
The benchmark executes a series of queries and report