Skip to content
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

query-benchmark #9379

Merged
merged 1 commit into from
Oct 26, 2018
Merged

query-benchmark #9379

merged 1 commit into from
Oct 26, 2018

Conversation

Moocar
Copy link
Contributor

@Moocar Moocar commented Oct 25, 2018

Part of WIP PR #9338. Submitting this as its own PR to reduce the size of the other PR and since it's useful on its own. The recording.md won't make sense without the other PR, but I think that's ok.

Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

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

LGTM


output=$(rm -rf .cache && gatsby build | grep "run graphql queries")
echo $output | cut -d' ' -f 6

Copy link
Contributor

Choose a reason for hiding this comment

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

this (kind of) limits where we can use this benchmark (cough - windows) :) but that's just utility to grab time for running queries, so I wouldn't say that it is a blocker

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a sign of the times when windows doesn't even enter my head. I'll leave it in as an optional useful tool for non windows users.

@Moocar Moocar merged commit 13970cd into gatsbyjs:master Oct 26, 2018
gpetrioli pushed a commit to gpetrioli/gatsby that referenced this pull request Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants