Code Monkey home page Code Monkey logo

artemisbot's Introduction

Artemis Commit Bot

This bot is created to automatically push empty commits to Artemis until a desired percentage is achieved. Meant for performance testing exercises that are pure server luck. If your code is not sufficiently optimized this will not help you.

It does this by simulating a browser to log into Artemis and read the current percentage. Pushes occure at most only every 10s (if Artemis finished compiling by then) to avoid overloading the server/putting to many build tasks in the queue.

This should run on all supported browsers and operating systems, I only tested on Linux and Firefox though.

Requirements

Setup

Create a config.ini file in the root folder of this repo. the config file should contain the following:

[Auth]
Username=...
Password=...

[Browser]
Browser=Firefox/Chrome/Safari

Usage

Run the Bot using following command:

$ python bot.py repo_path artemis_url [-p desired_percentage]

A help page is also available:

$ python bot.py -h

usage: bot.py [-h] [-p PERCENTAGE] repo_path artemis_url

Artemis Commit Bot Help

positional arguments:
  repo_path             Path to the repository (locally)
  artemis_url           URL of the Artemis server

options:
  -h, --help            show this help message and exit
  -p PERCENTAGE, --percentage PERCENTAGE
                        Desired percentage (default: 100)

Contact

For any concerns you can contact me here.

artemisbot's People

Contributors

nailuj05 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

Kostas Georgiou avatar  avatar  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.