Skip to content

Commit

Permalink
ci: Generate benchmarks in docus format
Browse files Browse the repository at this point in the history
Signed-off-by: arekkas <aeneas@ory.am>
  • Loading branch information
arekkas committed Nov 15, 2018
1 parent 492e3d6 commit fb44552
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -190,7 +190,7 @@ jobs:
- run: ./scripts/run-bench.sh
- run: cat BENCHMARKS.md
- run: "git clone https://arekkas:$DOCS_TOKEN_PUSH@github.com/ory/docs.git ../docs"
- run: "cp BENCHMARKS.md ../docs/guides/performance/1-hydra.md"
- run: "cp BENCHMARKS.md ../docs/performance/hydra.md"
- run: "(cd ../docs && git add -A && git commit -a -m \"Updates ORY Hydra Performance benchmarks\" && git push origin) || exit 0"

workflows:
Expand Down
5 changes: 4 additions & 1 deletion scripts/run-bench.sh
Expand Up @@ -11,7 +11,10 @@ clientSecret=benchsecret
basicAuth=YmVuY2hjbGllbnQ6YmVuY2hzZWNyZXQ=

cat > BENCHMARKS.md << EOF
# ORY Hydra Performance Benchmarks
---
id: performance-hydra
title: ORY Hydra
---
In this document you will find benchmark results for different endpoints of ORY Hydra. All benchmarks are executed
using [rakyll/hey](https://github.com/rakyll/hey). Please note that these benchmarks run against the in-memory storage
Expand Down

0 comments on commit fb44552

Please sign in to comment.