Skip to content

bigquery: add simple benchmarks#2513

Merged
pongad merged 4 commits intogoogleapis:masterfrom
pongad:bq-perf
Oct 18, 2017
Merged

bigquery: add simple benchmarks#2513
pongad merged 4 commits intogoogleapis:masterfrom
pongad:bq-perf

Conversation

@pongad
Copy link
Copy Markdown
Contributor

@pongad pongad commented Oct 12, 2017

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.

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.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 12, 2017
@@ -0,0 +1,9 @@
# BigQuery Benchmark

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

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.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@pongad
Copy link
Copy Markdown
Contributor Author

pongad commented Oct 17, 2017

@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.

@pongad
Copy link
Copy Markdown
Contributor Author

pongad commented Oct 18, 2017

@garrettjonesgoogle PTAL

Copy link
Copy Markdown
Contributor

@garrettjonesgoogle garrettjonesgoogle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pongad pongad merged commit ce99df1 into googleapis:master Oct 18, 2017
@pongad pongad deleted the bq-perf branch October 18, 2017 20:27
schmidt-sebastian pushed a commit to FirebasePrivate/google-cloud-java that referenced this pull request Nov 9, 2017
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.
chingor13 pushed a commit that referenced this pull request Feb 20, 2026
…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>
meltsufin pushed a commit that referenced this pull request Apr 29, 2026
🤖 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).
meltsufin pushed a commit that referenced this pull request May 1, 2026
🤖 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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants