Skip to content
The benchmarker of S.P.E.C. - Serverless Performance Empowerment Challenge
Python JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
generate_locations.py
handler.js
location.json
package-lock.json
package.json
requirements.txt
results.js
senario.py
serverless.yml

README.md

S.P.E.C. 2019 Benchmarker

Description

The benchmarker of S.P.E.C. 2019.

The theme application is here.

The competition portal site (frontend) is here.

Overview

Overview Image

Requirements

Deploy

export APPSYNC_URL=<your-frontend-appsync-url>
export APPSYNC_REGION=<your-frontend-appsync-region>
export APPSYNC_APIKEY=<your-frontend-appsync-apikey>
npm install
sls deploy

How to use

Add the new team

sls invoke -f add -d '{"teamId": "<your-team-name>", "url": "<your-api-base-url>"}'

Delete the team

sls invoke -f delete -d '{"teamId": "<your-team-name>"}'

Start benchmark

※ "concurrency" must not be less than 2

All teams

sls invoke -f start -d '{"concurrency": 2}'

Choose one of the teams

sls invoke -f start -d '{"teamId": "<your-team-name>", "concurrency": 2}'

Stop benchmark

All teams

sls invoke -f stop

Choose one of the teams

sls invoke -f stop -d '{"teamId": "<your-team-name>"}'

Authors

Created and maintained by Serverless Comunity JP

You can’t perform that action at this time.