Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.21 KB

File metadata and controls

43 lines (33 loc) · 1.21 KB

faasd Test Driver

Test driver for faasd based on FunctionBench and SeBS

Benchmark Version

The functions folder in this repo includes the following functions ported from FunctionBench and SeBS:

  • FunctionBench: #cf3e1e9
    • chameleon
    • pyaes
    • image-processing
    • video-processing
  • SeBS: v1.1
    • dynamic-html
    • image-recognition

Preparation

  1. Install docker (if you need to build function images)
  2. Deploy faasd
  3. Install faas-cli
  4. Edit config.ymlfunctions/functions.yml

Usage

python3 main.py [-h] [-c CONFIG] [-p PARALLEL] [ACTION]

Supported Arguments:

  • -h: help
  • -c--config: config file, default to config.yml
  • -p--parallel: Parallelism for build and push operation, default to CPU core count
  • action: actions to perform, default to all, available actions:
    • login: Login faas-cli
    • logout: Logout faas-cli
    • build: Build function image for faasd
    • push: Push image
    • deploy: Deploy function
    • test: Run test
    • all: All above actions