GithubHelp home page GithubHelp logo

mligtenberg / cloudrepublic.benchmark Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudrepublic/cloudrepublic.benchmark

0.0 0.0 0.0 5.15 MB

JavaScript 0.19% Python 0.30% Java 4.16% C# 50.82% F# 0.59% HTML 4.21% SCSS 6.92% Bicep 19.26% TypeScript 13.56%

cloudrepublic.benchmark's Introduction

Serverless Benchmark

We've created a continuous benchmark tool for Azure Functions to measure the performance differences between Linux and Windows hosted Azure Functions. Secondly it measures the differences between functions written in C# .NET , NodeJS and Python. The performance benchmarking is only focussed on Http Triggered functions.

builds

Build Status

How the benchmark is executed

There's an orchestrator function that executes HTTP GET requests to every function app instance available. The first 5 calls are classified as coldstart, we then wait for 30 seconds to execute 10 requests per function instance to measure the warmed up HTTP requests.

Adding additional benchmark Language

1- Expand the enum of: cloudprovider, hostenvironment, runtime or an create additional setting (like V3) (located in the Orchestrator) 2- Enter a new entry into the BenchMarkTypeGenerator and assign a name (the name is currently the name of the settings combined) (Orchestrator) 3- Make sure the new entry has the following environment variables (Environment.GetEnvironmentVariable() are set (dots are the assigned name from step 2) : .....CLIENT, ... URL (and ....KEY if needed) 4- create the matching function/trigger (located in the 'Azure' folder, not all are loaded in solution). 5- add the function to the deployment files (Deployment folder-> Deploy.azcli, Deploy.ps1, not loaded in solution) 6- Load the Frontend project -> BenchMark.Vue and expand the Enums and benchmarkOptions with the newly added entry (Located in Web -> Views -> benchmark.vue) 7- Verify all test are still succesfull and Pull request

Global Architecture

Core to the architecture is the app configuration service. It is used to register the test endpoints and details like the names, os, skus, etc. This allows for an easy extension of the run test set by just adding a bicep deployment with the correct details.

Author

cloudrepublic.nl

License

MIT License

Copyright (c) 2019 Cloud Republic

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

cloudrepublic.benchmark's People

Contributors

dependabot[bot] avatar dibranmulder avatar fschaal avatar kamphuisem avatar mligtenberg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.